dev-build/steve: Support building without assertions

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-12-09 07:52:50 +01:00
parent 53d8ad413b
commit 3119f03fa4
2 changed files with 18 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ SRC_URI="
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
IUSE="debug"
DEPEND="
dev-libs/libevent:=
@@ -31,6 +32,14 @@ pkg_pretend() {
check_extra_config
}
src_configure() {
local emesonargs=(
$(meson_use !debug b_ndebug)
)
meson_src_configure
}
src_install() {
meson_src_install

View File

@@ -11,6 +11,7 @@ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/steve.git"
LICENSE="GPL-2+"
SLOT="0"
IUSE="debug"
DEPEND="
dev-libs/libevent:=
@@ -28,6 +29,14 @@ pkg_pretend() {
check_extra_config
}
src_configure() {
local emesonargs=(
$(meson_use !debug b_ndebug)
)
meson_src_configure
}
src_install() {
meson_src_install