Skip to content

Commit

Permalink
www-client/chromium: use bundled opus with bundled ffmpeg
Browse files Browse the repository at this point in the history
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
  • Loading branch information
floppym committed Jul 28, 2017
1 parent 4732e95 commit b416f24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions www-client/chromium/chromium-60.0.3112.78.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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 )
Expand Down
8 changes: 3 additions & 5 deletions www-client/chromium/chromium-61.0.3163.13.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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 )
Expand Down

0 comments on commit b416f24

Please sign in to comment.