aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dosbox/APKBUILD
blob: f08ee6e06dec88f01048c8d3ea0573634aa142fc (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=dosbox
_pkgver=0.74-3
pkgver=${_pkgver/-/\.}
pkgrel=0
pkgdesc="DOS-emulator that uses SDL-library"
url="https://www.dosbox.com/"
arch="all !x86" # textrel issue on x86 
license="GPL-2.0-or-later"
makedepends="
	alsa-lib
	expat-dev
	libpng-dev
	libx11-dev
	libxau-dev
	libxcb-dev
	libdrm-dev
	libxext-dev
	libxfixes-dev
	libxdamage-dev
	libxxf86vm-dev
	libxshmfence-dev
	mesa-dev
	sdl-dev
	zlib-dev
	"

subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/dosbox/dosbox-$_pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$_pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-opengl
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3770f1578e71730168fba01809585f2a05cf8c4d420524687ba28791d242faad294401bb9cd268bba725798e1db853551f274dc00a4024331f5dcef9f87f8f5f  dosbox-0.74-3.tar.gz"