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>
This commit is contained in:
Laurent Pinchart 2021-08-24 11:58:20 +03:00
parent c352419371
commit a000a1f6e3

View file

@ -14,7 +14,7 @@ EGIT_BRANCH="master"
LICENSE="LGPL-2.1+" LICENSE="LGPL-2.1+"
SLOT="0" SLOT="0"
KEYWORDS="*" KEYWORDS="*"
IUSE="doc test udev" IUSE="debug doc test udev"
RDEPEND=" RDEPEND="
>=net-libs/gnutls-3.3:= >=net-libs/gnutls-3.3:=
@ -31,6 +31,7 @@ src_configure() {
local emesonargs=( local emesonargs=(
$(meson_feature doc documentation) $(meson_feature doc documentation)
$(meson_use test) $(meson_use test)
--buildtype $(usex debug debug plain)
) )
meson_src_configure meson_src_configure
} }