Subject: [PATCH] community/ffmpeg: enable libdrm and libpulse

From: Drew DeVault <[email-masked]>
Date: Fri, 11 Feb 2022 09:26:38 +0100

---
 community/ffmpeg/APKBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/community/ffmpeg/APKBUILD b/community/ffmpeg/APKBUILD
index 210a6b679c..33d28a6771 100644
--- a/community/ffmpeg/APKBUILD
+++ b/community/ffmpeg/APKBUILD
@@ -4,7 +4,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=ffmpeg
 pkgver=4.4.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
 url="https://ffmpeg.org/"
 arch="all"
@@ -20,6 +20,7 @@ makedepends="
 	imlib2-dev
 	lame-dev
 	libass-dev
+	libdrm-dev
 	libsrt-dev
 	libssh-dev
 	libtheora-dev
@@ -31,6 +32,7 @@ makedepends="
 	libxfixes-dev
 	opus-dev
 	perl-dev
+	pulseaudio-dev
 	sdl2-dev
 	soxr-dev
 	v4l-utils-dev
@@ -159,6 +161,7 @@ build() {
 		--enable-gpl \
 		--enable-libass \
 		--enable-libmp3lame \
+		--enable-libpulse \
 		--enable-libvorbis \
 		--enable-libvpx \
 		--enable-libxvid \
@@ -186,6 +189,7 @@ build() {
 		--enable-vaapi \
 		--enable-vdpau \
 		--enable-vulkan \
+		--enable-libdrm \
 		$_asm $_dbg
 	make
 	${CC:-gcc} -o tools/qt-faststart $CFLAGS tools/qt-faststart.c
-- 
2.35.1