commit: 2e8dfff6d69c730ca0a51b6aa8242f2ec48a7071 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Apr 30 08:04:23 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Apr 30 23:49:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8dfff6
dev-libs/json-glib: conditionally build tests Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/json-glib/json-glib-1.6.6-r1.ebuild | 9 +++++++-- 1 file 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 }
