summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-09-22 11:52:24 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-09-22 11:52:24 +0200
commit525f7c18f51bb809d7dc01bebcb041d13c66cc02 (patch)
treef20cf08d66f31386e495858727477cc1de43fedc /media-libs/opus
parentdev-ruby/mocha-1.1.0-r0: add alpha keyword (diff)
downloadgentoo-525f7c18f51bb809d7dc01bebcb041d13c66cc02.tar.gz
gentoo-525f7c18f51bb809d7dc01bebcb041d13c66cc02.tar.bz2
gentoo-525f7c18f51bb809d7dc01bebcb041d13c66cc02.zip
media-libs/opus: add (experimental) ambisonics support (bug #594030)
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-libs/opus')
-rw-r--r--media-libs/opus/metadata.xml1
-rw-r--r--media-libs/opus/opus-1.1.3.ebuild3
2 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/opus/metadata.xml b/media-libs/opus/metadata.xml
index f3553eca22f3..5ff58c7076a1 100644
--- a/media-libs/opus/metadata.xml
+++ b/media-libs/opus/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Sound project</name>
</maintainer>
<use>
+ <flag name="ambisonics">Enable ambisonics support (experimental).</flag>
<flag name="custom-modes">Build with custom-modes.</flag>
</use>
</pkgmetadata>
diff --git a/media-libs/opus/opus-1.1.3.ebuild b/media-libs/opus/opus-1.1.3.ebuild
index 518077f6cd8d..3cd13c4604a5 100644
--- a/media-libs/opus/opus-1.1.3.ebuild
+++ b/media-libs/opus/opus-1.1.3.ebuild
@@ -20,13 +20,14 @@ SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
INTRINSIC_FLAGS="cpu_flags_x86_sse neon"
-IUSE="custom-modes doc static-libs ${INTRINSIC_FLAGS}"
+IUSE="ambisonics custom-modes doc static-libs ${INTRINSIC_FLAGS}"
DEPEND="doc? ( app-doc/doxygen )"
multilib_src_configure() {
local myeconfargs=(
$(use_enable custom-modes)
+ $(use_enable ambisonics)
$(use_enable doc)
)
for i in ${INTRINSIC_FLAGS} ; do