From 464abb23529dcf20eafe71b975ea66764ef4e039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 15 Oct 2018 17:58:33 +0200 Subject: [PATCH] ffmpeg: added libaom build option --- common/options.description | 1 + srcpkgs/ffmpeg/template | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/options.description b/common/options.description index 6c62ab6d58..497fd09521 100644 --- a/common/options.description +++ b/common/options.description @@ -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)" diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index cf79680548..9d4c978c46 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -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() {