summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-06-27 23:34:47 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-28 01:38:27 -0700
commit12216f7a8a33d758214ebf1d9f3c8e5f4afb3396 (patch)
tree358dc80a3cb30d5327014c6d806b3bdffd5b6c0e /media-libs/rnnoise
parentnet-im/teams: remove old (diff)
downloadgentoo-12216f7a8a33d758214ebf1d9f3c8e5f4afb3396.tar.gz
gentoo-12216f7a8a33d758214ebf1d9f3c8e5f4afb3396.tar.bz2
gentoo-12216f7a8a33d758214ebf1d9f3c8e5f4afb3396.zip
media-libs/rnnoise: Initial import
New dependency of net-im/telegram-desktop Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs/rnnoise')
-rw-r--r--media-libs/rnnoise/Manifest1
-rw-r--r--media-libs/rnnoise/metadata.xml12
-rw-r--r--media-libs/rnnoise/rnnoise-0.4.1_p20210122.ebuild46
3 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/rnnoise/Manifest b/media-libs/rnnoise/Manifest
new file mode 100644
index 000000000000..f20a2761d4c4
--- /dev/null
+++ b/media-libs/rnnoise/Manifest
@@ -0,0 +1 @@
+DIST rnnoise-0.4.1_p20210122.tar.gz 173787 BLAKE2B 33ecee81eb54a00e89c6fc0a2c9a3c66250c853cbef420f6b1fc9f7141b3b9862fe34fb31951de407c8912e940ac7e9917f68cb649261117d729b7b380d3476c SHA512 7d16f7d68a0a28ecdaaea098df5482d55adf7948292cab8ed78ae5cc6652ebdfc48e623f193ee356fcf527e54883e9d3938195f2fd52c20dff895fd2515617f3
diff --git a/media-libs/rnnoise/metadata.xml b/media-libs/rnnoise/metadata.xml
new file mode 100644
index 000000000000..631cf5ff785f
--- /dev/null
+++ b/media-libs/rnnoise/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>esteve.varela@gmail.com</email>
+ <name>Esteve Varela Colominas</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-libs/rnnoise/rnnoise-0.4.1_p20210122.ebuild b/media-libs/rnnoise/rnnoise-0.4.1_p20210122.ebuild
new file mode 100644
index 000000000000..2b007421cea1
--- /dev/null
+++ b/media-libs/rnnoise/rnnoise-0.4.1_p20210122.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Recurrent neural network for audio noise reduction"
+HOMEPAGE="https://jmvalin.ca/demo/rnnoise/ https://gitlab.xiph.org/xiph/rnnoise"
+
+COMMIT="1cbdbcf1283499bbb2230a6b0f126eb9b236defd"
+SRC_URI="https://gitlab.xiph.org/xiph/rnnoise/-/archive/${COMMIT}/rnnoise-${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+# NOTE: Documentation currently empty (version 0.4.1_p20210122)
+
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ media-gfx/graphviz
+ )
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ --disable-examples
+ $(use_enable doc)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ rm "${ED}/usr/share/doc/${PF}/COPYING" || die
+ find "${ED}" -name '*.la' -delete || die
+}