mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Recipe for tworld (Tile World) (#3452)
* Recipe for tworld (Tile World) * Update tworld-1.3.2.recipe * fixing recipe * New icon for rdef * Correcting spelling mistakes on .rdef * Update tworld-1.3.2.recipe * New patch for tworld. * removing * Patch for tworld * Update tworld-1.3.2.recipe
This commit is contained in:
committed by
Scott McCreary
parent
d9ce240817
commit
6598509cd5
74
games-puzzle/tworld/additional-files/tworld.rdef
Normal file
74
games-puzzle/tworld/additional-files/tworld.rdef
Normal file
@@ -0,0 +1,74 @@
|
||||
|
||||
resource app_flags B_SINGLE_LAUNCH | B_ARGV_ONLY;
|
||||
|
||||
resource app_version {
|
||||
major = 0,
|
||||
middle = 7,
|
||||
minor = 4,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Tile World",
|
||||
long_info = "Emulation of the game Chip's Challenge."
|
||||
};
|
||||
|
||||
resource app_signature "application/x-vnd.tworld";
|
||||
|
||||
resource vector_icon{
|
||||
|
||||
$"6E6369660205330500450A04BD68BE58C382BE58C382C160BD68C1600A04C2C5"
|
||||
$"C1AEC266C1AEC266C111C2C5C1110A04B24220B1E420B1E4B262B242B2620A04"
|
||||
$"B24220B1E420B1E4B262B242B2620A04B24220B1E420B1E4B262B242B2620A04"
|
||||
$"B24320B1E520B1E5B262B243B2620A04B24220B1E420B1E4B262B242B2620A04"
|
||||
$"B24220B1E420B1E4B262B242B2620A04B25EB228B1C1B228B1C1B1C9B25EB1C9"
|
||||
$"0A04B91AB29CB87DB29CB87DB23EB91AB23E0A04ACE5B2A6AC48B2A6AC48B247"
|
||||
$"ACE5B2470A04B91AB29CB87DB29CB87DB23EB91AB23E0A04ACE5B2A6AC48B2A6"
|
||||
$"AC48B247ACE5B2470A04B7F3B24AB794B24AB794B1ACB7F3B1AC0A04B24220B1"
|
||||
$"E420B1E4B262B242B2620A04B24220B1E420B1E4B262B242B2620A04B24220B1"
|
||||
$"E420B1E4B262B242B2620A04B24320B1E520B1E5B262B243B2620A04B24220B1"
|
||||
$"E420B1E4B262B242B2620A04B24220B1E420B1E4B262B242B2620A04C289BC33"
|
||||
$"C2A1BC33C2A1BE0BC289BE0B0A04C289BC33C47ABC33C47ABC53C289BC530202"
|
||||
$"C47FBC76C446BC76C4B8BC76C47FBC1EC4B8BC1EC446BC1E0A04C1B5BAF5C1D5"
|
||||
$"BAF5C1D5BE0BC1B5BE0B0A04C1B5BAF5C334BAF5C334BB0DC1B5BB0D0A04C31B"
|
||||
$"BA09C334BA09C334BB0DC31BBB0D0202C324BA36C2EBBA36C35DBA36C324B9DE"
|
||||
$"C35DB9DEC2EBB9DE0A04C0E9B9E8C10AB9E8C10ABE0BC0E9BE0B0A04C03EBBC1"
|
||||
$"C056BBC1C056BE0BC03EBE0B0A04BF72BCADBF8BBCADBF8BBE0BBF72BE0B0A04"
|
||||
$"BE86BCADBF72BCADBF72BCC5BE86BCC50A04BE65BB0DBE86BB0DBE86BCC5BE65"
|
||||
$"BCC50A04BEBFBD40BEDFBD40BEDFBE0BBEBFBE0B0A04BD99BD40BEBFBD40BEBF"
|
||||
$"BD58BD99BD580A04BE0BBDB2BE2CBDB2BE2CBE0BBE0BBE0B0A04BC02BDB2BE0B"
|
||||
$"BDB2BE0BBDD2BC02BDD20202BBFDBDFEBBC5BDFEBC36BDFEBBFDBDA6BC36BDA6"
|
||||
$"BBC5BDA60202BD89BD83BD50BD833BBD83BD89BD2B3BBD2BBD50BD2B0202BE69"
|
||||
$"BB48BE31BB48BEA2BB48BE69BAF0BEA2BAF0BE30BAF00202C039BBF3C001BBF3"
|
||||
$"C072BBF3C039BB9BC072BB9BC001BB9B0202C0EEBA0BC0B5BA0BC127BA0BC0EE"
|
||||
$"B9B3C127B9B3C0B5B9B30A04C3C6BF6AC57FBF6AC57FBF8BC3C6BF8B0A04C3C6"
|
||||
$"C036C525C036C525C056C3C6C0560A04C50CC056C525C056C525C1EEC50CC1EE"
|
||||
$"0202C57DBFABC544BFABC5B6BFABC57DBF53C5B6BF53C544BF530202C51BC221"
|
||||
$"C4E2C2214EC221C51BC1C94EC1C9C4E2C1C90A04C289C1B5C2A1C1B5C2A1C3A6"
|
||||
$"C289C3A60A04C289C3A6C47AC3A6C47AC3BEC289C3BE0A04C1D5C1B5C1F6C1B5"
|
||||
$"C1F6C472C1D5C4720A04C1D5C472C3AEC472C3AEC492C1D5C4920A04C10AC1B5"
|
||||
$"C122C1B5C122C472C10AC4720A08C058C597BEF8C597BEF8C576C04CC576C056"
|
||||
$"C571C056C194C077C194C077C57D0A04BF8BC194BFABC194BFABC4ABBF8BC4AB"
|
||||
$"0A08BEBDC53DBD99C53DBD99C525BEB1C525BEBFC519BEBFC17CBEDFC17CBEDF"
|
||||
$"C5250A08BE0EC34CBCADC34CBCADC334BE02C334BE0BC328BE0BC17CBE2CC17C"
|
||||
$"BE2CC3330202C475C3E2C43CC3E2C4AEC3E2C475C38AC4AEC38AC43CC38A0202"
|
||||
$"C3A3C4B4C36AC4B4C3DCC4B4C3A3C45CC3DCC45CC36AC45C0202C10BC4A5C0D2"
|
||||
$"C4A5C144C4A5C10BC44DC144C44DC0D2C44D0202BF8EC4E5BF56C4E5BFC7C4E5"
|
||||
$"BF8EC48CBFC7C48CBF56C48C0202BEF2C5C1BEB9C5C1BF2BC5C1BEF2C569BF2B"
|
||||
$"C569BEB9C5690202BD8DC55FBD55C55FBDC6C55FBD8DC507BDC6C507BD55C507"
|
||||
$"0202BC9EC372BC65C372BCD7C372BC9EC31ABCD7C31ABC65C31A0A04BAF5BF10"
|
||||
$"BD40BF10BD40BF31BAF5BF310A04BA11BFDCBD60BFDCBD60BFFDBA11BFFD0A04"
|
||||
$"B9F0BDEBBA11BDEBBA11BFFDB9F0BFFD0A08BB36C227BB16C227BB16C0A3BB25"
|
||||
$"C08FBD60C08FBD60C0A8BB31C0A8BB36C0AF0202B9FCBE20B9C4BE20BA35BE20"
|
||||
$"B9FCBDC8BA35BDC8B9C4BDC80202BAFBBF4EBAC2BF4EBB34BF4EBAFBBEF6BB34"
|
||||
$"BEF6BAC2BEF60202BB18C260BADFC260BB51C260BB18C208BB51C208BADFC209"
|
||||
$"330A000100000A01130102030405060708090A0B0C0D0E0F10111213000A0101"
|
||||
$"14000A010115000A010116000A010117000A010118000A010119000A01011A00"
|
||||
$"0A01011B000A01011C000A01011D000A01011E000A01011F000A010120000A01"
|
||||
$"0121000A010122000A010123000A010124000A010125000A010126000A010127"
|
||||
$"000A010128000A010129000A01012A000A01012B000A01012C000A01012D000A"
|
||||
$"01012E000A01012F000A010130000A010131000A010132000A010133000A0101"
|
||||
$"34000A010135000A010136000A010137000A010138000A010139000A01013A00"
|
||||
$"0A01013B000A01013C000A01013D000A01013E000A01013F000A010140000A01"
|
||||
$"0141000A010142000A010143000A01014400"
|
||||
};
|
||||
34
games-puzzle/tworld/patches/tworld-1.3.2.patchset
Normal file
34
games-puzzle/tworld/patches/tworld-1.3.2.patchset
Normal file
@@ -0,0 +1,34 @@
|
||||
From 33d1ef7e2ae49e0ef4ceb88c69bf20be7d78eed7 Mon Sep 17 00:00:00 2001
|
||||
From: arnavbhatt288 <arnavbhatt288@gmail.com>
|
||||
Date: Sat, 8 Dec 2018 20:50:48 +0000
|
||||
Subject: Removing -Wextra for x86_gcc2
|
||||
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index d3adbcf..e6924e0 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -1663,16 +1663,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
test -z "$CC" && CC="gcc"
|
||||
-test -z "$CFLAGS" && CFLAGS=" -Wall -Wextra -O2 -fomit-frame-pointer -DNDEBUG"
|
||||
-test -z "$LDFLAGS" && LDFLAGS=" -Wall -Wextra -s"
|
||||
+test -z "$CFLAGS" && CFLAGS=" -Wall -O2 -fomit-frame-pointer -DNDEBUG"
|
||||
+test -z "$LDFLAGS" && LDFLAGS=" -Wall -s"
|
||||
|
||||
|
||||
|
||||
# Check whether --with-debug was given.
|
||||
if test "${with_debug+set}" = set; then :
|
||||
withval=$with_debug; if test $withval = yes ; then
|
||||
- CFLAGS=" -Wall -Wextra -ggdb"
|
||||
- LDFLAGS=" -Wall -Wextra -ggdb"
|
||||
+ CFLAGS=" -Wall -ggdb"
|
||||
+ LDFLAGS=" -Wall -ggdb"
|
||||
fi
|
||||
fi
|
||||
|
||||
--
|
||||
2.19.0
|
||||
|
||||
54
games-puzzle/tworld/tworld-1.3.2.recipe
Normal file
54
games-puzzle/tworld/tworld-1.3.2.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="Emulation of the game Chip's Challenge"
|
||||
DESCRIPTION="Tile World is an emulation of the game Chip's Challenge. \
|
||||
Chip's Challenge was originally written for the Atari Lynx by Chuck Sommerville, \
|
||||
and was later ported to MS Windows by Microsoft (among other ports). \
|
||||
Chip's Challenge is a game made up of both intellectually engaging puzzles \
|
||||
and situations demanding fast reflexes. As you might have guessed, \
|
||||
it is a tile-based game. The object of each level is simply to get out — i.e., \
|
||||
to find and achieve the exit tile. This simple task, however, \
|
||||
can sometimes be extremely challenging."
|
||||
HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/tworld/"
|
||||
COPYRIGHT="2001-2015 Brian Raiter"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.muppetlabs.com/~breadbox/pub/software/tworld/tworld-$portVersion-CCLPs.tar.gz"
|
||||
CHECKSUM_SHA256="bb867a05e18613260ffad597d8afef8210687495746857a7ad00ef0f2126e12a"
|
||||
PATCHES="tworld-1.3.2.patchset"
|
||||
ADDITIONAL_FILES="tworld.rdef"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
tworldx = $portVersion
|
||||
app:tworld = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libsdl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++
|
||||
cmd:make
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$appsDir
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
mkdir -p $manDir/man6
|
||||
cp -f docs/tworld.6 $manDir/man6
|
||||
mv $appsDir/tworld $appsDir/TileWorld
|
||||
addResourcesToBinaries $portDir/additional-files/tworld.rdef $appsDir/TileWorld
|
||||
addAppDeskbarSymlink $appsDir/TileWorld
|
||||
}
|
||||
Reference in New Issue
Block a user