diff options
author | Mike Cuche | 2022-03-13 14:39:07 +0100 |
---|---|---|
committer | Mike Cuche | 2022-03-13 14:39:07 +0100 |
commit | 5557db7dc2eedc7bc7d93aed549ac847f613b22d (patch) | |
tree | b024b06d3620e47bef58515bfe4262024cbe78e6 /PKGBUILD | |
parent | 311a5800c8c330d389a8dadb4a60a9acdf00f245 (diff) | |
download | aur-5557db7dc2eedc7bc7d93aed549ac847f613b22d.tar.gz |
Fix for fluidsynth support: https://aur.archlinux.org/packages/dosbox-x#comment-855783
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,13 +2,13 @@ pkgname=dosbox-x pkgver=0.83.23 -pkgrel=3 +pkgrel=4 pkgdesc="x86 emulator with builtin DOS, with patches with more features" arch=(i686 x86_64 aarch64) url="http://dosbox-x.com" license=(GPL) depends=(fluidsynth libxkbfile libpng libxrandr mesa ffmpeg4.4 physfs libslirp libpcap) -makedepends=(glu libpcap libslirp) +makedepends=(glu) optdepends=('openglide-git: Third-party 3dfx Glide API support') conflicts=(dosbox-x-git) source=(https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v${pkgver}.tar.gz) @@ -18,7 +18,8 @@ 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 + sed -i 's|"$LIBS -lavcodec -lavformat -lavutil -lswscale "`pkg-config libavcodec --libs`|`pkg-config libavcodec libavformat libavutil libswscale libswresample --libs`"$LIBS"|' configure.ac #ffmpeg avcodec fix + sed -i 's|$LIBS $SDL_LIBS|$LIBS $SDL_LIBS -lm -lGL|' configure.ac #fluidsynth fix PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig" ./build } |