diff options
author | Sam James <sam@gentoo.org> | 2023-05-13 01:41:13 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-13 01:41:30 +0100 |
commit | 07f8a1cfa418c4f787d7fb9f35315afdf5791d8f (patch) | |
tree | 8ef21b4b7b00cec91c68da805d76994512e0366a /media-libs | |
parent | sys-apps/kmscon: conditionally build tests (diff) | |
download | gentoo-07f8a1cfa418c4f787d7fb9f35315afdf5791d8f.tar.gz gentoo-07f8a1cfa418c4f787d7fb9f35315afdf5791d8f.tar.bz2 gentoo-07f8a1cfa418c4f787d7fb9f35315afdf5791d8f.zip |
media-libs/suil: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/suil/suil-0.10.18-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/suil/suil-0.10.18-r1.ebuild b/media-libs/suil/suil-0.10.18-r1.ebuild index af6be37cfe60..d8fecfd7a4ea 100644 --- a/media-libs/suil/suil-0.10.18-r1.ebuild +++ b/media-libs/suil/suil-0.10.18-r1.ebuild @@ -12,7 +12,8 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz" LICENSE="ISC" SLOT="0" KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86" -IUSE="doc gtk gtk2 qt5 X" +IUSE="doc gtk gtk2 qt5 test X" +RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig @@ -42,8 +43,8 @@ RDEPEND=" ) X? ( x11-libs/libX11 ) " - DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-libs/check )" DOCS=( AUTHORS NEWS README.md ) @@ -60,6 +61,7 @@ src_configure() { $(meson_feature gtk2) $(meson_feature gtk gtk3) $(meson_feature qt5) + $(meson_feature test tests) $(meson_feature X x11) ) |