add new recipe for residualvm 0.2.1

This commit is contained in:
begasus
2016-04-09 14:01:37 +02:00
parent b6b2d09d3e
commit b5cbfeddd7

View File

@@ -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
}