[libcamera-devel] [PATCH v1 4/4] package: gentoo: Select build type through debug USE flag
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Aug 24 16:15:46 CEST 2021
Make the build type selectable between debug and plain through the debug
USE flag.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
index e627a09d50c7..ca216c0ae909 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="doc test udev"
+IUSE="debug doc test udev"
RDEPEND="
>=net-libs/gnutls-3.3:=
@@ -31,6 +31,7 @@ src_configure() {
local emesonargs=(
$(meson_feature doc documentation)
$(meson_use test)
+ --buildtype $(usex debug debug plain)
)
meson_src_configure
}
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list