aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scummvm/APKBUILD
blob: 5af21c0e76f522502f93d47d54ada87d0d87359b (plain) (blame)
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
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=scummvm
pkgver=2.2.0
pkgrel=1
pkgdesc="Engine for several graphical adventure games"
url="https://www.scummvm.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	alsa-lib-dev
	faad2-dev
	flac-dev
	fluidsynth-dev
	freetype-dev
	glu-dev
	jpeg-dev
	libogg-dev
	libpng-dev
	libtheora-dev
	libvorbis-dev
	sdl2-dev
	zlib-dev
	"
subpackages="$pkgname-doc"
source="
	https://downloads.scummvm.org/frs/scummvm/$pkgver/scummvm-$pkgver.tar.gz
	disable-forbidden.patch
	0001-FLUIDSYNTH-Simplify-FluidSynth-version-check.patch
	0002-FLUIDSYNTH-Fix-compilation-with-Fluidsynth-2.2.patch
	"

build() {
	./configure \
		--prefix=/usr \
		--enable-all-engines \
		--enable-c++11 \
		--enable-release
	make
}

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

sha512sums="
53128f59d59bdb1e9cad81c8b33da311ec7e6267a142fc44fd8ebe298c3b341b0f98e03346b47fe08f8fa0d98016b80d3b4a233a6dd9f608b756f8c09160fc94  scummvm-2.2.0.tar.gz
92e22cc65454ad29dc580b03859cf7b78fdea5614eb370dbad05460bc6aac187b4be99213912ee58c7b9a7d1488bc02b7853337465bbc8c2405f5e4aefadf0f2  disable-forbidden.patch
bc7bf322eed6fa1479b34a17f0db7f301ed66c6a1aaa81be3833fd317b39a001687b0d91bf572661e632c6234d633add0e545626c6e2bfac5b4e6135068c8106  0001-FLUIDSYNTH-Simplify-FluidSynth-version-check.patch
fcb3621dc811aeab4ff2d4a5969c9e49991b65ac67cd2dbe0b3e436185ceaface2ed2644b6cce2fa2e37618b8d45849514797009e84bdce3e7c09325a8f9c257  0002-FLUIDSYNTH-Fix-compilation-with-Fluidsynth-2.2.patch
"