ffmpeg: enable vulkan and libdrm
This commit is contained in:
parent
e8f84abc87
commit
5dac2bf49c
|
@ -2,7 +2,7 @@
|
|||
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
|
||||
pkgname=ffmpeg
|
||||
version=4.3.2
|
||||
revision=3
|
||||
revision=4
|
||||
short_desc="Decoding, encoding and streaming software"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -23,12 +23,14 @@ 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 sofa libmysofa-devel)"
|
||||
$(vopt_if webp libwebp-devel) $(vopt_if sofa libmysofa-devel)
|
||||
$(vopt_if vulkan 'vulkan-loader Vulkan-Headers')
|
||||
$(vopt_if drm libdrm-devel)"
|
||||
depends="ffplay>=${version}_${revision}"
|
||||
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio
|
||||
dav1d zimg webp sofa"
|
||||
build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d webp"
|
||||
dav1d zimg webp sofa vulkan drm"
|
||||
build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d webp vulkan drm"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc";;
|
||||
|
@ -99,7 +101,9 @@ do_configure() {
|
|||
$(vopt_if dav1d '--enable-libdav1d') \
|
||||
$(vopt_if zimg '--enable-libzimg') \
|
||||
$(vopt_if webp '--enable-libwebp') \
|
||||
$(vopt_if sofa '--enable-libmysofa')
|
||||
$(vopt_if sofa '--enable-libmysofa') \
|
||||
$(vopt_if vulkan '--enable-vulkan') \
|
||||
$(vopt_if drm '--enable-libdrm')
|
||||
}
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
|
|
Loading…
Reference in New Issue