From a000a1f6e3208515200aaae6ca8128471c6ed9f3 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 24 Aug 2021 11:58:20 +0300 Subject: 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 Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- 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 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 } -- cgit v1.2.1