diff options
author | Matt Jolly <Matt.Jolly@footclan.ninja> | 2022-09-17 22:41:30 +1000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-12 23:57:13 +0100 |
commit | 4aaae8b10a39c5590428e3a6dbc421c2611548af (patch) | |
tree | f68db5b50fea902c93c9b0a586ced8ca633f5253 /games-rpg/zsdx | |
parent | games-rpg/zsxd: drop 1.9.0-r1 (diff) | |
download | gentoo-4aaae8b10a39c5590428e3a6dbc421c2611548af.tar.gz gentoo-4aaae8b10a39c5590428e3a6dbc421c2611548af.tar.bz2 gentoo-4aaae8b10a39c5590428e3a6dbc421c2611548af.zip |
games-rpg/zsdx: add 1.12.3
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-rpg/zsdx')
-rw-r--r-- | games-rpg/zsdx/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/zsdx/metadata.xml | 2 | ||||
-rw-r--r-- | games-rpg/zsdx/zsdx-1.12.3.ebuild | 47 |
3 files changed, 49 insertions, 1 deletions
diff --git a/games-rpg/zsdx/Manifest b/games-rpg/zsdx/Manifest index e3748e6db7cf..91b0264a147f 100644 --- a/games-rpg/zsdx/Manifest +++ b/games-rpg/zsdx/Manifest @@ -1 +1,2 @@ +DIST zsdx-v1.12.3.tar.gz 21121784 BLAKE2B bc4d72f96b4a77daf72caea12526512565598700c704094b704d7b4713083bc4559e2019e426504f3631b6936b5b87c27ce37f6827a2700ca0a4e4448447ff02 SHA512 9a2a091023ccba0eb78ac16c7559eaf7756550fb81c69c69390f3f8add6b8fab05fefb438bfc66a59436cbec92c588038d014adea98c5748e4ed276c1d8213f1 DIST zsdx-zsdx-1.9.0.tar.gz 20760682 BLAKE2B 7063b7bc34a03c5e1879eaae78d28dcf28ae9799eed2ef2b4422f3fad709234ae6ebb67f641d76df370b27b72eb6f9ed6d611b8bead37b87287637cb28b072cb SHA512 673a7db1dadfae09df23b189b9e18af1182cb731897e4067f47867387c04b21308991116c6f840cb228adee9c459565c2f5e6f1a01e885ea23c00347d4d64540 diff --git a/games-rpg/zsdx/metadata.xml b/games-rpg/zsdx/metadata.xml index 30a5c0997582..498ee40f1e56 100644 --- a/games-rpg/zsdx/metadata.xml +++ b/games-rpg/zsdx/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Games Project</name> </maintainer> <upstream> - <remote-id type="github">christopho/zsdx</remote-id> + <remote-id type="gitlab">solarus-games/zsdx</remote-id> </upstream> </pkgmetadata> diff --git a/games-rpg/zsdx/zsdx-1.12.3.ebuild b/games-rpg/zsdx/zsdx-1.12.3.ebuild new file mode 100644 index 000000000000..e12897b9d848 --- /dev/null +++ b/games-rpg/zsdx/zsdx-1.12.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake desktop wrapper xdg + +DESCRIPTION="Free 2D Zelda fangame" +HOMEPAGE="https://www.solarus-games.org/" +SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror bindist" + +RDEPEND=" + >=games-engines/solarus-1.6 + <games-engines/solarus-1.7 + +" + +BDEPEND=" + app-arch/zip +" + +src_configure() { + local mycmakeargs=( + -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share" + -DSOLARUS_INSTALL_BINDIR="/usr/bin" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png + newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png + + # install proper wrapper script + rm "${ED}/usr/bin/${PN}" || die + make_wrapper ${PN} "solarus-run \"/usr/share/solarus/${PN}\"" + + make_desktop_entry ${PN} "Zelda: Mystery of Solarus DX" +} |