git » dosbox-x.git » commit 311a580

Fix for the compilation issues (https://aur.archlinux.org/packages/dosbox-x#comment-855290)

author Mike Cuche
2022-03-07 17:19:00 UTC
committer Mike Cuche
2022-03-07 17:19:00 UTC
parent 77b4573eb9b3a5e3b5d74601af7e989860451db3

Fix for the compilation issues (https://aur.archlinux.org/packages/dosbox-x#comment-855290)

.SRCINFO +1 -1
PKGBUILD +2 -1

diff --git a/.SRCINFO b/.SRCINFO
index 110432f..5765335 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = dosbox-x
 	pkgdesc = x86 emulator with builtin DOS, with patches with more features
 	pkgver = 0.83.23
-	pkgrel = 2
+	pkgrel = 3
 	url = http://dosbox-x.com
 	arch = i686
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 59d795b..71dca99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=dosbox-x
 pkgver=0.83.23
-pkgrel=2
+pkgrel=3
 pkgdesc="x86 emulator with builtin DOS, with patches with more features"
 arch=(i686 x86_64 aarch64)
 url="http://dosbox-x.com"
@@ -18,6 +18,7 @@ sha256sums=('026f3986aae61d5f5cc7a95c7ad8ee9646f3249b282c8136a00b239bf6fed711')
 build() {
   cd $srcdir/dosbox-x-dosbox-x-v${pkgver}
   sed -i -e 's/-j3/-j$(nproc)/g' build
+  sed -i 's|"$LIBS -lavcodec -lavformat -lavutil -lswscale "`pkg-config libavcodec --libs`|`pkg-config libavcodec libavformat libavutil libswscale libswresample --libs`"$LIBS"|' configure.ac
  PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig" ./build
 }