summaryrefslogtreecommitdiff
path: root/package/gentoo/media-libs
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-24 11:58:20 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-28 00:30:05 +0300
commitc352419371183770b6e2b5bbd183a8812062e834 (patch)
treeee2a185823573cda4d2a5dfb3f6629d7d1f0d1da /package/gentoo/media-libs
parent90b09f1892929f5b6c6f884aef145e1048260578 (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'package/gentoo/media-libs')
-rw-r--r--package/gentoo/media-libs/libcamera/libcamera-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
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
}