commit:     cb64c106f5144092a0808f9452fa9f8798ef6beb
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 10:59:25 2019 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 11:59:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb64c106

media-video/ffmpeg: enable version3 for libaribb24.

Closes: https://bugs.gentoo.org/693216
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-4.2.ebuild  | 5 +++++
 media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/media-video/ffmpeg/ffmpeg-4.2.ebuild 
b/media-video/ffmpeg/ffmpeg-4.2.ebuild
index fd1cf7046f5..50796d37816 100644
--- a/media-video/ffmpeg/ffmpeg-4.2.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.2.ebuild
@@ -46,6 +46,10 @@ LICENSE="
                gpl? ( GPL-3 )
                !gpl? ( LGPL-3 )
        )
+       libaribb24? (
+               gpl? ( GPL-3 )
+               !gpl? ( LGPL-3 )
+       )
        encode? (
                amrenc? (
                        gpl? ( GPL-3 )
@@ -364,6 +368,7 @@ multilib_src_configure() {
        # Decoders
        use amr && myconf+=( --enable-version3 )
        use gmp && myconf+=( --enable-version3 )
+       use libaribb24 && myconf+=( --enable-version3 )
        use fdk && use gpl && myconf+=( --enable-nonfree )
 
        for i in "${ffuse[@]#+}" ; do

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index ac797b13647..6538d98057a 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -46,6 +46,10 @@ LICENSE="
                gpl? ( GPL-3 )
                !gpl? ( LGPL-3 )
        )
+       libaribb24? (
+               gpl? ( GPL-3 )
+               !gpl? ( LGPL-3 )
+       )
        encode? (
                amrenc? (
                        gpl? ( GPL-3 )
@@ -364,6 +368,7 @@ multilib_src_configure() {
        # Decoders
        use amr && myconf+=( --enable-version3 )
        use gmp && myconf+=( --enable-version3 )
+       use libaribb24 && myconf+=( --enable-version3 )
        use fdk && use gpl && myconf+=( --enable-nonfree )
 
        for i in "${ffuse[@]#+}" ; do

Reply via email to