diff options
author | 2016-10-28 12:29:17 -0500 | |
---|---|---|
committer | 2016-10-28 12:35:10 -0500 | |
commit | 60cc5cc4d8e954225b6c57c98741d7477217e23d (patch) | |
tree | b8d0127cd6235082ea1f89c5ab1e58c3057d40c3 /games-rpg | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-60cc5cc4d8e954225b6c57c98741d7477217e23d.tar.gz gentoo-60cc5cc4d8e954225b6c57c98741d7477217e23d.tar.bz2 gentoo-60cc5cc4d8e954225b6c57c98741d7477217e23d.zip |
games-rpg/zsxd: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.2
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/zsxd/zsxd-1.9.0-r1.ebuild | 59 | ||||
-rw-r--r-- | games-rpg/zsxd/zsxd-1.9.0.ebuild | 5 |
2 files changed, 61 insertions, 3 deletions
diff --git a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild b/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild new file mode 100644 index 000000000000..044c939df3ea --- /dev/null +++ b/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils gnome2-utils cmake-utils + +DESCRIPTION="A free 2D Zelda fangame parody" +HOMEPAGE="http://www.solarus-games.org/" +SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}.tar.gz" + +LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror bindist" + +RDEPEND=">=games-engines/solarus-1.3.1-r1 + <games-engines/solarus-1.4.0" +DEPEND="app-arch/zip" + +DOCS=( ChangeLog readme.txt ) + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share" + -DSOLARUS_INSTALL_BINDIR="/usr/bin" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_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 -f "${ED%/}/usr/bin/${PN} + make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\" + + make_desktop_entry "${PN}" "Zelda: Mystery of Solarus XD" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} diff --git a/games-rpg/zsxd/zsxd-1.9.0.ebuild b/games-rpg/zsxd/zsxd-1.9.0.ebuild index a699d5f2e640..916fd94848cc 100644 --- a/games-rpg/zsxd/zsxd-1.9.0.ebuild +++ b/games-rpg/zsxd/zsxd-1.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -16,8 +16,7 @@ KEYWORDS="amd64 x86" IUSE="" RESTRICT="mirror bindist" -RDEPEND=">=games-engines/solarus-1.3.0 - <games-engines/solarus-1.4.0" +RDEPEND="=games-engines/solarus-1.3.1" DEPEND="app-arch/zip" DOCS=( ChangeLog readme.txt ) |