mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
scummvm: update to 2.1.0.
This commit is contained in:
parent
f6a5d1119a
commit
2b1b2d018a
1 changed files with 19 additions and 24 deletions
|
@ -1,36 +1,31 @@
|
||||||
# Template file for 'scummvm'
|
# Template file for 'scummvm'
|
||||||
pkgname=scummvm
|
pkgname=scummvm
|
||||||
version=2.0.0
|
version=2.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --enable-plugins --enable-all-engines"
|
configure_args="--prefix=/usr --enable-release-mode
|
||||||
|
--with-sdl-prefix=${XBPS_CROSS_BASE}/usr"
|
||||||
hostmakedepends="pkg-config nasm"
|
hostmakedepends="pkg-config nasm"
|
||||||
makedepends="zlib-devel libpng-devel SDL-devel libmad-devel faad2-devel
|
makedepends="zlib-devel libpng-devel SDL2-devel libmad-devel faad2-devel
|
||||||
fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel
|
fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel
|
||||||
freetype-devel libjpeg-turbo-devel"
|
freetype-devel libjpeg-turbo-devel libcurl-devel SDL2_net-devel
|
||||||
|
libmpeg2-devel liba52-devel"
|
||||||
short_desc="Free implementation of LucasArts' SCUMM interpreter"
|
short_desc="Free implementation of LucasArts' SCUMM interpreter"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
homepage="http://www.scummvm.org/"
|
license="GPL-2.0-or-later"
|
||||||
license="GPL-2"
|
homepage="https://www.scummvm.org/"
|
||||||
distfiles="http://www.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://www.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9784418d555ba75822d229514a05cf226b8ce1a751eec425432e6b7e128fca60
|
checksum=6b50c6596a1536b52865f556dc05ded20f86b6ffabe4bccbd746b5587b15f727
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*|x86_64*);;
|
||||||
|
*) configure_args+=" --disable-nasm";;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" --host=${XBPS_CROSS_TRIPLET} --disable-nasm"
|
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
||||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL"
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
sed -i -e "s|_ranlib=ranlib|_ranlib=${XBPS_CROSS_TRIPLET}-ranlib|" \
|
|
||||||
-e "s|_strip=strip|_strip=${XBPS_CROSS_TRIPLET}-strip|" \
|
|
||||||
-e "s|_ar=\"ar cru\"|_ar=\"${XBPS_CROSS_TRIPLET}-ar cru\"|" \
|
|
||||||
-e "s|_as=\"as\"|_as=\"${XBPS_CROSS_TRIPLET}-as\"|" configure
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_check() {
|
||||||
vbin scummvm
|
make test
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue