mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
games-rpg/zsxd: add 1.12.2
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zsxd-v1.12.2.tar.gz 4439231 BLAKE2B 1cba628a427cae10e0b08498690b95ef5a60f62531b1b4c7635ccbd561201ff54511b5c32e8e5e3251625e08276466ef2faa81f62eb2b67669cc001b00b7f215 SHA512 434c5f433be6a535c9976175d54d16d39c65d40c3a03199453282bef9a79e3eec71c676cf4a57a621460ff3e5397ec595d0e0dae8dc45afe13d45a5a5f003614
|
||||
DIST zsxd-zsxd-1.9.0.tar.gz 3690390 BLAKE2B c5b6a671c5b5f8ba702ba23f447c0858aa870730a752761f65092b8e1f4a0879f2877fabf0e52a71be380ff25628f0be94f01f6a02009bfe4f7d1952f50ba5f4 SHA512 a457374adc7a8f4b7872b6f6693051d1499320f4349d55009e581132b62f5eebd6e35cc80c1ac14c5c80b74145fb7ac26b312f3f329df71c36e71d9a38383f05
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">christopho/zsxd</remote-id>
|
||||
<remote-id type="gitlab">solarus-games/zsxd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# 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 parody"
|
||||
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_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
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 \"${EPREFIX}/usr/share/solarus/${PN}\""
|
||||
|
||||
make_desktop_entry ${PN} "Zelda: Mystery of Solarus XD"
|
||||
}
|
||||
Reference in New Issue
Block a user