ffmpeg: add sofa option to enable sofalizer

This commit is contained in:
lemmi 2021-02-21 10:49:03 +01:00
parent 4247d459c5
commit f8252741b2

View file

@ -23,10 +23,10 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
$(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)
$(vopt_if webp libwebp-devel)"
$(vopt_if webp libwebp-devel) $(vopt_if sofa libmysofa-devel)"
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio
dav1d zimg webp"
dav1d zimg webp sofa"
build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d webp"
case "$XBPS_TARGET_MACHINE" in
@ -96,7 +96,8 @@ do_configure() {
--enable-libbs2b --enable-avresample --enable-libvidstab \
$(vopt_if dav1d '--enable-libdav1d') \
$(vopt_if zimg '--enable-libzimg') \
$(vopt_if webp '--enable-libwebp')
$(vopt_if webp '--enable-libwebp') \
$(vopt_if sofa '--enable-libmysofa')
}
do_build() {
rm ${XBPS_WRAPPERDIR}/strip