media-libs/libopusenc: bump to 0.2.1
authorStefan Strogin <stefan.strogin@gmail.com>
Fri, 9 Nov 2018 18:41:46 +0000 (20:41 +0200)
committerDavid Seifert <soap@gentoo.org>
Fri, 25 Jan 2019 10:12:28 +0000 (11:12 +0100)
Closes: https://bugs.gentoo.org/670771
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10379
Signed-off-by: David Seifert <soap@gentoo.org>
media-libs/libopusenc/Manifest
media-libs/libopusenc/libopusenc-0.2.1.ebuild [new file with mode: 0644]

index 292742288e5f8014927bbccc88a8014a0bea5fd8..5b587f947a44c1502678c2c3d9a1f878bd3b557d 100644 (file)
@@ -1 +1,2 @@
+DIST libopusenc-0.2.1.tar.gz 388071 BLAKE2B de3a69aeb6bb955352e097e41b12cf0c627ce5278687124d00996f52ccf5e8e39277e7c345bb26e75dd7d29b6a70f50396fa5a157913e0906a18acd007b1621b SHA512 adf30cacea9ac2e5889a40147f53943a1bec5279c5ff3a9b09de8ca52727a6cbaeecd338417fc5856e337ae183c85b0d366d14ec4ec329de12d50709a6f6507a
 DIST libopusenc-0.2.tar.gz 388027 BLAKE2B 5822d09ec56ce9dc0182241e7182b71c9c21def5645a2ef3472af380b25af1b1f8a08311c2cfb8bacdfde845dff81ee426401f1ab098b6598e41e664ccaf9c34 SHA512 82b9a60bf6fa0c8bc485b221bc633456245f8909875fb9e86876076bc37857d53a366bbc66f2e1e331adddcf12c4d5a29f0047e21d0fae2f8bd8a3199bd6f78f
diff --git a/media-libs/libopusenc/libopusenc-0.2.1.ebuild b/media-libs/libopusenc/libopusenc-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..eaa29c5
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="High-level API for encoding .opus files"
+HOMEPAGE="https://www.opus-codec.org/"
+SRC_URI="https://archive.mozilla.org/pub/opus/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND=">=media-libs/opus-1.1:="
+DEPEND="
+       ${RDEPEND}
+       doc? ( app-doc/doxygen[dot] )"
+
+src_configure() {
+       econf \
+               --enable-shared \
+               --disable-static \
+               $(use_enable doc)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}