blob: 9c17e431b6a4236efd89c7103fdc102a8ac2380d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
pkgname=dosbox-x-sdl2
_pkgname=dosbox-x
pkgver=2025.01.01
pkgrel=3
pkgdesc="x86 emulator with builtin DOS, with patches and more features"
arch=(i686 x86_64 aarch64)
url="http://dosbox-x.com"
license=(GPL-2.0-or-later)
depends=(fluidsynth libxkbfile libxrandr sdl2_net libslirp libpng libpcap)
makedepends=(glu)
optdepends=('openglide-git: Third-party 3dfx Glide API support')
conflicts=('dosbox-x-git' 'dosbox-x' 'dosbox-x-sdl2-git')
source=(https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v${pkgver}.tar.gz)
sha256sums=('40290a073f6b8894d9c2b8c3d9c39a410f84fe89837c87148653ea03e89cf7b2')
options=(!debug)
prepare() {
cd "$srcdir/dosbox-x-dosbox-x-v$pkgver"
}
build() {
cd "$srcdir/dosbox-x-dosbox-x-v$pkgver"
./autogen.sh
./configure --enable-debug --enable-avcodec --prefix=/usr --enable-sdl2
make
}
package() {
cd "$srcdir/dosbox-x-dosbox-x-v$pkgver"
make DESTDIR="$pkgdir" install
}
|