summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Alirzaev <l29ah@riseup.net>2024-09-27 14:25:11 +0200
committerYixun Lan <dlan@gentoo.org>2024-10-23 20:49:34 +0800
commit25f427b5c24fb96dce5021ad49ecf3010fc15baa (patch)
treeffb3b31fe9532040704adba3b400de6bca30d24a /media-libs
parentapp-emacs/nxml-gentoo-schemas: Keyword 20240208 riscv, #941998 (diff)
downloadgentoo-25f427b5c24fb96dce5021ad49ecf3010fc15baa.tar.gz
gentoo-25f427b5c24fb96dce5021ad49ecf3010fc15baa.tar.bz2
gentoo-25f427b5c24fb96dce5021ad49ecf3010fc15baa.zip
media-libs/rnnoise: add CLI
Closes: https://github.com/gentoo/gentoo/pull/38799 Signed-off-by: Sergey Alirzaev <l29ah@riseup.net> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild b/media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild
index 07d0f1cf8321..7499832df477 100644
--- a/media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild
+++ b/media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="doc"
+IUSE="doc examples"
# NOTE: Documentation currently empty (version 0.4.1_p20210122)
BDEPEND="
@@ -36,8 +36,8 @@ src_prepare() {
src_configure() {
local myeconfargs=(
- --disable-examples
$(use_enable doc)
+ $(use_enable examples)
)
econf "${myeconfargs[@]}"
}
@@ -46,4 +46,5 @@ src_install() {
default
rm "${ED}/usr/share/doc/${PF}/COPYING" || die
find "${ED}" -name '*.la' -delete || die
+ use examples && dobin examples/.libs/rnnoise_demo
}