34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'scummvm'
|
|
pkgname=scummvm
|
|
version=1.9.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --enable-plugins --enable-all-engines"
|
|
hostmakedepends="pkg-config nasm"
|
|
makedepends="zlib-devel libpng-devel SDL-devel libmad-devel faad2-devel
|
|
fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel
|
|
freetype-devel libjpeg-turbo-devel"
|
|
short_desc="Free implementation of LucasArts' SCUMM interpreter"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.scummvm.org/"
|
|
license="GPL-2"
|
|
distfiles="http://www.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=2417edcb1ad51ca05a817c58aeee610bc6db5442984e8cf28e8a5fd914e8ae05
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" --host=${XBPS_CROSS_TRIPLET} --disable-nasm"
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL"
|
|
fi
|
|
|
|
# Cross for arm* is broken when trying to assemble engines/scumm/smush/codec47ARM.s
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) broken="engines/scumm/smush/codec47ARM.s"
|
|
esac
|
|
|
|
do_install() {
|
|
vbin scummvm
|
|
vman dists/scummvm.6
|
|
vinstall dists/scummvm.desktop 644 usr/share/applications
|
|
vinstall icons/scummvm.xpm 644 usr/share/pixmaps
|
|
vinstall gui/themes/scummmodern.zip 644 usr/share/scummvm
|
|
}
|