diff --git a/games-engines/scummvm/scummvm-1.9.0.recipe b/games-engines/scummvm/scummvm-1.9.0.recipe deleted file mode 100644 index df0c90feb..000000000 --- a/games-engines/scummvm/scummvm-1.9.0.recipe +++ /dev/null @@ -1,111 +0,0 @@ -SUMMARY="Script Creation Utility for Maniac Mansion Virtual Machine" -DESCRIPTION="ScummVM is a program which allows you to run certain classic \ -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="https://www.scummvm.org/" -COPYRIGHT="2001-2014 ScummVM Team" -LICENSE="GNU GPL v2" -REVISION="2" -SOURCE_URI="http://scummvm.org/frs/scummvm/$portVersion/scummvm-$portVersion.tar.xz" -CHECKSUM_SHA256="2417edcb1ad51ca05a817c58aeee610bc6db5442984e8cf28e8a5fd914e8ae05" -ADDITIONAL_FILES="scummvm.rdef.in" - -ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="x86" - -PROVIDES=" - scummvm$secondaryArchSuffix = $portVersion - app:scummvm$secondaryArchSuffix = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libbz2$secondaryArchSuffix - #lib:libcurl$secondaryArchSuffix #not needed yet - lib:libfaad$secondaryArchSuffix - lib:libflac$secondaryArchSuffix - lib:libfluidsynth$secondaryArchSuffix - lib:libfreetype$secondaryArchSuffix - lib:libgl$secondaryArchSuffix - lib:libglu$secondaryArchSuffix - lib:libjpeg$secondaryArchSuffix - lib:libmad$secondaryArchSuffix - lib:libmpeg2$secondaryArchSuffix - lib:libogg$secondaryArchSuffix - lib:libpng16$secondaryArchSuffix - lib:libSDL$secondaryArchSuffix - #lib:libsdl_net$secondaryArchSuffix #not needed yet - lib:libtheora$secondaryArchSuffix - lib:libvorbis$secondaryArchSuffix - lib:libz$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libbz2$secondaryArchSuffix - #devel:libcurl$secondaryArchSuffix #not needed yet - devel:libfaad$secondaryArchSuffix - devel:libflac$secondaryArchSuffix - devel:libfluidsynth$secondaryArchSuffix - devel:libfreetype$secondaryArchSuffix - devel:libgl$secondaryArchSuffix - devel:libglu$secondaryArchSuffix - devel:libjpeg$secondaryArchSuffix - devel:libmad$secondaryArchSuffix - devel:libmpeg2$secondaryArchSuffix - 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 - " -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:libtoolize$secondaryArchSuffix - cmd:make - cmd:nasm - cmd:pkg_config$secondaryArchSuffix - " - -BUILD() -{ - libtoolize --force --copy --install - CPPFLAGS=`freetype-config --cflags` ./configure --prefix=$prefix \ - --bindir=$appsDir --libdir=$libDir --datarootdir=$dataDir \ - --mandir=$manDir --docdir=$docDir \ - --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 \ - #for testing purposes - make $jobArgs -} - -INSTALL() -{ - make install - mv $appsDir/scummvm $appsDir/ScummVM - - local MAJOR="`echo "$portVersion" | cut -d. -f1`" - local MIDDLE="`echo "$portVersion" | cut -d. -f2`" - local MINOR="`echo "$portVersion" | cut -d. -f3`" - sed \ - -e "s|@MAJOR@|$MAJOR|" \ - -e "s|@MIDDLE@|$MIDDLE|" \ - -e "s|@MINOR@|$MINOR|" \ - $portDir/additional-files/scummvm.rdef.in > scummvm.rdef - - addResourcesToBinaries scummvm.rdef \ - $appsDir/ScummVM - - addAppDeskbarSymlink $appsDir/ScummVM -} - -TEST() -{ - make test -} diff --git a/games-engines/scummvm/scummvm-2.0.0.recipe b/games-engines/scummvm/scummvm-2.1.0.recipe similarity index 81% rename from games-engines/scummvm/scummvm-2.0.0.recipe rename to games-engines/scummvm/scummvm-2.1.0.recipe index dac8b70e6..731d19e8e 100644 --- a/games-engines/scummvm/scummvm-2.0.0.recipe +++ b/games-engines/scummvm/scummvm-2.1.0.recipe @@ -5,11 +5,11 @@ 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="https://www.scummvm.org/" -COPYRIGHT="2001-2014 ScummVM Team" +COPYRIGHT="2001-2019 ScummVM Team" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="http://www.scummvm.org/frs/scummvm/$portVersion/scummvm-$portVersion.tar.gz" -CHECKSUM_SHA256="f613131f45f4e20ed6088706e34a38ececb326ff979926f170b7cf6b9297ea8d" +CHECKSUM_SHA256="e5bd10b19d048fbaee17c58fef261528b1a910039583d3705c5ac7ef3164c1f8" ADDITIONAL_FILES="scummvm.rdef.in" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -21,21 +21,25 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + lib:liba52$secondaryArchSuffix lib:libbz2$secondaryArchSuffix - #lib:libcurl$secondaryArchSuffix #not needed yet + lib:libcrypto$secondaryArchSuffix + lib:libcurl$secondaryArchSuffix lib:libfaad$secondaryArchSuffix lib:libflac$secondaryArchSuffix - lib:libfluidsynth$secondaryArchSuffix + lib:libfluidsynth$secondaryArchSuffix >= 2 lib:libfreetype$secondaryArchSuffix lib:libgl$secondaryArchSuffix lib:libglu$secondaryArchSuffix lib:libjpeg$secondaryArchSuffix lib:libmad$secondaryArchSuffix lib:libmpeg2$secondaryArchSuffix + lib:libnghttp2$secondaryArchSuffix lib:libogg$secondaryArchSuffix lib:libpng16$secondaryArchSuffix lib:libSDL$secondaryArchSuffix - #lib:libsdl_net$secondaryArchSuffix #not needed yet + lib:libSDL_net_1.2$secondaryArchSuffix + lib:libssl$secondaryArchSuffix lib:libtheora$secondaryArchSuffix lib:libvorbis$secondaryArchSuffix lib:libz$secondaryArchSuffix @@ -43,21 +47,25 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + devel:liba52$secondaryArchSuffix devel:libbz2$secondaryArchSuffix - #devel:libcurl$secondaryArchSuffix #not needed yet + devel:libcrypto$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix devel:libfaad$secondaryArchSuffix devel:libflac$secondaryArchSuffix - devel:libfluidsynth$secondaryArchSuffix + devel:libfluidsynth$secondaryArchSuffix >= 2 devel:libfreetype$secondaryArchSuffix devel:libgl$secondaryArchSuffix devel:libglu$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix devel:libmad$secondaryArchSuffix devel:libmpeg2$secondaryArchSuffix + devel:libnghttp2$secondaryArchSuffix devel:libogg$secondaryArchSuffix devel:libpng$secondaryArchSuffix devel:libSDL$secondaryArchSuffix - #devel:libsdl_net$secondaryArchSuffix #not needed yet + devel:libsdl_net$secondaryArchSuffix >= 1.2 + devel:libssl$secondaryArchSuffix devel:libtheora$secondaryArchSuffix devel:libvorbis$secondaryArchSuffix devel:libz$secondaryArchSuffix @@ -71,6 +79,11 @@ BUILD_PREREQUIRES=" cmd:pkg_config$secondaryArchSuffix " +PATCH() +{ + sed -i 's/xdg-open/open/g' backends/platform/sdl/posix/posix.cpp +} + BUILD() { libtoolize --force --copy --install