ffmpeg: added libaom build option

This commit is contained in:
Francisco Gómez García 2018-10-15 17:58:33 +02:00 committed by Johannes
parent e2819103d2
commit 464abb2352
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
desc_option_aalib="Enable support for aalib video output"
desc_option_acl="Enable support for ACLs and Extended Attributes"
desc_option_alsa="Enable support for ALSA"
desc_option_aom="Enable support for the AV1 codec"
desc_option_backtrace="Enable support for backtraces via libunwind"
desc_option_bluetooth="Enable support for bluetooth"
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"

View File

@ -20,9 +20,9 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
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)
$(vopt_if vpx libvpx-devel)"
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)"
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac"
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom"
build_options_default="x265 v4l2 vpx"
case "$XBPS_TARGET_MACHINE" in
@ -65,7 +65,7 @@ do_configure() {
--enable-postproc --enable-opencl ${_args} \
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
$(vopt_enable vaapi) $(vopt_enable vdpau) \
$(vopt_enable aom libaom) $(vopt_enable vaapi) $(vopt_enable vdpau) \
--enable-libbs2b --enable-avresample --enable-libvidstab
}
do_build() {