mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Gish: Bump git revision (#3280)
This commit is contained in:
@@ -1,19 +1,3 @@
|
||||
resource app_flags B_SINGLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = 0,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Gish",
|
||||
long_info = "@LONG_INFO@"
|
||||
};
|
||||
|
||||
resource app_signature "@APP_SIGNATURE@";
|
||||
|
||||
resource vector_icon array {
|
||||
$"6E636966060401810201160340DD6F4049E0BFD9AC4068F6481199482A140080"
|
||||
$"9F011E3D050001E8EB1FF00201060235A4C4B19C193265D8366B994862B74AFF"
|
||||
@@ -6,16 +6,16 @@ published by Chronic Logic in 2004. Cryptic Sea pledged Gish to go open source u
|
||||
HOMEPAGE="http://exlmoto.ru/gish-droid/"
|
||||
COPYRIGHT="2004-2017 Cryptic Sea, 2017-2018 EXL"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="bd5a8e455ff57e60d65262c0e913253b80cf211c"
|
||||
REVISION="2"
|
||||
srcGitRev="174dfc86886cf99a60bca33b7cad131f2de1a45f"
|
||||
SOURCE_URI="https://github.com/EXL/Gish/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="bf63177d8cb4bb11caa895671fad1d51a9954a815457f99807a0a0918f527ef7"
|
||||
CHECKSUM_SHA256="b7c7238aa0bf3b848334b884f0b5d4847f89fb21e2be27a1204e033f374cce7c"
|
||||
SOURCE_DIR="Gish-$srcGitRev"
|
||||
srcGitRev2="84dcd3b7a6ab656574ad98516b01638a89104722"
|
||||
srcGitRev2="f09db032d573880e7afbf9aa7b1cf7b811b3a7a5"
|
||||
SOURCE_URI_2="https://github.com/EXL/BeGameLauncher/archive/$srcGitRev2.tar.gz"
|
||||
CHECKSUM_SHA256_2="b64297feb633681474cf8d6ec9088f5eded1d4c92fa8932edb170bf49fd8703a"
|
||||
CHECKSUM_SHA256_2="7e2b74a308a34709fdd79f6e5ad979c77f519181a03c678990c7fb33c78191d4"
|
||||
SOURCE_DIR_2="BeGameLauncher-$srcGitRev2"
|
||||
ADDITIONAL_FILES="gish.rdef.in"
|
||||
ADDITIONAL_FILES="gish.rdef"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64 ?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -57,7 +57,7 @@ BUILD()
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DGLES=off \
|
||||
-DANDROID=off \
|
||||
-DCMAKE_C_FLAGS="-D__linux__ -DHAIKU_PACKAGE=1" \
|
||||
-DCMAKE_C_FLAGS="-D__linux__" \
|
||||
../gish/src/main/cpp
|
||||
make $jobArgs
|
||||
|
||||
@@ -72,22 +72,14 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
mkdir -p $appsDir/Gish
|
||||
mkdir -p $appsDir/Gish/engine
|
||||
|
||||
cp Release/Gish $appsDir/Gish/
|
||||
cp $sourceDir2/build/GishLauncher "$appsDir/Gish/Gish Launcher"
|
||||
cp Release/Gish $appsDir/Gish/engine/
|
||||
cp $sourceDir2/build/GishLauncher $appsDir/Gish/Gish
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.gish"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -c 1-1`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/gish.rdef.in > $sourceDir/gish.rdef
|
||||
settype -t application/x-vnd.Be-elfexecutable $appsDir/Gish/engine/Gish
|
||||
rc $portDir/additional-files/gish.rdef -o gish.rsrc
|
||||
resattr -o $appsDir/Gish/engine/Gish gish.rsrc
|
||||
|
||||
addResourcesToBinaries $sourceDir/gish.rdef "$appsDir/Gish/Gish"
|
||||
addAppDeskbarSymlink "$appsDir/Gish/Gish Launcher"
|
||||
addAppDeskbarSymlink $appsDir/Gish/Gish
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user