From c352419371183770b6e2b5bbd183a8812062e834 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 24 Aug 2021 11:58:20 +0300 Subject: package: gentoo: Add USE flags to build documentation and tests Add two new use flags, doc and test, to select building of documentation and tests instead of unconditionally disabling them. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/gentoo/media-libs/libcamera/libcamera-9999.ebuild') diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index 00bb0a50..e627a09d 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -14,7 +14,7 @@ EGIT_BRANCH="master" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="*" -IUSE="udev" +IUSE="doc test udev" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -29,8 +29,8 @@ DEPEND=" src_configure() { local emesonargs=( - -Ddocumentation=false - -Dtests=false + $(meson_feature doc documentation) + $(meson_use test) ) meson_src_configure } -- cgit v1.2.1