mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
Dunelegacy: update to 0.99.5 (#13324)
This commit is contained in:
@@ -7,13 +7,13 @@ multiple units.
|
||||
|
||||
In order to be used, Dune Legacy expects the Dune II data to be in: \
|
||||
'/boot/home/config/settings/dunelegacy/data'"
|
||||
HOMEPAGE="https://dunelegacy.sourceforge.net/website/"
|
||||
HOMEPAGE="https://dunelegacy.com/"
|
||||
COPYRIGHT="2016-2025 Dune Legacy"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev=3728de2e0c312816759082c1f685e885c757879a
|
||||
srcGitRev=ddcdfd49c775250b9e748a65aeda299f8bd1927f
|
||||
SOURCE_URI="https://github.com/Peppersawce/dunelegacyfork-2022/archive/$srcGitRev.zip"
|
||||
CHECKSUM_SHA256="276269b0ca947767d278d2a8ba9c85b926b6c30cda5c407524c48c530782d5cc"
|
||||
CHECKSUM_SHA256="7093f01586728a8cb11e3ea2d9fbcee625d5654e174bbc10f380129b945cbefd"
|
||||
SOURCE_DIR="dunelegacyfork-2022-$srcGitRev/"
|
||||
ADDITIONAL_FILES="dunelegacy.rdef.in"
|
||||
|
||||
@@ -26,6 +26,9 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
lib:libminiupnpc$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
@@ -33,6 +36,9 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
devel:libminiupnpc$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
@@ -48,7 +54,7 @@ BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-lbsd -lnetwork"
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-lbsd -lnetwork -lSDL2_mixer -lSDL2_ttf -lexecinfo -lminiupnpc"
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
@@ -71,6 +77,9 @@ INSTALL()
|
||||
$portDir/additional-files/dunelegacy.rdef.in > dunelegacy.rdef
|
||||
|
||||
addResourcesToBinaries dunelegacy.rdef $prefix/bin/dunelegacy
|
||||
mkdir -p $appsDir && ln -s $prefix/bin/dunelegacy $appsDir/DuneLegacy
|
||||
addAppDeskbarSymlink $prefix/bin/dunelegacy "Dune Legacy"
|
||||
|
||||
# Make the app name uppercase then link it back in lowercase for cmd
|
||||
mkdir -p $appsDir && mv $prefix/bin/dunelegacy $appsDir/"Dune Legacy"
|
||||
ln -s $appsDir/"Dune Legacy" $prefix/bin/dunelegacy
|
||||
addAppDeskbarSymlink $appsDir/"Dune Legacy"
|
||||
}
|
||||
Reference in New Issue
Block a user