Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f2918d
commit 9c957b0
Showing
5 changed files
with
727 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
resource app_flags B_EXCLUSIVE_LAUNCH | B_ARGV_ONLY; | ||
|
||
resource app_version { | ||
major = @MAJOR@, | ||
middle = @MIDDLE@, | ||
minor = @MINOR@, | ||
|
||
variety = B_APPV_FINAL, | ||
internal = 0, | ||
|
||
short_info = "Bugdom", | ||
long_info = "@LONG_INFO@" | ||
}; | ||
|
||
resource app_signature "@APP_SIGNATURE@"; | ||
|
||
resource mini_icon array { | ||
$"FFFFFF08948E8E6E6E6D6EDEFFFFFFFF" | ||
$"FFFFFF95B41D1B74741717B6FFFFFFFF" | ||
$"FFFFFF011DFF1D1D1F1D1D15FFFFFFFF" | ||
$"FFFFFF111B7E1D1D1F1D1715FFFFFFFF" | ||
$"FFFFFF0E94027F1D1D00061504FFFFFF" | ||
$"FFFFFF1DDE007F1B150000150AFFFFFF" | ||
$"FFFFB61D7E331D1B1B0A00170CFFFFFF" | ||
$"FFFFB66F1B9349691D1D1B6FB6FFFFFF" | ||
$"FF26B64F684968496969696F7529FFFF" | ||
$"29297E6949696969696A9090B525FFFF" | ||
$"252695B6696969696F90B608DC2627FF" | ||
$"26DD7EDEB796706F909EDFDF94262529" | ||
$"2626947F3C043DDF0102047F94272625" | ||
$"27DD947FDE3CDE9E9EDEDEB594262626" | ||
$"DD94747395DD2902DE7F948E947FDD26" | ||
$"2222946E6E6EB5B6B56E6E7394222225" | ||
}; | ||
|
||
resource large_icon array { | ||
$"FFFFFFFFFFFFFFFF948F8E6E8E6E6E686E4D686D6D6EFFFFFFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFFFF086E6D6E6E4E6E6E6E4E686D486E4D8EFFFFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFFFF95B48F948E746E6D746D746E946E944EFFFFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFFFF8E19401D1D1B676E6E68671719178E94B6FFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFFFF191D1F1F1F1F1D40671F1F1F1D1F411506FFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF011F1F1F1F1F1F1F1D1D1F1F1F1F1F1D1B0CFFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF0C1F1F1D8E8E1D1F1F1D1F1F1D8E8D1B1915FFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF111F1B40677E941F1F1D1F1FB4746D176717FFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF0E1F8E4611027E191F1D1F1994DD8267DE17FFFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF1D1F94B506337F6E1D1D1D8E7F0006B57F1504FFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF1F1F7EDE00007FAE1D1B1F8E7F0000297E170AFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFFF1D1F94DE00025F8F1D1B1B157E00007FB5150AFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFFB61D1D947E338F931D1D1B1D1B730A00948E170CFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFF95681F8E937F738E1F1D1D1D1D8E6D7F9313686EFFFFFFFFFFFFFF" | ||
$"FFFFFFFFFF6E6F411BB593941F1F1F421D1D1D7E7E13196E6FB6FFFFFFFFFFFF" | ||
$"FFFFFFFFB66F6F6F1F1FFE624249496949496842FE1B416F6FB5FFFFFFFFFFFF" | ||
$"FFFFFFFFB66E4F49494949494968494349694949694969496F8FFFFFFFFFFFFF" | ||
$"FFFFFF26B44F69484968494249434949694849694969696F697529FFFFFFFFFF" | ||
$"FFFF2924D54F496948494969494943494963496969706F6F6F0C24FFFFFFFFFF" | ||
$"FF2924F57E6E694849494943694969496949696A8F908F908FB52526FFFFFFFF" | ||
$"28F4DC2694956F49496949494969496949696F6F90B690968FDCD52325FFFFFF" | ||
$"25DC24F59494B67569496949694969696F697090B0B6B6089EB42624D427FFFF" | ||
$"F425F4DD9495B5B69669496949696F496A6F90B0B6D7DFDE95B525D5242429FF" | ||
$"2526DDD4947E95DEB6B796906F70696A6F90B09ED7DFDEB6B594D526F4252529" | ||
$"2626267F94947FB6DE3CD7B7B6B6909690B63DD73D04B67F94B4DC2726DD2526" | ||
$"DD2626B494949495DEB6DE043DD7DFB6DF01D702B6DE7FB49494D5DD2626F425" | ||
$"2626DD949494947FB5DEB63C069EB7D7B6969EB6DEB6B59594947E2626262625" | ||
$"DD27DD9494736E9495B5DEB6DEB79E969EB6DE069EB59473949494B5DD26DD25" | ||
$"DDDD9494748D736E949595DDB629D7DED7DEB67F8F946E8E7494947FDDD52625" | ||
$"D5DC9494736E6D6D6E6D6E95B5B6DE027FB6B56E946E8E6E6D949494DCDDDD25" | ||
$"22BFF4946E736D6D676E6E6E6EB5B5B6B5956E6E6E6E6D738E74B422F3BF2325" | ||
$"D32222D494736E6D6E4E674E8E6E95958F6E6E6E6E6E6E8E7494D322BF22BED3" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
SUMMARY="Vintage 3D bug-themed action/adventure game" | ||
DESCRIPTION="This is Pangea Software's Bugdom updated to run on modern operating systems. \ | ||
Bugdom is an incredibly diverse 3D action/adventure game which is suitable for all ages. \ | ||
It features over 23 different bugs and enemies, 10 huge exciting levels, the ability to swim, \ | ||
jump, ride bugs, swing on ropes, and go into bee hives and ant hills, along with an incredible \ | ||
CD-quality soundtrack!" | ||
HOMEPAGE="https://pangeasoft.net/bug" | ||
COPYRIGHT="1999 Pangea Software, Inc. | ||
1999 Toucan Studio, Inc. | ||
1999 Mike Beckett | ||
2020 Iliyas Jorio" | ||
LICENSE="CC-BY-NC-SA-4.0" | ||
REVISION="1" | ||
|
||
SOURCE_URI="https://github.com/jorio/Bugdom/archive/refs/tags/$portVersion.tar.gz" | ||
CHECKSUM_SHA256="64f266f7f749d9346b1202fdd191a0e445f6bb90372e32c7250b4fb679150523" | ||
SOURCE_DIR="Bugdom-$portVersion" | ||
PATCHES="bugdom-$portVersion.patchset" | ||
srcGitRev2="b9ddab06cdc0b9e4a8085e50974213b6c9625436" | ||
SOURCE_URI_2="https://github.com/jorio/Pomme/archive/$srcGitRev2.tar.gz" | ||
CHECKSUM_SHA256_2="96be755cbbcc2f4a3677dd4388599bad4b5cc771a55d927bb8ebe646d7142b52" | ||
SOURCE_FILENAME_2="Pomme-$srcGitRev2.tar.gz" | ||
SOURCE_DIR_2="Pomme-$srcGitRev2" | ||
PATCHES_2="bugdom-$portVersion-source2.patchset" | ||
ADDITIONAL_FILES="bugdom.rdef.in" | ||
|
||
ARCHITECTURES="all !x86_gcc2" | ||
SECONDARY_ARCHITECTURES="x86" | ||
|
||
PROVIDES=" | ||
bugdom$secondaryArchSuffix = $portVersion | ||
app:Bugdom = $portVersion | ||
" | ||
REQUIRES=" | ||
haiku$secondaryArchSuffix | ||
lib:libgl$secondaryArchSuffix | ||
lib:libsdl2_2.0$secondaryArchSuffix | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
haiku${secondaryArchSuffix}_devel | ||
devel:libgl$secondaryArchSuffix | ||
devel:libsdl2_2.0$secondaryArchSuffix | ||
" | ||
BUILD_PREREQUIRES=" | ||
cmd:cmake | ||
cmd:gcc$secondaryArchSuffix | ||
cmd:make | ||
" | ||
|
||
BUILD() | ||
{ | ||
# submodule | ||
rm -rf extern/Pomme | ||
ln -s $sourceDir2 extern/Pomme | ||
# building | ||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | ||
cd build | ||
make $jobArgs | ||
} | ||
|
||
INSTALL() | ||
{ | ||
# create app folder and move data there | ||
mkdir -p $appsDir/Bugdom | ||
cp -ra Data $appsDir/Bugdom | ||
cp -a build/Bugdom $appsDir/Bugdom | ||
# put docs in right place | ||
mkdir -p $docDir | ||
cp -a docs/* $docDir | ||
|
||
local APP_SIGNATURE="application/x-vnd.bugdom" | ||
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/bugdom.rdef.in > $sourceDir/bugdom.rdef | ||
|
||
addResourcesToBinaries $sourceDir/bugdom.rdef $appsDir/Bugdom/Bugdom | ||
|
||
addAppDeskbarSymlink $appsDir/Bugdom/Bugdom | ||
} |
Oops, something went wrong.