From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- games-arcade/shovel-knight/Manifest | 4 +- .../shovel-knight/shovel-knight-3.3.ebuild | 63 ---------------------- .../shovel-knight/shovel-knight-4.1b.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 65 insertions(+), 65 deletions(-) delete mode 100644 games-arcade/shovel-knight/shovel-knight-3.3.ebuild create mode 100644 games-arcade/shovel-knight/shovel-knight-4.1b.ebuild (limited to 'games-arcade/shovel-knight') diff --git a/games-arcade/shovel-knight/Manifest b/games-arcade/shovel-knight/Manifest index 7d907e9ce4c0..5f1f0197688f 100644 --- a/games-arcade/shovel-knight/Manifest +++ b/games-arcade/shovel-knight/Manifest @@ -1,3 +1,3 @@ -DIST shovel_knight_treasure_trove_en_3_3_15418.sh 226753557 BLAKE2B 3103871333f5dec931b109ccc8a8820054f8bd934d01daf97bb5ad84e9dfaebd2c79d1943fb7049468f49c9db87c51dec0e08d38469e364bafb8bc50fbd9d40d SHA512 6832593440cc5059f0df37be991bb2e87c071c7ed566b2c6d0f6cc418190be92c4f793f2c694f620b9378914cde13abf9049eba8cdd90b9dfe961ae9a65dc42a -EBUILD shovel-knight-3.3.ebuild 1524 BLAKE2B 59dc13484695351d998739df4943d3b73d60e5833277aba3c3063a91c564012929034d6cf8bcd65f0ed6bf34148317f9c09d77aaa934d0a4d6ab245346e41b04 SHA512 6b20b241cf0735567844bd1965333aa907589b1b9ecc33416ee97f332a4c3491098976086e1185fa1371ef71baf79138f6a20022c0339db9c790567d261b3197 +DIST shovel_knight_treasure_trove_4_1b_arby_s_46298.sh 338751327 BLAKE2B 6285266a6013331ed59b399fcbe4a3a2069e1efe403411c7e85a9c165a33e262c0a92085c7a5da7fca31573eaeb29b32915f006cc9093944be03214407e891ef SHA512 ecb5967de37e482aec8fcd992f4d7c269e8b676ed119785114f465dd85932453f3facfcd7e77d7bf3044033189d0d33692bb4de3332753ee57bac74b7adec499 +EBUILD shovel-knight-4.1b.ebuild 1529 BLAKE2B 8d09ab414cf1c682b1991f26bbca1fb1fe66fadba29b429d1a09b9aca62422e56d73a6403e15ab28659bbee6ac4fe8e44031279bbc703b6d74f8467b374ee8ae SHA512 efe07a71778a638595c99cbf8a2b83514338238b4bb1b5b16ed5486e6e3fd9902b2b6aec54be05b65f8126bda58da4346290026e1a2605dfd31aadb36a657467 MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 diff --git a/games-arcade/shovel-knight/shovel-knight-3.3.ebuild b/games-arcade/shovel-knight/shovel-knight-3.3.ebuild deleted file mode 100644 index c7f98580ae68..000000000000 --- a/games-arcade/shovel-knight/shovel-knight-3.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper xdg - -MY_PN="ShovelKnight" -DESCRIPTION="Sweeping classic action adventure with an 8-bit retro aesthetic" -HOMEPAGE="https://yachtclubgames.com/shovel-knight/" -SRC_URI="${PN//-/_}_treasure_trove_en_3_3_15418.sh" -S="${WORKDIR}/data/noarch/game" - -LICENSE="Yacht-Club-Games-EULA" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch splitdebug" - -# I packaged Box2D in the hope of unbundling it but it turns out this -# game uses a custom version. -- Chewi :( - -RDEPEND=" - media-libs/glew:1.10 - media-libs/libsdl2[opengl,sound,video] - virtual/opengl -" - -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_install() { - local BITS=$(usex amd64 64 32) LIB= - - exeinto "${DIR}" - doexe ${BITS}/${MY_PN} - make_wrapper ${MY_PN} ./${MY_PN} "${DIR}" - - exeinto "${DIR}"/lib - doexe ${BITS}/lib/lib{Box2D.so.*,fmod*-*.so} - - # The FMOD libraries are duplicated rather than symlinked, which is - # silly, so create our own symlinks. Both sets of names are needed. - for LIB in ${BITS}/lib/libfmod*-*.so; do - LIB=${LIB##*/} - dosym "${LIB}" "${DIR}/lib/${LIB%-*}.so" - done - - insinto "${DIR}" - doins -r data/ - - newicon -s 256 ../support/icon.png ${PN}.png - make_desktop_entry ${MY_PN} "Shovel Knight" -} diff --git a/games-arcade/shovel-knight/shovel-knight-4.1b.ebuild b/games-arcade/shovel-knight/shovel-knight-4.1b.ebuild new file mode 100644 index 000000000000..21b9866faf5d --- /dev/null +++ b/games-arcade/shovel-knight/shovel-knight-4.1b.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker wrapper xdg + +MY_PN="ShovelKnight" +DESCRIPTION="Sweeping classic action adventure with an 8-bit retro aesthetic" +HOMEPAGE="https://yachtclubgames.com/shovel-knight/" +SRC_URI="${PN//-/_}_treasure_trove_4_1b_arby_s_46298.sh" +S="${WORKDIR}/data/noarch/game" + +LICENSE="Yacht-Club-Games-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +# I packaged Box2D in the hope of unbundling it but it turns out this +# game uses a custom version. -- Chewi :( + +RDEPEND=" + media-libs/glew:1.10 + media-libs/libsdl2[opengl,sound,video] + virtual/opengl +" + +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_install() { + local BITS=$(usex amd64 64 32) LIB= + + exeinto "${DIR}" + doexe ${BITS}/${MY_PN} + make_wrapper ${MY_PN} ./${MY_PN} "${DIR}" + + exeinto "${DIR}"/lib + doexe ${BITS}/lib/lib{Box2D.so.*,fmod*-*.so} + + # The FMOD libraries are duplicated rather than symlinked, which is + # silly, so create our own symlinks. Both sets of names are needed. + for LIB in ${BITS}/lib/libfmod*-*.so; do + LIB=${LIB##*/} + dosym "${LIB}" "${DIR}/lib/${LIB%-*}.so" + done + + insinto "${DIR}" + doins -r data/ + + newicon -s 256 ../support/icon.png ${PN}.png + make_desktop_entry ${MY_PN} "Shovel Knight" +} -- cgit v1.2.3