From b5cbfeddd7fcb711fcc483652a4279059b4fdda1 Mon Sep 17 00:00:00 2001 From: begasus Date: Sat, 9 Apr 2016 14:01:37 +0200 Subject: [PATCH] add new recipe for residualvm 0.2.1 --- .../residualvm/residualvm-0.2.1.recipe | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 games-engines/residualvm/residualvm-0.2.1.recipe diff --git a/games-engines/residualvm/residualvm-0.2.1.recipe b/games-engines/residualvm/residualvm-0.2.1.recipe new file mode 100644 index 000000000..19411deff --- /dev/null +++ b/games-engines/residualvm/residualvm-0.2.1.recipe @@ -0,0 +1,67 @@ +SUMMARY="A cross-platform 3D game interpreter" +DESCRIPTION="ResidualVM is a program which allows you to run certain classic \ +3D games, provided you already have their data files. ResidualVM just \ +replaces the executables shipped with the game, allowing you to play them on \ +systems for which they were never designed!" +HOMEPAGE="http://www.residualvm.org/" +COPYRIGHT="2003-2015 ResidualVM Team" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://www.residualvm.org/downloads/release/$portVersion/residualvm-$portVersion-sources.tar.gz" +CHECKSUM_SHA256="1f3ff363d00f799e38ee08f985b65e07134782f63ff065a5bec68fcab4d578e4" + +ARCHITECTURES="!x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + residualvm$secondaryArchSuffix = $portVersion + app:ResidualVM$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libgl$secondaryArchSuffix + lib:libglu$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libmad$secondaryArchSuffix + lib:libpng$secondaryArchSuffix + lib:libSDL$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libbz2$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libgl$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libmad$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + devel:libSDL$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:nasm + " + +BUILD() +{ + CPPFLAGS=`freetype-config --cflags` ./configure --prefix=$appsDir/ResidualVM \ + --enable-release --disable-debug + make $jobArgs +} + +INSTALL() +{ + make install + mv $appsDir/ResidualVM/bin/residualvm $appsDir/ResidualVM/ResidualVM + rm -R $appsDir/ResidualVM/bin + addAppDeskbarSymlink $appsDir/ResidualVM/ResidualVM ResidualVM +}