ffmpeg: enable aom build option.
Reorganize the lines to get closer to the 80 column limit. Put all dependencies related to build options after the normal dependencies.
This commit is contained in:
parent
d7b7edf0e0
commit
90e25c36ae
|
@ -2,7 +2,7 @@
|
|||
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
|
||||
pkgname=ffmpeg
|
||||
version=4.2.3
|
||||
revision=5
|
||||
revision=6
|
||||
short_desc="Decoding, encoding and streaming software"
|
||||
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -16,16 +16,17 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
|
|||
libXext-devel libXvMC-devel libxcb-devel faad2-devel lame-devel libtheora-devel
|
||||
gnutls-devel libvorbis-devel x264-devel xvidcore-devel jack-devel SDL2-devel
|
||||
libcdio-paranoia-devel librtmp-devel libmodplug-devel gnutls-devel
|
||||
speex-devel celt-devel harfbuzz-devel libass-devel opus-devel $(vopt_if pulseaudio pulseaudio-devel)
|
||||
ocl-icd-devel $(vopt_if x265 x265-devel) $(vopt_if vaapi libva-devel)
|
||||
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel
|
||||
libvidstab-devel $(vopt_if faac faac-devel) $(vopt_if fdk_aac fdk-aac-devel)
|
||||
speex-devel celt-devel harfbuzz-devel libass-devel opus-devel ocl-icd-devel
|
||||
libbs2b-devel libvidstab-devel $(vopt_if pulseaudio pulseaudio-devel)
|
||||
$(vopt_if x265 x265-devel) $(vopt_if vaapi libva-devel) $(vopt_if vdpau libvdpau-devel)
|
||||
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if faac faac-devel) $(vopt_if fdk_aac fdk-aac-devel)
|
||||
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)
|
||||
$(vopt_if nvenc nv-codec-headers) $(vopt_if sndio sndio-devel)
|
||||
$(vopt_if dav1d libdav1d-devel) $(vopt_if zimg zimg-devel)"
|
||||
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio dav1d zimg"
|
||||
build_options_default="x265 v4l2 vpx sndio pulseaudio dav1d"
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio
|
||||
dav1d zimg"
|
||||
build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc";;
|
||||
|
|
Loading…
Reference in New Issue