From 5dac2bf49ca8e0bb95f7104c37e3bddbecc87afc Mon Sep 17 00:00:00 2001 From: malice Date: Fri, 24 Sep 2021 16:14:37 +0300 Subject: [PATCH] ffmpeg: enable vulkan and libdrm --- srcpkgs/ffmpeg/template | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index 33d3e0bfc2..2d47b5ef11 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -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 " 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}