scummvm: bump version (#1867)

This commit is contained in:
Schrijvers Luc
2017-12-09 13:03:52 +01:00
committed by diversys
parent c7b2fb749d
commit e10f581a9d
2 changed files with 104 additions and 8 deletions

View File

@@ -4,15 +4,16 @@ graphical point-and-click adventure games, provided you already have their \
data files. The clever part about this: ScummVM just replaces the executables \
shipped with the games, allowing you to play them on systems for which they \
were never designed!"
HOMEPAGE="http://scummvm.org"
HOMEPAGE="https://www.scummvm.org/"
COPYRIGHT="2001-2014 ScummVM Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://scummvm.org/frs/scummvm/$portVersion/scummvm-$portVersion.tar.xz"
CHECKSUM_SHA256="935f53d7e4c460fbc22c58fee5007d4858891e4961831f53f575a3594b7f612a"
ADDITIONAL_FILES="scummvm.rdef"
SOURCE_URI="http://www.scummvm.org/frs/scummvm/$portVersion/scummvm-$portVersion.tar.gz"
CHECKSUM_SHA256="f613131f45f4e20ed6088706e34a38ececb326ff979926f170b7cf6b9297ea8d"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
ADDITIONAL_FILES="scummvm.rdef.in"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
@@ -22,6 +23,7 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
#lib:libcurl$secondaryArchSuffix #not needed yet
lib:libbz2$secondaryArchSuffix
lib:libfaad$secondaryArchSuffix
lib:libflac$secondaryArchSuffix
@@ -33,8 +35,9 @@ REQUIRES="
lib:libmad$secondaryArchSuffix
lib:libmpeg2$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libSDL$secondaryArchSuffix
#lib:libsdl_net$secondaryArchSuffix #not needed yet
lib:libtheora$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libz$secondaryArchSuffix
@@ -42,6 +45,7 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
#devel:libcurl$secondaryArchSuffix #not needed yet
devel:libbz2$secondaryArchSuffix
devel:libfaad$secondaryArchSuffix
devel:libflac$secondaryArchSuffix
@@ -55,6 +59,7 @@ BUILD_REQUIRES="
devel:libogg$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libSDL$secondaryArchSuffix
#devel:libsdl_net$secondaryArchSuffix #not needed yet
devel:libtheora$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -75,7 +80,7 @@ BUILD()
CPPFLAGS=`freetype-config --cflags` ./configure --prefix=$prefix \
--bindir=$appsDir --libdir=$libDir --datarootdir=$dataDir \
--mandir=$manDir --docdir=$docDir \
--disable-debug --enable-release --disable-eventrecorder \
--disable-debug --enable-release --disable-eventrecorder #\
#--disable-all-engines #can be used to compile scummvm without \
#engines, which makes it build faster (to test), those that \
#are still under construction can be built with --enable-all-engines \
@@ -88,6 +93,9 @@ INSTALL()
make install
mv $appsDir/scummvm $appsDir/ScummVM
#we are not linux
rm -r $dataDir/{applications,appdata,icons,pixmaps}
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
@@ -95,7 +103,7 @@ INSTALL()
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
$portDir/additional-files/scummvm.rdef > scummvm.rdef
$portDir/additional-files/scummvm.rdef.in > scummvm.rdef
addResourcesToBinaries scummvm.rdef \
$appsDir/ScummVM