8243767beb
scummvm now includes residualvm
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'scummvm'
|
|
pkgname=scummvm
|
|
version=2.5.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --enable-release-mode"
|
|
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 gtk+3-devel"
|
|
short_desc="Free implementation of LucasArts' SCUMM interpreter"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.scummvm.org/"
|
|
distfiles="https://downloads.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=b47ee4b195828d2c358e38a4088eda49886dc37a04f1cc17b981345a59e0d623
|
|
|
|
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
|
|
}
|
|
|
|
residualvm_package() {
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
}
|