commit:     b416f243b74873bcf423578d07023157cdd5436e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 19:21:58 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 19:22:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b416f243

www-client/chromium: use bundled opus with bundled ffmpeg

The bundled ffmpeg configure script has a hard-coded path to the
bundled opus headers.

Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1

 www-client/chromium/chromium-60.0.3112.78.ebuild | 8 +++-----
 www-client/chromium/chromium-61.0.3163.13.ebuild | 8 +++-----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/www-client/chromium/chromium-60.0.3112.78.ebuild 
b/www-client/chromium/chromium-60.0.3112.78.ebuild
index 88f7fd88405..41b2bf0fc8d 100644
--- a/www-client/chromium/chromium-60.0.3112.78.ebuild
+++ b/www-client/chromium/chromium-60.0.3112.78.ebuild
@@ -46,9 +46,8 @@ COMMON_DEPEND="
        media-libs/libpng:=
        system-libvpx? ( media-libs/libvpx:=[postproc,svc] )
        >=media-libs/openh264-1.6.0:=
-       media-libs/opus:=
        pulseaudio? ( media-sound/pulseaudio:= )
-       system-ffmpeg? ( >=media-video/ffmpeg-3:= )
+       system-ffmpeg? ( >=media-video/ffmpeg-3:= media-libs/opus:= )
        sys-apps/dbus:=
        sys-apps/pciutils:=
        virtual/udev
@@ -319,7 +318,7 @@ src_prepare() {
                third_party/yasm/run_yasm.py
        )
        if ! use system-ffmpeg; then
-               keeplibs+=( third_party/ffmpeg )
+               keeplibs+=( third_party/ffmpeg third_party/opus )
        fi
        if ! use system-libvpx; then
                keeplibs+=( third_party/libvpx )
@@ -381,14 +380,13 @@ src_configure() {
                libwebp
                libxslt
                openh264
-               opus
                re2
                snappy
                yasm
                zlib
        )
        if use system-ffmpeg; then
-               gn_system_libraries+=( ffmpeg )
+               gn_system_libraries+=( ffmpeg opus )
        fi
        if use system-libvpx; then
                gn_system_libraries+=( libvpx )

diff --git a/www-client/chromium/chromium-61.0.3163.13.ebuild 
b/www-client/chromium/chromium-61.0.3163.13.ebuild
index 472aa46d7cc..59c5286f83f 100644
--- a/www-client/chromium/chromium-61.0.3163.13.ebuild
+++ b/www-client/chromium/chromium-61.0.3163.13.ebuild
@@ -46,9 +46,8 @@ COMMON_DEPEND="
        media-libs/libpng:=
        system-libvpx? ( media-libs/libvpx:=[postproc,svc] )
        >=media-libs/openh264-1.6.0:=
-       media-libs/opus:=
        pulseaudio? ( media-sound/pulseaudio:= )
-       system-ffmpeg? ( >=media-video/ffmpeg-3:= )
+       system-ffmpeg? ( >=media-video/ffmpeg-3:= media-libs/opus:= )
        sys-apps/dbus:=
        sys-apps/pciutils:=
        virtual/udev
@@ -321,7 +320,7 @@ src_prepare() {
                third_party/yasm/run_yasm.py
        )
        if ! use system-ffmpeg; then
-               keeplibs+=( third_party/ffmpeg )
+               keeplibs+=( third_party/ffmpeg third_party/opus )
        fi
        if ! use system-icu; then
                keeplibs+=( third_party/icu )
@@ -388,14 +387,13 @@ src_configure() {
                libwebp
                libxslt
                openh264
-               opus
                re2
                snappy
                yasm
                zlib
        )
        if use system-ffmpeg; then
-               gn_system_libraries+=( ffmpeg )
+               gn_system_libraries+=( ffmpeg opus )
        fi
        if use system-icu; then
                gn_system_libraries+=( icu )

Reply via email to