summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Cuche2022-03-07 18:19:00 +0100
committerMike Cuche2022-03-07 18:19:00 +0100
commit311a5800c8c330d389a8dadb4a60a9acdf00f245 (patch)
treebeba92cf11277c2e97e38dab052df867759ccdc0
parent77b4573eb9b3a5e3b5d74601af7e989860451db3 (diff)
downloadaur-311a5800c8c330d389a8dadb4a60a9acdf00f245.tar.gz
Fix for the compilation issues (https://aur.archlinux.org/packages/dosbox-x#comment-855290)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 110432f1b972..576533548830 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 59d795b42c17..71dca9975967 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
}