summaryrefslogtreecommitdiff
path: root/user/scummvm/APKBUILD
blob: 938c66721e5326fe6b5a781c481e271028d018d5 (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
# Contributor: Tambra Wilcox <Tambra@J30AD.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=scummvm
pkgver=2.1.2
pkgrel=0
pkgdesc="Allows running classic point-and-click adventure games"
url="https://www.scummvm.org/"
arch="all"
options="!check"  # No tests provided.
license="GPL-2.0+"
depends=""
makedepends="alsa-lib-dev curl-dev flac-dev fluidsynth-dev freetype-dev
	libjpeg-turbo-dev libmpeg2-dev libogg-dev libpng-dev libvorbis-dev
	sdl-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://www.scummvm.org/frs/scummvm/$pkgver/scummvm-$pkgver.tar.bz2
	fluidsynth.patch
	"

build() {
	_extra_conf=""
	[ $CTARGET_ARCH = "pmmx" ] && _extra_conf="--disable-nasm"

	./configure \
		--prefix=/usr \
		--disable-readline \
		${_extra_conf}
	make
}

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

sha512sums="de3ce5c9363f59ed151aeedc04870343070acbc2ac7d07a641a0cdcd9cdb9210138dc4b3669818f736c0b0d40bdf9e07d9c015796ceef0c81881ac15e31eaebe  scummvm-2.1.2.tar.bz2
20b20a68263c691efb7db83aa8132ec980f2732af728300a641d30c4035d4aa8fcf6efdcebb8c5b924e68fafb50e39ed1825cd64d1f81145259493e858bd50f4  fluidsynth.patch"