mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
fish-fillets: new recipe (#1397)
This commit is contained in:
committed by
Jérôme Duval
parent
b79b984cbf
commit
588ec1fd5d
BIN
games-puzzle/fish-fillets/additional-files/fish_fillets-logo.iom
Normal file
BIN
games-puzzle/fish-fillets/additional-files/fish_fillets-logo.iom
Normal file
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
|
||||
resource app_flags B_SINGLE_LAUNCH | B_ARGV_ONLY;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
short_info = "Fillets-NG",
|
||||
long_info = "A port of the wonderful puzzle game Fish Fillets from ALTAR interactive"
|
||||
};
|
||||
|
||||
resource app_signature "application/x-vnd.filletsng";
|
||||
|
||||
resource vector_icon {
|
||||
$"6E63696603050003FFFF000401800302044030C34530BC3A30304030BC3A30C3"
|
||||
$"454050BC3A50C34550504050C34550BC3A0605BF034C474B454C474C394C394B"
|
||||
$"3B3B464146324632403B3A323A413A0A06353D353E333E333F363F363D050A02"
|
||||
$"0100024006DDBB88643820FA3C715447017E4B52B00A0001000241D000000000"
|
||||
$"00000041D000C9B000C9B0000A01010012414CDD000000000000414CDDC8A9BA"
|
||||
$"C8A9BA01178200040A01010112408AAA000000000000408AAAC64AAAC64AAA01"
|
||||
$"178222040A01010200"
|
||||
};
|
||||
88
games-puzzle/fish-fillets/fish_fillets-1.0.1.recipe
Normal file
88
games-puzzle/fish-fillets/fish_fillets-1.0.1.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="A port of the wonderful puzzle game Fish Fillets from ALTAR interactive"
|
||||
DESCRIPTION="Fish Fillets NG is strictly a puzzle game. The goal in every of \
|
||||
the seventy levels is always the same: find a safe way out. The fish utter \
|
||||
witty remarks about their surroundings, the various inhabitants of their \
|
||||
underwater realm quarrel among themselves or comment on the efforts of your \
|
||||
fish. The whole game is accompanied by quiet, comforting music."
|
||||
HOMEPAGE="http://fillets.sourceforge.net/"
|
||||
COPYRIGHT="2004-2011 Ivo Danihelka"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/fillets/fillets-ng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da"
|
||||
SOURCE_URI_2="http://prdownloads.sourceforge.net/fillets/fillets-ng-data-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256_2="f0c979fb35ec550a43246fc209add8f45ca550a382c94d6383bb3f01b1073799"
|
||||
SOURCE_DIR="fillets-ng-1.0.1"
|
||||
ADDITIONAL_FILES="fish_fillets.rdef.in"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
fish_fillets$secondaryArchSuffix = $portVersion
|
||||
app:"FishFilletsNG"$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_ttf$secondaryArchSuffix
|
||||
lib:liblua$secondaryArchSuffix >= 5.1
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libsmpeg$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_mixer$secondaryArchSuffix
|
||||
devel:libsdl_image$secondaryArchSuffix
|
||||
devel:libsdl_ttf$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
devel:liblua$secondaryArchSuffix >= 5.1
|
||||
devel:libsmpeg$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:lua5.1$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
./configure --prefix=$appsDir/"Fish-Fillets" \
|
||||
LUA_CFLAGS=-I"$(finddir B_SYSTEM_HEADERS_DIRECTORY)$secondaryArchSubDir/lua5.1" \
|
||||
LUA_LIBS=-L"$(finddir B_SYSTEM_LIB_DIRECTORY)$secondaryArchSubDir -llua"
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
ln -s $appsDir/"Fish-Fillets"/bin/fillets $appsDir/"Fish-Fillets"/"Fish Fillets NG"
|
||||
|
||||
mkdir -p $appsDir/"Fish-Fillets"/share/games/fillets-ng
|
||||
cp -R $sourceDir2/fillets-ng-data-1.0.1/* $appsDir/"Fish-Fillets"/share/games/fillets-ng/
|
||||
|
||||
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/fish_fillets.rdef.in > fish_fillets.rdef
|
||||
|
||||
addResourcesToBinaries fish_fillets.rdef \
|
||||
$appsDir/"Fish-Fillets"/bin/fillets
|
||||
|
||||
addAppDeskbarSymlink $appsDir/"Fish-Fillets"/"Fish Fillets NG"
|
||||
}
|
||||
Reference in New Issue
Block a user