31 lines
987 B
Bash
31 lines
987 B
Bash
# Template file for 'scummvm'
|
|
pkgname=scummvm
|
|
version=2.1.2
|
|
revision=2
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --enable-release-mode
|
|
--with-sdl-prefix=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="pkg-config nasm"
|
|
makedepends="zlib-devel libpng-devel SDL2-devel libmad-devel faad2-devel
|
|
fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel
|
|
freetype-devel libjpeg-turbo-devel libcurl-devel SDL2_net-devel
|
|
libmpeg2-devel liba52-devel"
|
|
short_desc="Free implementation of LucasArts' SCUMM interpreter"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.scummvm.org/"
|
|
distfiles="https://www.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=c4c16c9b8650c3d512b7254551bbab0d47cd3ef4eac6983ab6d882e76cf88eb0
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*);;
|
|
*) configure_args+=" --disable-nasm";;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
|
fi
|
|
|
|
do_check() {
|
|
make test
|
|
}
|