diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-07-31 14:57:18 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-07-31 14:58:01 +0300 |
commit | 7b3c583dc2c8b2fa5c0fab824c822468e6a862eb (patch) | |
tree | 6ea934c00ead92db6343b50e6bb1bce7379e10bd /testing | |
parent | b2af8c1961ed264e0b6cabb504353350fd13e22f (diff) | |
download | aports-7b3c583dc2c8b2fa5c0fab824c822468e6a862eb.tar.bz2 aports-7b3c583dc2c8b2fa5c0fab824c822468e6a862eb.tar.xz |
testing/scummvm: new aport
engine for several graphical adventure games
http://www.scummvm.org/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/scummvm/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/scummvm/APKBUILD b/testing/scummvm/APKBUILD new file mode 100644 index 0000000000..26e324512f --- /dev/null +++ b/testing/scummvm/APKBUILD @@ -0,0 +1,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" |