media-libs/opus: add (experimental) ambisonics support (bug #594030)
authorAlexis Ballier <aballier@gentoo.org>
Thu, 22 Sep 2016 09:52:24 +0000 (11:52 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 22 Sep 2016 09:52:24 +0000 (11:52 +0200)
Package-Manager: portage-2.3.1

media-libs/opus/metadata.xml
media-libs/opus/opus-1.1.3.ebuild

index f3553eca22f3cd622b8b9edad2ff58f7820d64a0..5ff58c7076a18c80d92008563b82fa8a0d25a03d 100644 (file)
@@ -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>
index 518077f6cd8dad050b2f6c5609f20daf8a150aea..3cd13c4604a59dcb6e631065ec860912ab886c53 100644 (file)
@@ -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