mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Endless Sky: bump version, add icon
This commit is contained in:
@@ -9,14 +9,15 @@ is more civilized than your own."
|
||||
HOMEPAGE="http://endless-sky.github.io/"
|
||||
COPYRIGHT="Michael Zahniser"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/endless-sky/endless-sky/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="58f2e405e171be8426004216df4df7bb3a2792a507a5d01f77a0f02346332f6f"
|
||||
CHECKSUM_SHA256="31f76ac11666415478678d924174d43a620a7fd1093e95131776aed12b912eb4"
|
||||
SOURCE_DIR="endless-sky-$portVersion"
|
||||
PATCHES="endless_sky-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="endless-sky.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 !x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
endless_sky$secondaryArchSuffix = $portVersion
|
||||
@@ -37,7 +38,7 @@ REQUIRES="
|
||||
BUILD_REQUIRES="
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libglew$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix >= 62
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libmad$secondaryArchSuffix
|
||||
devel:libopenal$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
@@ -59,5 +60,21 @@ INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/EndlessSky
|
||||
cp -r endless-sky credits.txt data images sounds $appsDir/EndlessSky/
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.endless-sky"
|
||||
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/endless-sky.rdef.in > $sourceDir/endless-sky.rdef
|
||||
|
||||
addResourcesToBinaries $sourceDir/endless-sky.rdef \
|
||||
$appsDir/EndlessSky/endless-sky
|
||||
addAppDeskbarSymlink $appsDir/EndlessSky/endless-sky EndlessSky
|
||||
}
|
||||
Reference in New Issue
Block a user