summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/noise-suppression-for-voice/Manifest1
-rw-r--r--media-libs/noise-suppression-for-voice/noise-suppression-for-voice-0.91.ebuild37
-rw-r--r--media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild4
3 files changed, 40 insertions, 2 deletions
diff --git a/media-libs/noise-suppression-for-voice/Manifest b/media-libs/noise-suppression-for-voice/Manifest
index befd9c55b75..a01d94d58c6 100644
--- a/media-libs/noise-suppression-for-voice/Manifest
+++ b/media-libs/noise-suppression-for-voice/Manifest
@@ -1 +1,2 @@
+DIST noise-suppression-for-voice-0.91.tar.gz 207544 BLAKE2B e16f81b58f382e6bc01905c046fdb0b00891b9a82540df01387fc5e5ded165314b8f3c40a1c3c33a4544c536eb1b7aa57d25ac59180624dd2550ec9c465f0545 SHA512 e117fd54e6cf01c4721b79fddca2f2898331e46764c7a05077ed3034c50e2cbc0c1d6fa3084f7c6f56a629bf20127a7d1bccd57d30b0693cc3eb30edaae6cd28
DIST noise-suppression-for-voice-0.9_p20200705.tar.gz 207467 BLAKE2B d840ed8e8ec61438e582cedec4c20b8ab2358395857a23d655269cae1e82a0888d785ad364fccf619812ad3c92bd720a035b64bb986ab0c9375b727ce2451de0 SHA512 ccc1c3c2daa473bbeaf94aa460f7039863f883216cefb0185683001e8d8271b6a6785350c1b43f14349c9971fb7b74a05659bdd0a28010c54ab4310c94784877
diff --git a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-0.91.ebuild b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-0.91.ebuild
new file mode 100644
index 00000000000..3180e7892ee
--- /dev/null
+++ b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-0.91.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A real-time noise suppression plugin for voice"
+HOMEPAGE="https://github.com/werman/noise-suppression-for-voice"
+
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/werman/noise-suppression-for-voice.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+ dodoc README.md
+
+ cd "${BUILD_DIR}"
+
+ insinto /usr/$(get_libdir)/lv2/
+ doins -r bin/rnnoise.lv2
+
+ insinto /usr/$(get_libdir)/ladspa/
+ doins bin/ladspa/librnnoise_ladspa.so
+}
diff --git a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild
index e88a0d3eefb..3180e7892ee 100644
--- a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild
+++ b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/werman/noise-suppression-for-voice.git"
else
KEYWORDS="~amd64 ~x86"
- SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v0.9.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="GPL-3+"