summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-12-03 23:11:01 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-12-03 23:20:38 +0000
commitc1281eb0240b0ae1740b82b1ccf6f5f53b276084 (patch)
tree0b513a2d0422b871eea22baa5730bd817b7e0a45 /media-video
parentmedia-video/ffmpeg: Make Chromium library useful again for 6.1+ (diff)
downloadgentoo-c1281eb0240b0ae1740b82b1ccf6f5f53b276084.tar.gz
gentoo-c1281eb0240b0ae1740b82b1ccf6f5f53b276084.tar.bz2
gentoo-c1281eb0240b0ae1740b82b1ccf6f5f53b276084.zip
media-video/ffmpeg-chromium: Drop opus USE flag to always enable support
Browsers always expect Opus support. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ffmpeg-chromium/ffmpeg-chromium-114-r1.ebuild (renamed from media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild)5
-rw-r--r--media-video/ffmpeg-chromium/ffmpeg-chromium-117-r1.ebuild (renamed from media-video/ffmpeg-chromium/ffmpeg-chromium-117.ebuild)5
2 files changed, 6 insertions, 4 deletions
diff --git a/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild b/media-video/ffmpeg-chromium/ffmpeg-chromium-114-r1.ebuild
index da89ecc4a215..af6f8a58ab78 100644
--- a/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild
+++ b/media-video/ffmpeg-chromium/ffmpeg-chromium-114-r1.ebuild
@@ -27,7 +27,7 @@ FFMPEG_FLAG_MAP=(
+gpl
vaapi vdpau vulkan
# decoders
- mmal +opus:libopus
+ mmal
nvenc:ffnvcodec
# Threads; we only support pthread for now but ffmpeg supports more
+threads:pthreads
@@ -90,7 +90,7 @@ CPU_REQUIRED_USE="
RDEPEND="
mmal? ( media-libs/raspberrypi-userland )
- opus? ( >=media-libs/opus-1.0.2-r2 )
+ >=media-libs/opus-1.0.2-r2
vaapi? ( >=media-libs/libva-1.2.1-r1:0= )
nvenc? ( >=media-libs/nv-codec-headers-9.1.23.1 )
vdpau? ( >=x11-libs/libvdpau-0.7 )
@@ -213,6 +213,7 @@ src_configure() {
--enable-avcodec \
--enable-avformat \
--enable-avutil \
+ --enable-libopus \
--enable-decoder=aac,flac,h264,libopus,mp3,pcm_alaw,pcm_f32le,pcm_mulaw,pcm_s16be,pcm_s16le,pcm_s24be,pcm_s24le,pcm_s32le,pcm_u8,theora,vorbis,vp8 \
--enable-demuxer=aac,flac,matroska,mov,mp3,ogg,wav \
--enable-parser=aac,flac,h264,mpegaudio,opus,vorbis,vp3,vp8,vp9 \
diff --git a/media-video/ffmpeg-chromium/ffmpeg-chromium-117.ebuild b/media-video/ffmpeg-chromium/ffmpeg-chromium-117-r1.ebuild
index 3709cb55e8ee..c09c48466f08 100644
--- a/media-video/ffmpeg-chromium/ffmpeg-chromium-117.ebuild
+++ b/media-video/ffmpeg-chromium/ffmpeg-chromium-117-r1.ebuild
@@ -27,7 +27,7 @@ FFMPEG_FLAG_MAP=(
+gpl
vaapi vdpau vulkan
# decoders
- mmal +opus:libopus
+ mmal
nvenc:ffnvcodec
# Threads; we only support pthread for now but ffmpeg supports more
+threads:pthreads
@@ -96,7 +96,7 @@ CPU_REQUIRED_USE="
RDEPEND="
mmal? ( media-libs/raspberrypi-userland )
- opus? ( >=media-libs/opus-1.0.2-r2 )
+ >=media-libs/opus-1.0.2-r2
vaapi? ( >=media-libs/libva-1.2.1-r1:0= )
nvenc? ( >=media-libs/nv-codec-headers-11.1.5.3 )
vdpau? ( >=x11-libs/libvdpau-0.7 )
@@ -226,6 +226,7 @@ src_configure() {
--enable-avcodec \
--enable-avformat \
--enable-avutil \
+ --enable-libopus \
--enable-decoder=aac,flac,h264,libopus,mp3,pcm_alaw,pcm_f32le,pcm_mulaw,pcm_s16be,pcm_s16le,pcm_s24be,pcm_s24le,pcm_s32le,pcm_u8,theora,vorbis,vp8 \
--enable-demuxer=aac,flac,matroska,mov,mp3,ogg,wav \
--enable-parser=aac,flac,h264,mpegaudio,opus,vorbis,vp3,vp8,vp9 \