author | Mike Cuche
<cuche@mailbox.org> 2022-03-13 13:39:07 UTC |
committer | Mike Cuche
<cuche@mailbox.org> 2022-03-13 13:39:07 UTC |
parent | 311a5800c8c330d389a8dadb4a60a9acdf00f245 |
.SRCINFO | +1 | -3 |
PKGBUILD | +4 | -3 |
diff --git a/.SRCINFO b/.SRCINFO index 5765335..a85fb07 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,15 +1,13 @@ pkgbase = dosbox-x pkgdesc = x86 emulator with builtin DOS, with patches with more features pkgver = 0.83.23 - pkgrel = 3 + pkgrel = 4 url = http://dosbox-x.com arch = i686 arch = x86_64 arch = aarch64 license = GPL makedepends = glu - makedepends = libpcap - makedepends = libslirp depends = fluidsynth depends = libxkbfile depends = libpng diff --git a/PKGBUILD b/PKGBUILD index 71dca99..1a2cd26 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 }