diff options
author | Mike Cuche | 2022-03-07 18:19:00 +0100 |
---|---|---|
committer | Mike Cuche | 2022-03-07 18:19:00 +0100 |
commit | 311a5800c8c330d389a8dadb4a60a9acdf00f245 (patch) | |
tree | beba92cf11277c2e97e38dab052df867759ccdc0 | |
parent | 77b4573eb9b3a5e3b5d74601af7e989860451db3 (diff) | |
download | aur-311a5800c8c330d389a8dadb4a60a9acdf00f245.tar.gz |
Fix for the compilation issues (https://aur.archlinux.org/packages/dosbox-x#comment-855290)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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 } |