From 4e7b7a83e6323e51e397bc19300b3aa64f06d399 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 19 May 2024 16:43:22 +0100 Subject: games-action/guacamelee: Bump to 20231012, drop old 20140222, EAPI 8 Signed-off-by: James Le Cuirot --- games-action/guacamelee/Manifest | 2 +- games-action/guacamelee/guacamelee-20140222.ebuild | 57 ---------------------- games-action/guacamelee/guacamelee-20231012.ebuild | 54 ++++++++++++++++++++ 3 files changed, 55 insertions(+), 58 deletions(-) delete mode 100644 games-action/guacamelee/guacamelee-20140222.ebuild create mode 100644 games-action/guacamelee/guacamelee-20231012.ebuild (limited to 'games-action') diff --git a/games-action/guacamelee/Manifest b/games-action/guacamelee/Manifest index 66c038e1a974..8a3c1963454e 100644 --- a/games-action/guacamelee/Manifest +++ b/games-action/guacamelee/Manifest @@ -1 +1 @@ -DIST Guacamelee_linux_1393037377.sh 552784497 BLAKE2B 1f36e1a6b65bcf774d0f4e15b37d8eda3ec91691c7e3c556f73e903559c3215f3611fdbec284259fe7690037cf4ab8e338c1caa7faea80c8ce98d02581b0de4b SHA512 e52c4099e15f20df6512c3c9617cbf29f5ea428c117a0520ce57bacf99b7d33ace6a04c811fd9ced63b7ba11a3a79549b93f83fd18e42ca9a1366aeb4114cd87 +DIST Guacamelee_DRMFREE.sh 552784497 BLAKE2B 1f36e1a6b65bcf774d0f4e15b37d8eda3ec91691c7e3c556f73e903559c3215f3611fdbec284259fe7690037cf4ab8e338c1caa7faea80c8ce98d02581b0de4b SHA512 e52c4099e15f20df6512c3c9617cbf29f5ea428c117a0520ce57bacf99b7d33ace6a04c811fd9ced63b7ba11a3a79549b93f83fd18e42ca9a1366aeb4114cd87 diff --git a/games-action/guacamelee/guacamelee-20140222.ebuild b/games-action/guacamelee/guacamelee-20140222.ebuild deleted file mode 100644 index 97a81b5b4146..000000000000 --- a/games-action/guacamelee/guacamelee-20140222.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker xdg-utils - -DESCRIPTION="Metroidvania-style action-platformer set in a magical Mexican-inspired world" -HOMEPAGE="https://guacamelee.com" -SRC_URI="Guacamelee_linux_1393037377.sh" -S="${WORKDIR}/data" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch splitdebug" - -RDEPEND=" - media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video] - virtual/opengl[abi_x86_32] -" - -DIR="/opt/${PN}" -QA_PREBUILT="${DIR}/*" - -pkg_nofetch() { - einfo "This package requires the Guacamelee! Gold Edition file included in" - einfo "Humble Indie Bundle 11. If you have it then please move" - einfo "${SRC_URI} to your distfiles directory. If you" - einfo "missed it then the game is also available to buy from GOG but the" - einfo "package will need adapting first. Please contact the Gentoo Games team" - einfo "if you bought it from GOG." -} - -src_unpack() { - unpack_zip ${A} -} - -src_install() { - exeinto "${DIR}" - newexe x86/game-bin ${PN} - dosym "${DIR}"/${PN} /usr/bin/${PN} - - insinto "${DIR}" - doins -r noarch/{*.dat*,media/} - - exeinto "${DIR}/lib32" - doexe x86/lib32/libfmod*.so - - dodoc noarch/README.linux - - newicon -s 512 noarch/Guacamelee.png ${PN}.png - make_desktop_entry ${PN} "Guacamelee" -} - -pkg_postinst() { xdg_icon_cache_update; } -pkg_postrm() { xdg_icon_cache_update; } diff --git a/games-action/guacamelee/guacamelee-20231012.ebuild b/games-action/guacamelee/guacamelee-20231012.ebuild new file mode 100644 index 000000000000..a454e11f1411 --- /dev/null +++ b/games-action/guacamelee/guacamelee-20231012.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="Metroidvania-style action-platformer set in a magical Mexican-inspired world" +HOMEPAGE="https://guacamelee.com" +SRC_URI="Guacamelee_DRMFREE.sh" +S="${WORKDIR}/data" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads(+),video] + media-libs/libglvnd[abi_x86_32,X] +" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR}/*" + +pkg_nofetch() { + einfo "This package requires the Guacamelee! Gold Edition file included in" + einfo "Humble Indie Bundle 11. If you have it then please move" + einfo "${SRC_URI} to your distfiles directory. If you" + einfo "missed it then the game is also available to buy from GOG but the" + einfo "package will need adapting first. Please contact the Gentoo Games team" + einfo "if you bought it from GOG." +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + exeinto "${DIR}" + newexe x86/game-bin ${PN} + dosym "${DIR}"/${PN} /usr/bin/${PN} + + insinto "${DIR}" + doins -r noarch/{*.dat*,media/} + + exeinto "${DIR}/lib32" + doexe x86/lib32/libfmod*.so + + dodoc noarch/README.linux + + newicon -s 512 noarch/Guacamelee.png ${PN}.png + make_desktop_entry ${PN} "Guacamelee" +} -- cgit v1.2.3-65-gdbad