mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-power/switcheroo-control: Fix tests
Closes: https://bugs.gentoo.org/834882 Thanks-to: Toralf Förster Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="D-Bus service to check the availability of dual-GPU"
|
||||
@@ -10,7 +10,7 @@ SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/accd4a
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="gtk-doc"
|
||||
IUSE="gtk-doc test"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
|
||||
@@ -22,8 +22,11 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
test? ( dev-util/umockdev )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
|
||||
Reference in New Issue
Block a user