54321: fine tunning. (#8649)

- Fix black-screen when starting up from Deskbar link.
- Simplified directory structure a bit.
- Enable build on 64 bits.
This commit is contained in:
OscarL
2023-05-16 06:33:57 -03:00
committed by GitHub
parent f46b07de04
commit 85ede669ec
2 changed files with 31 additions and 20 deletions

View File

@@ -5,20 +5,20 @@ extends them into three and four dimensions."
HOMEPAGE="https://old.nklein.com/products/54321/"
COPYRIGHT="2001 Patrick Stein"
LICENSE="nklein"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/1.0.2001.11.16/54321.tgz"
CHECKSUM_SHA256="ff2bd7afec6d85d29fcf235875285520a4aa5b009c6a0dd7a56619821d79fddb"
SOURCE_DIR="54321"
PATCHES="54321-$portVersion.patchset"
ARCHITECTURES="?all x86_gcc2"
ARCHITECTURES="all"
PROVIDES="
54321 = $portVersion
app:54321 = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
haiku
lib:libpng16
lib:libSDL_1.2
lib:libSDL_image_1.2
@@ -26,7 +26,7 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
devel:libpng16
devel:libSDL_1.2
devel:libSDL_image_1.2
@@ -37,6 +37,12 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
# Patch "data" dir location.
sed -i 's|../../data|./data|g' code/*
}
BUILD()
{
make -f GNUmakefile ARCH=BeOS
@@ -45,7 +51,9 @@ BUILD()
INSTALL()
{
mkdir -p $appsDir/54321
cp -R Release/* $appsDir/54321
cp -R Release/data $appsDir/54321
cp Release/bin/BeOS/54321 $appsDir/54321
cp Release/README $appsDir/54321
addAppDeskbarSymlink $appsDir/54321/bin/BeOS/54321
addAppDeskbarSymlink $appsDir/54321/54321
}