Merge pull request #2 from flathub/feature/ffmpeg

Package FFmpeg for now due to missing codecs
This commit is contained in:
Lctrs 2020-07-16 17:16:32 +02:00 committed by GitHub
commit 148e295d6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,82 @@ modules:
tag: "libevdev-1.9.0" tag: "libevdev-1.9.0"
commit: "468760ba11438734912f793b1de00cb0f243497f" commit: "468760ba11438734912f793b1de00cb0f243497f"
- name: "ffmpeg"
config-opts:
- "--disable-debug"
- "--disable-doc"
- "--disable-static"
- "--enable-optimizations"
- "--enable-shared"
- "--disable-ffplay"
- "--disable-ffprobe"
- "--disable-everything"
- "--enable-gnutls"
- "--enable-libaom"
- "--enable-libdav1d"
- "--enable-libfdk-aac"
- "--enable-libmp3lame"
- "--enable-libfontconfig"
- "--enable-libfreetype"
- "--enable-libopus"
- "--enable-libpulse"
- "--enable-libspeex"
- "--enable-libtheora"
- "--enable-libvorbis"
- "--enable-libvpx"
- "--enable-libwebp"
- "--enable-openal"
- "--enable-opengl"
- "--enable-sdl2"
- "--enable-vulkan"
# audio-encoders
- "--enable-encoder=
ac3,alac,flac,libfdk_aac,g723_1,mp2,libmp3lame,libopus,pcm_alaw,pcm_mulaw,\
pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,\
pcm_u8,tta,libvorbis,wavpack,\
wmav1,wmav2"
# audio-decoders
- "--enable-decoder=\
ac3,alac,flac,g723_1,g729,libfdk_aac,libopus,mp2,mp3,m4a,pcm_alaw,pcm_mulaw,\
pcm_f32le,pcm_s16be,pcm_s24be,pcm_s16le,pcm_s24le,pcm_s32le,\
pcm_u8,tta,vorbis,wavpack,ape,dca,eac3,mlp,tak,truehd,wmav1,wmav2,wmapro"
# video-encoders
- "--enable-encoder=\
ass,ffv1,libaom_av1,libvpx_vp8,libvpx_vp9,rawvideo,theora,\
h263,h264,wmv1,wmv2"
# video-decoders
- "--enable-decoder=\
ass,ffv1,libaom_av1,libdav1d,libvpx_vp8,libvpx_vp9,rawvideo,theora,vp8,vp9,\
cinepak,flv,hevc,h263,h264,indeo2,indeo3,indeo4,indeo5,mpeg2video,mpeg4,msmpeg4,msmpeg4v1,msmpeg4v2,msmpeg4v3,vp6,vp6a,vp6f,wmv1,wmv2,wmv3,wmv3image"
# image-formats
- "--enable-encoder=gif,png,tiff,webp"
- "--enable-decoder=gif,png,tiff,webp"
# hwaccels
- "--enable-hwaccel=h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau"
# muxers
- "--enable-muxer=ac3,ass,flac,gif,matroska,mp3,mpegvideo,ogg,opus,wav"
# demuxers
- "--enable-demuxer=\
aac,ac3,ass,flac,gif,matroska,mov,mp3,mpegvideo,ogg,wav,\
avi,h264,m4v,ape"
# parsers
- "--enable-parser=\
aac,ac3,flac,mpegaudio,mpeg4video,opus,vp3,vp8,vorbis,\
hevc,h264,dca"
# filters
- "--enable-filter=crop,scale"
- "--enable-protocol=file"
cleanup:
- "/lib/*.so"
- "/include"
- "/lib/pkgconfig"
- "/share/ffmpeg"
sources:
- type: "git"
url: "https://git.ffmpeg.org/ffmpeg.git"
tag: "n4.3.1"
commit: "6b6b9e593dd4d3aaf75f48d40a13ef03bdef9fdb"
- name: "rpcs3-llvm" - name: "rpcs3-llvm"
buildsystem: "cmake-ninja" buildsystem: "cmake-ninja"
builddir: true builddir: true