summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-30 09:04:23 +0100
committerSam James <sam@gentoo.org>2023-05-01 00:49:11 +0100
commit2e8dfff6d69c730ca0a51b6aa8242f2ec48a7071 (patch)
tree998d58927a1a4a04878d631884d557e7562e246e /dev-libs/json-glib
parentsys-kernel/vanilla-sources: add 5.15.110, drop 5.15.109 (diff)
downloadgentoo-2e8dfff6d69c730ca0a51b6aa8242f2ec48a7071.tar.gz
gentoo-2e8dfff6d69c730ca0a51b6aa8242f2ec48a7071.tar.bz2
gentoo-2e8dfff6d69c730ca0a51b6aa8242f2ec48a7071.zip
dev-libs/json-glib: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/json-glib')
-rw-r--r--dev-libs/json-glib/json-glib-1.6.6-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-libs/json-glib/json-glib-1.6.6-r1.ebuild b/dev-libs/json-glib/json-glib-1.6.6-r1.ebuild
index 5046eb6e4e5f..d27eba521ff9 100644
--- a/dev-libs/json-glib/json-glib-1.6.6-r1.ebuild
+++ b/dev-libs/json-glib/json-glib-1.6.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,8 @@ HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="gtk-doc +introspection"
+IUSE="gtk-doc +introspection test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.54.0:2[${MULTILIB_USEDEP}]
@@ -44,6 +45,10 @@ multilib_src_configure() {
$(meson_native_use_feature introspection)
$(meson_native_use_feature gtk-doc gtk_doc)
$(meson_native_true man)
+
+ # TODO: implement in next release
+ #$(meson_feature nls)
+ $(meson_use test tests)
)
meson_src_configure
}