summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-08-24 16:12:08 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-08-24 16:12:08 +0000
commit8624fe5d5e820687c1e0bf30ac7ac6032792c485 (patch)
treef08c82fa5d2e763d0de6e694c3b17b4344f93445 /games-rpg
parentversion bump (diff)
downloadgentoo-2-8624fe5d5e820687c1e0bf30ac7ac6032792c485.tar.gz
gentoo-2-8624fe5d5e820687c1e0bf30ac7ac6032792c485.tar.bz2
gentoo-2-8624fe5d5e820687c1e0bf30ac7ac6032792c485.zip
version bump
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/zsxd/ChangeLog7
-rw-r--r--games-rpg/zsxd/zsxd-1.9.0.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/games-rpg/zsxd/ChangeLog b/games-rpg/zsxd/ChangeLog
index 088513325919..f3cccf8a63cc 100644
--- a/games-rpg/zsxd/ChangeLog
+++ b/games-rpg/zsxd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/zsxd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/zsxd/ChangeLog,v 1.5 2014/08/24 16:09:58 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/zsxd/ChangeLog,v 1.6 2014/08/24 16:12:08 hasufell Exp $
+
+*zsxd-1.9.0 (24 Aug 2014)
+
+ 24 Aug 2014; Julian Ospald <hasufell@gentoo.org> +zsxd-1.9.0.ebuild:
+ version bump
*zsxd-1.8.0-r1 (24 Aug 2014)
*zsxd-1.7.1-r1 (24 Aug 2014)
diff --git a/games-rpg/zsxd/zsxd-1.9.0.ebuild b/games-rpg/zsxd/zsxd-1.9.0.ebuild
new file mode 100644
index 000000000000..c7be968a2ec9
--- /dev/null
+++ b/games-rpg/zsxd/zsxd-1.9.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/zsxd/zsxd-1.9.0.ebuild,v 1.1 2014/08/24 16:12:08 hasufell Exp $
+
+EAPI=5
+
+inherit eutils gnome2-utils cmake-utils games
+
+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=""
+
+RDEPEND=">=games-engines/solarus-1.3.0
+ <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="${GAMES_DATADIR}"
+ -DSOLARUS_INSTALL_BINDIR="${GAMES_BINDIR}"
+ )
+ 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%/}${GAMES_BINDIR}"/${PN}
+ games_make_wrapper ${PN} "solarus \"${GAMES_DATADIR}/solarus/${PN}\""
+
+ make_desktop_entry "${PN}" "Zelda: Mystery of Solarus XD"
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}