commit:     7e4493a6ea7318ef7f441fe92d7f5963e6ee287a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 08:50:53 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 08:54:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4493a6

media-libs/gst-plugins-base: Enable opus support (#589440 by holgersson)

Package-Manager: portage-2.3.0

 media-libs/gst-plugins-base/gst-plugins-base-1.8.2.ebuild | 5 ++++-
 media-libs/gst-plugins-base/metadata.xml                  | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.8.2.ebuild 
b/media-libs/gst-plugins-base/gst-plugins-base-1.8.2.ebuild
index 0b26be7..54fb01b 100644
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.8.2.ebuild
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.8.2.ebuild
@@ -13,11 +13,12 @@ HOMEPAGE="https://gstreamer.freedesktop.org/";
 LICENSE="GPL-2+ LGPL-2+"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 
-IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X"
+IUSE="alsa +introspection ivorbis +ogg +opus +orc +pango theora +vorbis X"
 REQUIRED_USE="
        ivorbis? ( ogg )
        theora? ( ogg )
        vorbis? ( ogg )
+       opus? ( ogg )
 "
 
 RDEPEND="
@@ -30,6 +31,7 @@ RDEPEND="
        ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] )
        ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )
        orc? ( >=dev-lang/orc-0.4.23[${MULTILIB_USEDEP}] )
+       opus? ( >=media-libs/opus-1.1[${MULTILIB_USEDEP}] )
        pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] )
        theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] )
        vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
@@ -52,6 +54,7 @@ multilib_src_configure() {
                $(multilib_native_use_enable introspection) \
                $(use_enable ivorbis) \
                $(use_enable ogg) \
+               $(use_enable opus) \
                $(use_enable orc) \
                $(use_enable pango) \
                $(use_enable theora) \

diff --git a/media-libs/gst-plugins-base/metadata.xml 
b/media-libs/gst-plugins-base/metadata.xml
index 798b73d..f154d51 100644
--- a/media-libs/gst-plugins-base/metadata.xml
+++ b/media-libs/gst-plugins-base/metadata.xml
@@ -6,7 +6,8 @@
     <name>GStreamer package maintainers</name>
        </maintainer>
        <use>
+               <flag name="ivorbis">Enable integer based vorbis decoder</flag>
+               <flag name="opus">Enable opus codec support</flag>
                <flag name="pango">Enable pango GStreamer plugin</flag>
-               <flag name="ivorbis">Enable integer based vorbis decoder.</flag>
     </use>
 </pkgmetadata>

Reply via email to