blob: 26e324512fb5db9e75f6036ba9e4eb51bd6f1e04 (
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
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=scummvm
pkgver=1.5.0
pkgrel=0
pkgdesc="engine for several graphical adventure games"
url="http://www.scummvm.org/"
arch="all"
license="GPL-2"
depends=""
depends_dev=""
makedepends="$depends_dev libogg-dev libvorbis-dev libtheora-dev zlib-dev libpng-dev sdl-dev alsa-lib-dev freetype-dev"
install=""
subpackages=""
source="http://prdownloads.sourceforge.net/scummvm/scummvm-$pkgver.tar.bz2"
_builddir="$srcdir"/scummvm-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
# nasm disabled due to non-pic/pie compatible assembly
# dynamic plugins disabled due to sdl built without dlopen
./configure \
--prefix=/usr \
--enable-all-engines \
--enable-release \
--disable-plugins \
--disable-nasm \
|| exit 1
make
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
}
md5sums="d71d1df5c8262556fedbe885972fbf6e scummvm-1.5.0.tar.bz2"
|