mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
68 lines
2.0 KiB
Bash
68 lines
2.0 KiB
Bash
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="2"
|
|
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:libpng16$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
|
|
}
|