From c4bf54dcf5d6ce68622a493fa51c35c3f3fc215a Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Sun, 9 Sep 2018 08:59:10 +0200 Subject: [games-simulation/kerbal-space-program] Version bump --- games-simulation/kerbal-space-program/Manifest | 14 +-- .../kerbal-space-program-1.3.1.1891.ebuild | 92 ------------------- .../kerbal-space-program-1.4.5.02243.ebuild | 100 +++++++++++++++++++++ 3 files changed, 109 insertions(+), 97 deletions(-) delete mode 100644 games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild create mode 100644 games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild (limited to 'games-simulation') diff --git a/games-simulation/kerbal-space-program/Manifest b/games-simulation/kerbal-space-program/Manifest index bd4775e..e1df591 100644 --- a/games-simulation/kerbal-space-program/Manifest +++ b/games-simulation/kerbal-space-program/Manifest @@ -1,5 +1,9 @@ -DIST kerbal_space_program_en_1_3_1_15547.sh 754426964 SHA256 46fd58a6e7a58e747aed2a35cd33928b18cd67ea057213aa26f3d4eee1b38c96 SHA512 2375f815d3c9bf34d6b657a785950b833fb88a7bcbce883f4647cf2c198ad27ca5ba7bf914f6ef29010c9d49c1b3902f551550a8df1a16d6127a2db63574f4ca WHIRLPOOL e4bd6bd06f3b9d68015ddf10dddf297a6aa1ab45c478cfe7f1a36b4ea80ae529a0b6480b74454193354304f86ce0cf270030bdf564feb7bccacf1bd126b90d58 -DIST kerbal_space_program_es_1_3_1_15547.sh 753825696 SHA256 831a0710c98a01680b446c9bee257b28895609081ae3fa1881b880bbb068e1fa SHA512 addd05bacda972bfb6797aae2ac7be21fe4cf2e129d82177b7f0b5b48b4a7160b5e18f31009bd83a7358f39c29ea81ea3963b53b9e9ce735d76b3a12a14c0a96 WHIRLPOOL 60b31e13c280fd6f73b69485ba089a72d77d7217b035a930eda140f3be9a7b3d1faa31ffb16183a45d2057a106b1cc88764cb2ba25a61687c6d495eae0c2a893 -DIST kerbal_space_program_ja_1_3_1_15547.sh 806999189 SHA256 b62a634060e25e3a76dc3a25f37538290009b0c4f7b65e8da305cf44d0d6c0c3 SHA512 3e60497078c9503947dffabc289992230065e79d7bae02e05b1ad2f5c1ae913bfed95514a9e57fb5dcf3eea32261430693524cb0053bae7cf28fd7cc67f21319 WHIRLPOOL 5f4a334684b7ca309c4e39f1574b62b21924a96ba777bf3c5dcd685366e5987305ab40e9d05c104c71e571d5e4495674e71489f47506c00b71c8f7db9247d967 -DIST kerbal_space_program_ru_1_3_1_15547.sh 749119356 SHA256 e4d771bc094809df05479dfff391e7bba12f465ec52352404ad189b00824e6d9 SHA512 c4515eddda01108816acbbd966908dd07c5fdd5ec7d2451d6f9479c08981736a70853306afad1cb3efc748aff963ad30432e612da1346bfa4912f5ee1f9bd5d4 WHIRLPOOL 640154459bef90b05367778be2676eed026f45ba2306e0924a7af1485bdd6422b759bd07c533627a2d7ff8833c9331e319079510076aa97248073ce2dff4da28 -DIST kerbal_space_program_zh_1_3_1_15547.sh 826631831 SHA256 6bccf614bab1a6e9abbe7ed071e41bcf0eaccabc8a113f5da1f9d6243fa693c2 SHA512 4defae1bad761e8428e533161777288d9e782441ee4435de56a0456a68fb7b4f5a2d8faedb52cceb6f46b78cad8f80e187f27900a66e5e3586f5e2378726bfb2 WHIRLPOOL 5304b8bf21f055d2af762a1dcf9209a34af292b0a4a35102d33ff52826e9d78d5a71868566b0a4b1cd39b1850af074e92f9aaf67b35d614882a6f3bcc97d1053 +DIST kerbal_space_program_de_1_4_5_02243_22594.sh 1001550902 SHA256 0689121d4b6474f37a59889909fb4a430baebce4afa45d5d6b822c78e552d169 SHA512 d756a6f38bdaa602e73c23d5792976c504a8dca768a00d6734ff12f219bd7bf23ef00460359d0dfbf28a05b328377df8dac7aca0ba91901182f13c05d982d5ee WHIRLPOOL 31b2cbef8162dae8a1c7a6087d9a9aef23957ce8ededd3a674328662acf8751061f13c7faaa1871b23becd56d07ed00ca94a0a228084b2ce4c732f69142c9551 +DIST kerbal_space_program_en_1_4_5_02243_22594.sh 923509794 SHA256 b7c112c25b7365e5f9448c802267d05b8d630dc650ff87bae1cba89ac929d3a8 SHA512 ddf8a0174472530c13f59b6c564285b4f8a455c0e728f8777fc75d32c03839313f7c03f5e4a933e9efba4b8f3cd7b428ee0baa40d6d6240720dbe0cc2902b3e8 WHIRLPOOL fb8e3415f5e4e7afdb66a40e7fc46ca69041518228dc43290ac44a626c3f75a8e2ab377961e3f16c7afbd15ae973cf8b6ab61cb7a1177ea5c1f59c5d32174d6e +DIST kerbal_space_program_es_1_4_5_02243_22594.sh 918684741 SHA256 f16c0bf7ca058e32e86f51dfd6f0a52cf93d78100d0c6c0cd1ef267e05ee1435 SHA512 bf8735348c919ab76da8e51bfe6bf20460ffb187716134f97d3ab9b470ec31a0835f134f68ed82dd9d0ea80f16b5aefa2225082f89a9356d5a581b6ce1e54f3c WHIRLPOOL a486d0ae6cb2bb00d7e15a0b1b5f73b6b55c7cc469c94ec58204006df1bc0e8ee2c54e5b8800de48d35ef31d1177072bd4ac17e661a4c53699c76ba39c80c72c +DIST kerbal_space_program_fr_1_4_5_02243_22594.sh 1006713655 SHA256 b1245490532d768618aa50d15606fabdd8ab8b1d491064e8f1dc40db01371997 SHA512 651e16fbea8f65a8c4af272c5dcebe621ac74a14666a2299882471c60f70b2235dc97448436a29951637647a1805b18fc8a062853b7e90af61b47ab88b7232c2 WHIRLPOOL 6d0dcd893a0872932532f112484cc85021add65adc94f6fec43a99e14f63ee2d78dfed809a2f186344cd23383335b7dd90182cec0408f27ee61937964de219ad +DIST kerbal_space_program_it_1_4_5_02243_22594.sh 1005985727 SHA256 da281a633b742cc0dd4bbb6e7f1123bbe5a158ddab0c7e852404312b5dd97882 SHA512 935858826cba14d21106c5b06f7684528cdeeda47a474bab1625243c6bed86cd818d83ffb737d3af31487e690e025791f76f65ab11bf03046b2f648158e3f0af WHIRLPOOL 28a6c693f35104e68fc45b99045f9d52366a6733d15929c557c96352ea76ff3241aec892e230ad3553dc7e5bb65692fa3691638e2a3db0990befc82422c5ca97 +DIST kerbal_space_program_ja_1_4_5_02243_22594.sh 1007578361 SHA256 28b252096627870cd438a12d2925884bf302a5b35dc6e5c7301cb88036eb0ee5 SHA512 0c701303b655bceb4cf49e60a0efddcc5b0961227b3b7613d3f834d75b35034745def6ef46b39d694daa621475febcb28103379c834199626334a74872c71c59 WHIRLPOOL d30f1a4bbceb872bedf0f362b668df82482c85185a3054131b5193d51d1d9c54086e171766bd8c013076574fe7ee4eb7e916c0104c0e978908ae57f6270f5cf6 +DIST kerbal_space_program_pt_1_4_5_02243_22594.sh 975851404 SHA256 fd7193edc51af3ed9a7e9539be432be19701d3741beacbc99d578764c08efd02 SHA512 7aa99fa9cb365e86f469a885f6c59790de46e019f1925054b23c262d50ab05d5df377e48aa05da06057b29430ca86afe5aac4d2df60ceb400e9edfd2e0042616 WHIRLPOOL 87ecc13f903ead376edf53e1cc8d3e994722d5d4c17b4aa5767afee1acab6f941a3b76bdef6441d872438f4c071b97daa4c3ffe8c43a26907f7314fb9df0c6cf +DIST kerbal_space_program_ru_1_4_5_02243_22594.sh 920112852 SHA256 1e6f6abac3cfc4afc10b2afa58b4347b8e06680feb51a27db4c6f4963f696938 SHA512 7c12ca917b0d73688015e1206ecbd31ae415678df98b8409225eb7ea0b3d86bf2929e247f1eb6f0b32917626ff26e8babdd33ba337213ce72b7bc1cb2ccf0fb2 WHIRLPOOL da34fe19cf4d9b2855706d4b9f005e3dda24854fffe5c1bcdcbcabc2db162c298161a024f3213b7941dced14bb27338302062cf9c48bcb606d208d4b197faeaa +DIST kerbal_space_program_zh_1_4_5_02243_22594.sh 1027277354 SHA256 5369fd2a2f39c1ec1e603a807994de43ffc6252df6fb430e67facf2a315c661d SHA512 c47a17d2dc2f5377d97ba54a58177cbc6bc52178940fa90ff16b0189fcafa977b070abadc9b1578981400c3ec68e4d2b33d707301f0214ed7cc32b4ccb208fe7 WHIRLPOOL 2e16ebd689488eb40d0d88dbed6af8f48b991c0cb61462f88b02f35e94dbcca02b8b86d30fff78651998c13e0bc5f5eecb55762bd0c406b74ff88ac980700f8a diff --git a/games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild b/games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild deleted file mode 100644 index 8bcfab3..0000000 --- a/games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="A space flight simulation" -HOMEPAGE="http://kerbalspaceprogram.com/" - -GOG_MAGIC="1_3_1_15547" - -SRC_PH="${PN//-/_}@PH@_${GOG_MAGIC}.sh" -SRC_URI=" - l10n_en? ( ${SRC_PH//@PH@/_en} ) - l10n_es? ( ${SRC_PH//@PH@/_es} ) - l10n_ja? ( ${SRC_PH//@PH@/_ja} ) - l10n_ru? ( ${SRC_PH//@PH@/_ru} ) - l10n_zh-CN? ( ${SRC_PH//@PH@/_zh} ) -" - -RESTRICT="fetch strip" -LICENSE="EULA" - -SLOT="0" -KEYWORDS="amd64 x86" - -L10NS="l10n_en l10n_es l10n_ja l10n_ru l10n_zh-CN" -IUSE="${L10NS}" -REQUIRED_USE="^^ ( ${L10NS} )" - -DEPEND="app-arch/unzip" -RDEPEND=" - dev-libs/glib:2 - media-libs/mesa - sys-libs/glibc:2.2 - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXrandr -" -QA_DIR="usr/share/${PF}" -QA_PREBUILT="${QA_DIR}/Launcher.x86 ${QA_DIR}/KSP.x86 ${QA_DIR}/Launcher_Data/Mono/x86/libmono.so ${QA_DIR}/KSP_Data/Mono/x86/libmono.so" - -pkg_nofetch() { - einfo "" - einfo "Please buy and download \"${A}\" from corresponding shop (HumbleBundle or GOG)" - einfo "and move/link it to \"${DISTDIR}\"" - einfo "You can get more info on ${HOMEPAGE}" - einfo "" -} - -src_unpack() { - local tmp="${WORKDIR}/tmp" - einfo "\nUnpacking files. This can take several minutes.\n" - - mkdir "${tmp}" || die "mkdir 'tmp' failed" - cd "${tmp}" || die "cd 'tmp' failed" - - unzip -q "${DISTDIR}/${A}" - local gpath="data/noarch/game" - - mv "${gpath}" "${S}" - - cd "${S}" - - use l10n_es && unzip -oq KSP-LANG-ES-ES.zip && rm KSP-LANG-ES-ES.zip - use l10n_ja && unzip -oq KSP-LANG-JA.zip && rm KSP-LANG-JA.zip - use l10n_ru && unzip -oq KSP-LANG-RU.zip && rm KSP-LANG-RU.zip - use l10n_zh-CN && unzip -oq KSP-LANG-ZH-CN.zip && rm KSP-LANG-ZH-CN.zip - - rm -r "${WORKDIR}/tmp" - - find . -name .DS_Store -delete - - sed -e "s@__PV__@${PV}@" "${FILESDIR}/ksp-wrapper" > "${T}"/ksp-wrapper -} - -src_install() { - local arch="${ARCH//amd/x86_}" - local dir="/usr/share/${PF}" - insinto "${dir}" - exeinto "${dir}" - - doins -r . - doexe {KSP,Launcher}.x86{,_64} || die "Failed to install executables" - - newbin "${T}/ksp-wrapper" "${PN}" - newicon "Launcher_Data/Resources/UnityPlayer.png" "${PN}.png" - make_desktop_entry "${PN}" "Kerbal Space Program" "${PN}" || die "make_desktop_entry failed" -} diff --git a/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild b/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild new file mode 100644 index 0000000..e61c442 --- /dev/null +++ b/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="A space flight simulation" +HOMEPAGE="http://kerbalspaceprogram.com/" + +GOG_MAGIC="22594" + +SRC_PH="${PN//-/_}@PH@_${PV//./_}_${GOG_MAGIC}.sh" +SRC_URI=" + l10n_de? ( ${SRC_PH//@PH@/_de} ) + l10n_en? ( ${SRC_PH//@PH@/_en} ) + l10n_es? ( ${SRC_PH//@PH@/_es} ) + l10n_fr? ( ${SRC_PH//@PH@/_fr} ) + l10n_it? ( ${SRC_PH//@PH@/_it} ) + l10n_ja? ( ${SRC_PH//@PH@/_ja} ) + l10n_pt-BR? ( ${SRC_PH//@PH@/_pt} ) + l10n_ru? ( ${SRC_PH//@PH@/_ru} ) + l10n_zh-CN? ( ${SRC_PH//@PH@/_zh} ) +" + +RESTRICT="fetch strip" +LICENSE="EULA" + +SLOT="0" +KEYWORDS="amd64 x86" + +L10NS="l10n_de l10n_en l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN" +IUSE="${L10NS}" +REQUIRED_USE="^^ ( ${L10NS} )" + +DEPEND="app-arch/unzip" +RDEPEND=" + dev-libs/glib:2 + media-libs/mesa + sys-libs/glibc:2.2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr +" +QA_DIR="usr/share/${PF}" +QA_PREBUILT="${QA_DIR}/Launcher.x86 ${QA_DIR}/KSP.x86 ${QA_DIR}/Launcher_Data/Mono/x86/libmono.so ${QA_DIR}/KSP_Data/Mono/x86/libmono.so" + +pkg_nofetch() { + einfo "" + einfo "Please buy and download \"${A}\" from corresponding shop (HumbleBundle or GOG)" + einfo "and move/link it to \"${DISTDIR}\"" + einfo "You can get more info on ${HOMEPAGE}" + einfo "" +} + +src_unpack() { + local tmp="${WORKDIR}/tmp" + einfo "\nUnpacking files. This can take several minutes.\n" + + mkdir "${tmp}" || die "mkdir 'tmp' failed" + cd "${tmp}" || die "cd 'tmp' failed" + + unzip -q "${DISTDIR}/${A}" + local gpath="data/noarch/game" + + mv "${gpath}" "${S}" + + cd "${S}" + + use l10n_de && unzip -oq ksp-lang-de-de.zip && rm ksp-lang-de-de.zip + use l10n_es && unzip -oq ksp-lang-es-es.zip && rm ksp-lang-es-es.zip + use l10n_fr && unzip -oq ksp-lang-fr-fr.zip && rm ksp-lang-fr-fr.zip + use l10n_it && unzip -oq ksp-lang-it-it.zip && rm ksp-lang-it-it.zip + use l10n_ja && unzip -oq ksp-lang-ja.zip && rm ksp-lang-ja.zip + use l10n_pt-BR && unzip -oq ksp-lang-pt-br.zip && rm ksp-lang-pt-br.zip + use l10n_ru && unzip -oq ksp-lang-ru.zip && rm ksp-lang-ru.zip + use l10n_zh-CN && unzip -oq ksp-lang-zh-cn.zip && rm ksp-lang-zh-cn.zip + + rm -r "${WORKDIR}/tmp" + + find . -name .DS_Store -delete + + sed -e "s@__PV__@${PV}@" "${FILESDIR}/ksp-wrapper" > "${T}"/ksp-wrapper +} + +src_install() { + local arch="${ARCH//amd/x86_}" + local dir="/usr/share/${PF}" + insinto "${dir}" + exeinto "${dir}" + + doins -r . + doexe {KSP,Launcher}.x86{,_64} || die "Failed to install executables" + + newbin "${T}/ksp-wrapper" "${PN}" + newicon "Launcher_Data/Resources/UnityPlayer.png" "${PN}.png" + make_desktop_entry "${PN}" "Kerbal Space Program" "${PN}" || die "make_desktop_entry failed" +} -- cgit v1.2.3-65-gdbad