diff --git a/games-action/endless_sky/endless_sky-0.9.10.recipe b/games-action/endless_sky/endless_sky-0.9.12.recipe similarity index 67% rename from games-action/endless_sky/endless_sky-0.9.10.recipe rename to games-action/endless_sky/endless_sky-0.9.12.recipe index 1ab6b36ff..5f25ad9d6 100644 --- a/games-action/endless_sky/endless_sky-0.9.10.recipe +++ b/games-action/endless_sky/endless_sky-0.9.12.recipe @@ -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 } diff --git a/games-action/endless_sky/patches/endless_sky-0.9.10.patchset b/games-action/endless_sky/patches/endless_sky-0.9.12.patchset similarity index 100% rename from games-action/endless_sky/patches/endless_sky-0.9.10.patchset rename to games-action/endless_sky/patches/endless_sky-0.9.12.patchset