From 77b275a53383b07b154caa09feb6f4961b206638 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 May 2024 00:02:16 +0100 Subject: gentoo auto-resync : 20:05:2024 - 00:02:15 --- games-rpg/Manifest.gz | Bin 8306 -> 8308 bytes games-rpg/costume-quest/Manifest | 2 +- .../costume-quest/costume-quest-2.0.0.3-r1.ebuild | 57 +++++++++++++++ .../costume-quest/costume-quest-2.0.0.3.ebuild | 61 ---------------- games-rpg/to-the-moon/Manifest | 2 +- games-rpg/to-the-moon/to-the-moon-0-r1.ebuild | 79 -------------------- games-rpg/to-the-moon/to-the-moon-0-r2.ebuild | 80 +++++++++++++++++++++ 7 files changed, 139 insertions(+), 142 deletions(-) create mode 100644 games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild delete mode 100644 games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild delete mode 100644 games-rpg/to-the-moon/to-the-moon-0-r1.ebuild create mode 100644 games-rpg/to-the-moon/to-the-moon-0-r2.ebuild (limited to 'games-rpg') diff --git a/games-rpg/Manifest.gz b/games-rpg/Manifest.gz index 5e80a9d362de..1c91babb42e1 100644 Binary files a/games-rpg/Manifest.gz and b/games-rpg/Manifest.gz differ diff --git a/games-rpg/costume-quest/Manifest b/games-rpg/costume-quest/Manifest index a32944f88159..513465fef361 100644 --- a/games-rpg/costume-quest/Manifest +++ b/games-rpg/costume-quest/Manifest @@ -1,3 +1,3 @@ DIST gog_costume_quest_2.0.0.3.sh 565855108 BLAKE2B 779d0b0b408921589bb78256cf1b69b912a57143472e3f2d7b6aebf95c07fcd8b86831234519a0c7a30b15c645668d81c0c7502d058465caa337f76ad0311cdf SHA512 9e7ab258b860ec6ee5bef3aab1e745d3dfa02defd6011d195925b50c7a0fd068f4e9e7d483734ad002bcc8353a436a349d9246d947c863b2e3d63e17c41acd71 -EBUILD costume-quest-2.0.0.3.ebuild 1340 BLAKE2B 937df4503a3a382d3c07ca35d51eff59f3390243e0439c6852950cd052d12298ba5c22a7f0a52a8c07f7ab7d68dda060e2e1254c7d4c4a21c05f8bdf9d7bc01f SHA512 61c6bc50a2e1da978bba93795802ac88b00e157d6824389318162875cf9e26128eb374a487c7dbc45c13cba183309a6098e85679fb9a071a702b582e0e92a81f +EBUILD costume-quest-2.0.0.3-r1.ebuild 1260 BLAKE2B 2e2e97d668183c83195a34cd11c39625f0dd92955c2b44519933c18e52dba4c0e1e08ce57985fdb4f1c44b34700d0a6a010312c631373afb812355f275139b9d SHA512 484f3bf67da1ae68d7acc2c2edcbc5da90c654f46600e4443dc0f30a2576b9fd2fd5964f32ec21bef0f4b5d6473b290dcc31cddf80d9edef84810e565c46b51b MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 diff --git a/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild b/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild new file mode 100644 index 000000000000..021bee51a35f --- /dev/null +++ b/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="A Halloween adventure from Tim Schafer's Double Fine Productions" +HOMEPAGE="https://www.doublefine.com" +SRC_URI="gog_${PN//-/_}_${PV}.sh" +S="${WORKDIR}/data/noarch/game" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + media-libs/glu[abi_x86_32] + media-libs/libglvnd[abi_x86_32,X] + media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads(+),video] + sys-libs/zlib[abi_x86_32] +" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.gog.com/game/${PN//-/_}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_prepare() { + default + + # I think our SDL2 package has a newer database. + rm -v Data/Config/SDLGamepad.config || die +} + +src_install() { + exeinto "${DIR}" + newexe Cq.bin.x86 Cq.bin + dosym "${DIR}"/Cq.bin /usr/bin/${PN} + + insinto "${DIR}" + doins -r DFCONFIG Data/ Linux/ OGL/ Win/ + + exeinto "${DIR}/lib" + doexe lib/libfmod*.so + + newicon -s 256 CostumeQuest.png ${PN}.png + make_desktop_entry ${PN} "Costume Quest" +} diff --git a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild deleted file mode 100644 index e6e61a06ac24..000000000000 --- a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker xdg-utils - -DESCRIPTION="A Halloween adventure from Tim Schafer's Double Fine Productions" -HOMEPAGE="https://www.doublefine.com" -SRC_URI="gog_${PN//-/_}_${PV}.sh" -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch splitdebug" - -RDEPEND=" - media-libs/glu[abi_x86_32] - media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video] - sys-libs/zlib[abi_x86_32] - virtual/opengl[abi_x86_32] -" - -S="${WORKDIR}/data/noarch/game" - -DIR="/opt/${PN}" -QA_PREBUILT="${DIR}/*" - -pkg_nofetch() { - einfo "Please buy and download ${SRC_URI} from:" - einfo " https://www.gog.com/game/${PN//-/_}" - einfo "and move it to your distfiles directory." -} - -src_unpack() { - unpack_zip ${A} -} - -src_prepare() { - default - - # I think our SDL2 package has a newer database. - rm -v Data/Config/SDLGamepad.config || die -} - -src_install() { - exeinto "${DIR}" - newexe Cq.bin.x86 Cq.bin - dosym "${DIR}"/Cq.bin /usr/bin/${PN} - - insinto "${DIR}" - doins -r DFCONFIG Data/ Linux/ OGL/ Win/ - - exeinto "${DIR}/lib" - doexe lib/libfmod*.so - - newicon -s 256 CostumeQuest.png ${PN}.png - make_desktop_entry ${PN} "Costume Quest" -} - -pkg_postinst() { xdg_icon_cache_update; } -pkg_postrm() { xdg_icon_cache_update; } diff --git a/games-rpg/to-the-moon/Manifest b/games-rpg/to-the-moon/Manifest index adc4c56b3378..b109ffacc5d2 100644 --- a/games-rpg/to-the-moon/Manifest +++ b/games-rpg/to-the-moon/Manifest @@ -1,3 +1,3 @@ DIST ToTheMoon_linux_1389114090.sh 75823678 BLAKE2B de63a8c5eff7d99f5af4fbc85c8e416c7bd7a07fad03dfb0424bf43f410bdbc9a0d064c8892dbb6c9fdc637391f2b2ef6ef40c72c501790ffec0aac8448add21 SHA512 bed844f143ef9c3ff8fe93da186422e84d259229874c331315d8f1c7538fd6c417d6ca1aeecbe6c2a664fad98aff51f4723227d0ef07612acf29f86313f9aa1a -EBUILD to-the-moon-0-r1.ebuild 2086 BLAKE2B ef51a06df67dc50c32d9a4f17951e8482f298d845c55bd610bb94e56633c152422e5f1a7b0ed6f871dcb0819f418e084be3b38a1e5dc460f1615168bb988924e SHA512 9b7c0b2469873364e68db5b79928a2cde99354f145c59578381edbe5ca88935f32b4b7ee78338480c59696b00794f6fc0a98e744256f7d11cdd0882a7d999d12 +EBUILD to-the-moon-0-r2.ebuild 2125 BLAKE2B 22c326f0ca234b0dc94906cade4d4326b703fe9fca461b23bbb977ad6a7a844359d76297683ec6a43a34df5fee9778396e2d8071c024fe1998cc38be4d730686 SHA512 4cb59edd9bff152f016b6971b6b6df49e158d5ef4d8bba92ffefc18ece133caa5def535d0488a3826d23b25e2d47738aecc7485ec4699a2484aaebcd8635bc8d MISC metadata.xml 326 BLAKE2B e2d9633163ec804ba006b332269227b8484525b10a306ccb7f6debcf5cb519fdba2cb938aaeccb3032a94403c0cd01710af8a89a68d058aa707cb48b0d997d84 SHA512 52c2b84ca7216bd16c93aead015e91743577585c4d3739d1840d0f5518ff5b7b5e27818fcee2bfa8dee979c9e9736cd3c032178c3f44253e8a7dae007b0d6a02 diff --git a/games-rpg/to-the-moon/to-the-moon-0-r1.ebuild b/games-rpg/to-the-moon/to-the-moon-0-r1.ebuild deleted file mode 100644 index 3604496dcae2..000000000000 --- a/games-rpg/to-the-moon/to-the-moon-0-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper - -MY_PN="ToTheMoon" - -DESCRIPTION="Two doctors traversing the memories of a dying man to fulfill his last wish" -HOMEPAGE="https://freebirdgames.com/games/to-the-moon/" -SRC_URI="${MY_PN}_linux_1389114090.sh" -S="${WORKDIR}/data" - -LICENSE="all-rights-reserved bundled-libs? ( LGPL-2 LGPL-2.1 ZLIB )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bundled-libs" -RESTRICT="bindist fetch" - -QA_PREBUILT=" - opt/${PN}/${MY_PN}.bin* - opt/${PN}/lib/* - opt/${PN}/lib64/*" - -# TODO: unbundling sdl-sound breaks the game -RDEPEND=" - sys-libs/zlib - virtual/opengl - !bundled-libs? ( - dev-libs/libsigc++:2 - >=media-libs/libsdl2-2.0.1[X,joystick,opengl,sound,threads,video] - media-libs/openal - media-libs/sdl2-image[png] - media-libs/sdl2-ttf - ) -" - -pkg_nofetch() { - einfo "Please buy & download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "and move/link it to your DISTDIR directory." -} - -src_unpack() { - # mojo stuff inside makeself archive, unpack_makeself fails - local lastline=$(( $(grep -a -h -n -m 1 -F -e "Extra newline, because in very rare cases (OpenSolaris) stub is directly added after script" "${DISTDIR}/${A}" | cut -d':' -f1) + 1 )) - [[ ${lastline} ]] || die "no last line" - - local offset=$(head -n ${lastline} "${DISTDIR}/${A}" | wc -c) - [[ ${offset} ]] || die "no offset" - - dd ibs=${offset} skip=1 if="${DISTDIR}/${A}" of="${T}"/moon.zip || die - unpack_zip "${T}"/moon.zip -} - -src_install() { - local dir=/opt/${PN} - local libsuffix=$(usex amd64 64 '') - local arch=$(usex amd64 x86_64 x86) - - insinto ${dir} - doins -r noarch/{Audio,Data,Fonts,Graphics,Game.ini,mkxp.conf,ToTheMoon.png} - - exeinto ${dir} - doexe ${arch}/${MY_PN}.bin.${arch} - - exeinto ${dir}/lib${libsuffix} - if use bundled-libs ; then - doexe ${arch}/lib${libsuffix}/* - else - doexe ${arch}/lib${libsuffix}/libSDL_sound-1.0.so.1 - fi - - make_wrapper ${PN} ./${MY_PN}.bin.${arch} ${dir}{,/lib${libsuffix}} - - newicon noarch/${MY_PN}.png ${PN}.png - make_desktop_entry ${PN} "To the Moon" -} diff --git a/games-rpg/to-the-moon/to-the-moon-0-r2.ebuild b/games-rpg/to-the-moon/to-the-moon-0-r2.ebuild new file mode 100644 index 000000000000..cdd9f1c63f50 --- /dev/null +++ b/games-rpg/to-the-moon/to-the-moon-0-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker wrapper xdg + +MY_PN="ToTheMoon" + +DESCRIPTION="Two doctors traversing the memories of a dying man to fulfill his last wish" +HOMEPAGE="https://freebirdgames.com/games/to-the-moon/" +SRC_URI="${MY_PN}_linux_1389114090.sh" +S="${WORKDIR}/data" + +LICENSE="all-rights-reserved bundled-libs? ( LGPL-2 LGPL-2.1 ZLIB )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch" + +QA_PREBUILT=" + opt/${PN}/${MY_PN}.bin* + opt/${PN}/lib/* + opt/${PN}/lib64/*" + +# TODO: unbundling sdl-sound breaks the game +RDEPEND=" + media-libs/libglvnd[X] + sys-libs/libxcrypt:0/1 + sys-libs/zlib + !bundled-libs? ( + dev-libs/libsigc++:2 + >=media-libs/libsdl2-2.0.1[X,joystick,opengl,sound,threads(+),video] + media-libs/openal + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + ) +" + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move/link it to your DISTDIR directory." +} + +src_unpack() { + # mojo stuff inside makeself archive, unpack_makeself fails + local lastline=$(( $(grep -a -h -n -m 1 -F -e "Extra newline, because in very rare cases (OpenSolaris) stub is directly added after script" "${DISTDIR}/${A}" | cut -d':' -f1) + 1 )) + [[ ${lastline} ]] || die "no last line" + + local offset=$(head -n ${lastline} "${DISTDIR}/${A}" | wc -c) + [[ ${offset} ]] || die "no offset" + + dd ibs=${offset} skip=1 if="${DISTDIR}/${A}" of="${T}"/moon.zip || die + unpack_zip "${T}"/moon.zip +} + +src_install() { + local dir=/opt/${PN} + local libsuffix=$(usex amd64 64 '') + local arch=$(usex amd64 x86_64 x86) + + insinto ${dir} + doins -r noarch/{Audio,Data,Fonts,Graphics,Game.ini,mkxp.conf,ToTheMoon.png} + + exeinto ${dir} + doexe ${arch}/${MY_PN}.bin.${arch} + + exeinto ${dir}/lib${libsuffix} + if use bundled-libs ; then + doexe ${arch}/lib${libsuffix}/* + else + doexe ${arch}/lib${libsuffix}/libSDL_sound-1.0.so.1 + fi + + make_wrapper ${PN} ./${MY_PN}.bin.${arch} ${dir}{,/lib${libsuffix}} + + newicon noarch/${MY_PN}.png ${PN}.png + make_desktop_entry ${PN} "To the Moon" +} -- cgit v1.2.3