[libcamera-devel] [PATCH v1 3/4] package: gentoo: Add USE flags to build documentation and tests
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Aug 24 16:15:45 CEST 2021
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 at ideasonboard.com>
---
package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 6 +++---
1 file 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 00bb0a501149..e627a09d50c7 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
}
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list