mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 15:51:33 +01:00
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=scummvm
|
|
pkgver=1.7.0
|
|
pkgrel=0
|
|
pkgdesc="engine for several graphical adventure games"
|
|
url="http://www.scummvm.org/"
|
|
arch="all"
|
|
license="GPL-2"
|
|
depends=""
|
|
makedepends="libogg-dev libvorbis-dev libtheora-dev zlib-dev
|
|
libpng-dev jpeg-dev glu-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-nasm \
|
|
|| exit 1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
md5sums="be91bf3fa2f1b44a82c92cfe8c5cc1c8 scummvm-1.7.0.tar.bz2"
|
|
sha256sums="d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66 scummvm-1.7.0.tar.bz2"
|
|
sha512sums="0133feb2df58461fb0e42b1e84cfb309bd964dad239f7ca0c7529edd4f4716895a45491e31597ec6f6d17361b0ce8f73c317399db07a1249b2ab570e4829000e scummvm-1.7.0.tar.bz2"
|