summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-09-24 17:17:19 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-09-24 17:51:24 +0200
commite98dac25bbb2762437d81ae76ed0d6318e1e26e9 (patch)
treeeeeddc590dd3fdca9f399b1ab7762c4f21950f3f /media-libs/opusfile/opusfile-0.11.ebuild
parentnet-libs/nativebiginteger: improve ebuild. (diff)
downloadgentoo-e98dac25bbb2762437d81ae76ed0d6318e1e26e9.tar.gz
gentoo-e98dac25bbb2762437d81ae76ed0d6318e1e26e9.tar.bz2
gentoo-e98dac25bbb2762437d81ae76ed0d6318e1e26e9.zip
media-libs/opusfile: Bump to version 0.11
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'media-libs/opusfile/opusfile-0.11.ebuild')
-rw-r--r--media-libs/opusfile/opusfile-0.11.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/opusfile/opusfile-0.11.ebuild b/media-libs/opusfile/opusfile-0.11.ebuild
new file mode 100644
index 000000000000..1c16b94fd610
--- /dev/null
+++ b/media-libs/opusfile/opusfile-0.11.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A high-level decoding and seeking API for .opus files"
+HOMEPAGE="https://www.opus-codec.org/"
+SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc fixed-point +float +http libressl static-libs"
+
+RDEPEND="media-libs/libogg
+ media-libs/opus
+ http? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="^^ ( fixed-point float )"
+
+src_configure() {
+ local myeconfargs=(
+ --docdir=/usr/share/doc/${PF}
+ $(use_enable doc)
+ $(use_enable fixed-point)\
+ $(use_enable float)
+ $(use_enable http)
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name "*.la" -delete || die
+}