1 |
commit: 525f7c18f51bb809d7dc01bebcb041d13c66cc02 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 09:52:24 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 22 09:52:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525f7c18 |
7 |
|
8 |
media-libs/opus: add (experimental) ambisonics support (bug #594030) |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
media-libs/opus/metadata.xml | 1 + |
13 |
media-libs/opus/opus-1.1.3.ebuild | 3 ++- |
14 |
2 files changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/media-libs/opus/metadata.xml b/media-libs/opus/metadata.xml |
17 |
index f3553ec..5ff58c7 100644 |
18 |
--- a/media-libs/opus/metadata.xml |
19 |
+++ b/media-libs/opus/metadata.xml |
20 |
@@ -6,6 +6,7 @@ |
21 |
<name>Gentoo Sound project</name> |
22 |
</maintainer> |
23 |
<use> |
24 |
+ <flag name="ambisonics">Enable ambisonics support (experimental).</flag> |
25 |
<flag name="custom-modes">Build with custom-modes.</flag> |
26 |
</use> |
27 |
</pkgmetadata> |
28 |
|
29 |
diff --git a/media-libs/opus/opus-1.1.3.ebuild b/media-libs/opus/opus-1.1.3.ebuild |
30 |
index 518077f..3cd13c4 100644 |
31 |
--- a/media-libs/opus/opus-1.1.3.ebuild |
32 |
+++ b/media-libs/opus/opus-1.1.3.ebuild |
33 |
@@ -20,13 +20,14 @@ SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz" |
34 |
LICENSE="BSD-2" |
35 |
SLOT="0" |
36 |
INTRINSIC_FLAGS="cpu_flags_x86_sse neon" |
37 |
-IUSE="custom-modes doc static-libs ${INTRINSIC_FLAGS}" |
38 |
+IUSE="ambisonics custom-modes doc static-libs ${INTRINSIC_FLAGS}" |
39 |
|
40 |
DEPEND="doc? ( app-doc/doxygen )" |
41 |
|
42 |
multilib_src_configure() { |
43 |
local myeconfargs=( |
44 |
$(use_enable custom-modes) |
45 |
+ $(use_enable ambisonics) |
46 |
$(use_enable doc) |
47 |
) |
48 |
for i in ${INTRINSIC_FLAGS} ; do |