summaryrefslogtreecommitdiff
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:06 +0300
commita000a1f6e3208515200aaae6ca8128471c6ed9f3 (patch)
tree38c77e5d05d9af43f6769a8a35881bc49a014bc9
parentc352419371183770b6e2b5bbd183a8812062e834 (diff)
package: gentoo: Select build type through debug USE flag
Make the build type selectable between debug and plain through the debug USE flag. 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>
-rw-r--r--package/gentoo/media-libs/libcamera/libcamera-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
index e627a09d..ca216c0a 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
}