mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
Tanglet: Add recipe (#10317)
* Tanglet: Add recipe * Tanglet: Move to games-puzzle --------- Co-authored-by: Julius Enriquez <win8linux@github.com>
This commit is contained in:
BIN
games-puzzle/tanglet/additional-files/tanglet.iom
Normal file
BIN
games-puzzle/tanglet/additional-files/tanglet.iom
Normal file
Binary file not shown.
46
games-puzzle/tanglet/additional-files/tanglet.rdef.in
Normal file
46
games-puzzle/tanglet/additional-files/tanglet.rdef.in
Normal file
@@ -0,0 +1,46 @@
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Tanglet",
|
||||
long_info = "@LONG_INFO@"
|
||||
};
|
||||
|
||||
resource app_signature "@APP_SIGNATURE@";
|
||||
|
||||
resource vector_icon array {
|
||||
$"6E636966070400C0020106020000003E6127C033250000004A12CC48A6350000"
|
||||
$"73FFFF002B61020102020000003CC599BCC3E50000004A0F4448DCA4000073FF"
|
||||
$"FFFF0073FF5F02000202361E95B687F4383B3C37BCAF4883AD4B28F7000073FF"
|
||||
$"FFFF0073FF44030071FF01000001DC04FFDC070211C020B398C020B398BFB1B3"
|
||||
$"99BEE8B3ADBF47B39FBD8AB3E8BB05B506BC2FB46EB787B6D2B372BEB6B35FBB"
|
||||
$"52B372BEB6B373BEB5B373BEB5B374BED3B384BF21B37ABEF8B3A1BF90B43EC0"
|
||||
$"D4B3E0C025B4F8C234B7A6C5E1B62AC3FEB9EBC8C5BD80CBC4BC37CB0BBD80CB"
|
||||
$"C4BD80CBC4BD80CBC4BE67CC5CBF76CC1EBF30CC34C05FCBF4C4DFC887C265CA"
|
||||
$"A4C871C57BCC00C084CB9DC1E9CC01C086CC03C08ACC02C088CC9CBAE6C5B4B5"
|
||||
$"9FC685B639C431B45BC020B398C23FB398C020B398C020B398C020B398C020B3"
|
||||
$"980211C021B34CC021B34CBFB1B34DBEE6B362BF46B354BD83B39DBAF6B4BEBC"
|
||||
$"24B425B76EB690B34CBE8DB33ABB1EB34DBE8CB34EBE8BB34DBE8CB34FBEAAB3"
|
||||
$"5FBEF8B354BECFB37CBF69B41BC0B1B3BCBFFFB4D8C214B78DC5CDB60DC3E4B9"
|
||||
$"DAC8B9BD79CBC2BC2CCB07BD79CBC2BD79CBC2BD79CBC2BE63CC5CBF75CC1DBF"
|
||||
$"2ECC33C061CBF2C4EFC87BC26DCA9EC88CC565CC25C05FCBC1C1C9CC26C062CC"
|
||||
$"28C066CC27C064CCC3BAB1C5C6B559C69AB5F5C43FB411C021B34CC247B34CC0"
|
||||
$"21B34CC021B34CC021B34CC021B34C0608FF7FC8EEBC1FC8EEBC1FC8EEBF464C"
|
||||
$"C3C3C741C22FC1CEC556BBBAC3C3BE73C556B901C22FB753BC1FB753BF46B753"
|
||||
$"B8F8BBBAB47BB901B60EBE73B2E74CB47BC1CEB2E7C741B60EC8EEBC1FC8EEB8"
|
||||
$"F8C8EEBC1FBC1F0608FF3FBA46C44BBA46C44BBC37C6C3BE4DCAA8BDC0C930BE"
|
||||
$"DACC20BCF1CB6ABE55CC6ABB8DCA69B78DC5CDB97FC846B59CC355B385BF70B4"
|
||||
$"12C0E8B2F9BDF8B4E2BEAFB37DBDAEB646BFAFBA46C44BB854C1D3BA46C44BBA"
|
||||
$"460608FF7FCC27C057CC27C057CBEEC13DC8504ECA77C324C629C785C1B8CAF5"
|
||||
$"C3A6C9AABFCACC40BEF7CB98BEBDCC7EBF30CAB2C2CDC69BC0A7C8CBC4F4C46A"
|
||||
$"C966C0FAC778C245CB53BFAFCC27C057CC60BF71CC27C057C0570606BA034D56"
|
||||
$"554F5C55C9E1C6AECBDFC9775F5D595FCB61CBFEC60FCC564008084123553651"
|
||||
$"3C493539463240422E3D29070A000100000A010101000A020102000A03010300"
|
||||
$"0A040104000A050105000A06010600"
|
||||
};
|
||||
89
games-puzzle/tanglet/tanglet-1.6.5.recipe
Normal file
89
games-puzzle/tanglet/tanglet-1.6.5.recipe
Normal file
@@ -0,0 +1,89 @@
|
||||
SUMMARY="Single player word finding game"
|
||||
DESCRIPTION="Tanglet is a single player word finding game based on Boggle™. The object \
|
||||
of the game is to list as many words as you can before the time runs out. There are \
|
||||
several timer modes that determine how much time you start with, and if you get extra \
|
||||
time when you find a word.
|
||||
|
||||
You can join letters horizontally, vertically, or diagonally in any direction to make a \
|
||||
word, so as long as the letters are next to each other on the board. However, you can \
|
||||
not reuse the same letter cells in a single word. Also, each word must be at least three \
|
||||
letters on a normal board, and four letters on a large board.
|
||||
"
|
||||
HOMEPAGE="https://gottcode.org/tanglet/"
|
||||
COPYRIGHT="2009-2024 Graeme Gott"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gottcode.org/tanglet/tanglet-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="effdfdcf265436cc160d09c05f8712da416c00644e338817c13da8d0c6f1704b"
|
||||
SOURCE_DIR="tanglet-$portVersion"
|
||||
ADDITIONAL_FILES="tanglet.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
tanglet$secondaryArchSuffix = $portVersion
|
||||
app:Tanglet = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Gui$secondaryArchSuffix
|
||||
devel:libQt6UiTools$secondaryArchSuffix
|
||||
devel:libQt6Widgets$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:linguist6$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DCMAKE_INSTALL_BINDIR=$appsDir \
|
||||
-DCMAKE_INSTALL_DATADIR=$dataDir/Tanglet/ \
|
||||
-DCMAKE_INSTALL_MANDIR=$manDir
|
||||
|
||||
cmake --build build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cmake --install build
|
||||
mv $appsDir/tanglet $appsDir/Tanglet
|
||||
rm -rf $dataDir/Tanglet/{metainfo,icons,applications}
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.gottcode-tanglet"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/tanglet.rdef.in > $sourceDir/tanglet.rdef
|
||||
|
||||
addResourcesToBinaries $sourceDir/tanglet.rdef \
|
||||
$appsDir/Tanglet
|
||||
|
||||
mimeset -f $appsDir/Tanglet
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Tanglet
|
||||
}
|
||||
Reference in New Issue
Block a user