mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
add new recipe for residualvm 0.2.1
This commit is contained in:
67
games-engines/residualvm/residualvm-0.2.1.recipe
Normal file
67
games-engines/residualvm/residualvm-0.2.1.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user