diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-01-29 20:20:34 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-01-29 20:20:34 +0000 |
commit | 0e80881df0020b9c2ccf19e4efadd1a214753e0c (patch) | |
tree | c433efb63c140c6ec64f1ec7219b6f8e70b4a598 /games-rpg | |
parent | initial import (diff) | |
download | gentoo-2-0e80881df0020b9c2ccf19e4efadd1a214753e0c.tar.gz gentoo-2-0e80881df0020b9c2ccf19e4efadd1a214753e0c.tar.bz2 gentoo-2-0e80881df0020b9c2ccf19e4efadd1a214753e0c.zip |
initial import
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/zsxd/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/zsxd/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/zsxd/files/zsxd-1.7.1-paths.patch | 40 | ||||
-rw-r--r-- | games-rpg/zsxd/metadata.xml | 12 | ||||
-rw-r--r-- | games-rpg/zsxd/zsxd-1.7.1.ebuild | 61 |
5 files changed, 128 insertions, 0 deletions
diff --git a/games-rpg/zsxd/ChangeLog b/games-rpg/zsxd/ChangeLog new file mode 100644 index 000000000000..2e1b016306b5 --- /dev/null +++ b/games-rpg/zsxd/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2014/01/29 20:20:34 hasufell Exp $ + +*zsxd-1.7.1 (29 Jan 2014) + + 29 Jan 2014; Julian Ospald <hasufell@gentoo.org> +zsxd-1.7.1.ebuild, + +files/zsxd-1.7.1-paths.patch, +metadata.xml: + initial import + diff --git a/games-rpg/zsxd/Manifest b/games-rpg/zsxd/Manifest new file mode 100644 index 000000000000..9b12d2265862 --- /dev/null +++ b/games-rpg/zsxd/Manifest @@ -0,0 +1,5 @@ +AUX zsxd-1.7.1-paths.patch 1115 SHA256 29cd2b18c9dafb3c022ede9bbeccb36421d5d2136e685169a9d9853918bdd361 SHA512 3add02a81f19db206b68060dac9e428d219a16b8617c813c81609d4b2deb8f5bf244b7e292cdb63ff0f1b8af85664e5e00649967a281ee31295fa77c5dc997b7 WHIRLPOOL a2a699d35216d11fd9d63241d46a72542c4dba87fd696ed55c56e7587c21a88afb04ea6f916f3081c3d762ad751db6c3bec5233f44b19b4c63a81311684ceb22 +DIST zsxd-1.7.1.tar.gz 3696807 SHA256 ea5557fcc028b39758e63b1c26f71dead3a743f15f74b2391eb618d210f777dc SHA512 8edea69ad1599b0bcccb3db4f030613dd04cdd0575722347869e799536639face6082fe51af5975a15a215fdb775978c654b9d46821c261c242573f6213f818d WHIRLPOOL a83705bcfd7cfe39abff02f8c5fb5241b07c7272e8c5643f7600b9f65e3993ceb83524f26da81f12a53d5800a5292eb75f5a9327745b6a63b4a8f392f80b3135 +EBUILD zsxd-1.7.1.ebuild 1243 SHA256 109ee6b0bab555f38d9381f1d747d4e62c20754800c5851ce48eeb81a90db42e SHA512 32a2cfe6db4adeb1c7f287243f7ce96f89163861e2abcf9170bfe7cf25b3c05f5cb59d19b8d2d4c313e1d7f27d181c08ec639221321d663cfed69b80db2d500a WHIRLPOOL 71adb72ae918a160f02df2b9c1cd068620cae5a120cff6b1fabe470955433f4d360517be9b678588fe840360ed3770b2812f1e7173b7cee7b1e0d483b5fe8c67 +MISC ChangeLog 279 SHA256 54ee319d274e432d6827fa6ac1592c3e5e6bb1eead1daf56fcc0af940dc39853 SHA512 4015f62e0f89b6cc16a80c29c336697ef48535c5dbe1d6f405ed31a55d3b01b7b1926974413bf8eb28c796e593c146b53d279b4691916eace5e6c9bb81ddfac3 WHIRLPOOL fef03f58b2cb03ef8e28aa00d9d93bd63a0634e531578c81386d51a5872f997d85d6396f655f42942508111c994a7968e99dc880d1ba0bbc945f8add340b6d34 +MISC metadata.xml 334 SHA256 4180a3eb78f8b30241cbe209090bfba589ce28c209fa790c4361509b7987fde9 SHA512 9d5b7d5b02e197ee3d99ca763053b844b6a79ddfbcb226da244c69b71ebdc7c02383156558a1adcfc75d79fc118f25690bde06f5809a5173201d6e073f8a8563 WHIRLPOOL 51c27c420ea4d57b76ba8aa491af2f55216fa9dc90c2f7e6dd75c432f56495917a3ec5933cb7aa47546e977957bee116a4393b1f03361e3241e1323698f624c4 diff --git a/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch b/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch new file mode 100644 index 000000000000..289b5ddea87c --- /dev/null +++ b/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch @@ -0,0 +1,40 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Jan 29 13:23:26 UTC 2014 +Subject: make paths modifiable + +--- zsxd-1.7.1/CMakeLists.txt ++++ zsxd-1.7.1/CMakeLists.txt +@@ -3,6 +3,10 @@ + + set(quest_name "zsxd") + ++set(DATAROOTDIR "share" CACHE PATH "dataroot dir") ++set(DATADIR "${DATAROOTDIR}/solarus" CACHE PATH "data dir") ++set(BINDIR "bin" CACHE PATH "bin dir") ++ + # data files list + file(GLOB_RECURSE data_files + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/data +@@ -47,7 +51,7 @@ + add_custom_command( + OUTPUT ${quest_name} + COMMAND echo '\#!/bin/sh' > ${quest_name} +- COMMAND echo 'solarus ${CMAKE_INSTALL_PREFIX}/share/solarus/${quest_name} $*' >> ${quest_name} ++ COMMAND echo 'solarus ${DATADIR}/${quest_name} $*' >> ${quest_name} + ) + add_custom_target(${quest_name}_command + ALL +@@ -56,11 +60,11 @@ + + # install the data archive + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/data.solarus +- DESTINATION share/solarus/${quest_name} ++ DESTINATION ${DATADIR}/${quest_name} + ) + + # install the script + install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${quest_name} +- DESTINATION bin ++ DESTINATION ${BINDIR} + ) + diff --git a/games-rpg/zsxd/metadata.xml b/games-rpg/zsxd/metadata.xml new file mode 100644 index 000000000000..f8688233632f --- /dev/null +++ b/games-rpg/zsxd/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <upstream> + <remote-id type='github'>christopho/zsxd</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-rpg/zsxd/zsxd-1.7.1.ebuild b/games-rpg/zsxd/zsxd-1.7.1.ebuild new file mode 100644 index 000000000000..e033e799c148 --- /dev/null +++ b/games-rpg/zsxd/zsxd-1.7.1.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.7.1.ebuild,v 1.1 2014/01/29 20:20:34 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="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="games-engines/solarus" +DEPEND="app-arch/zip" + +DOCS=( ChangeLog readme.txt ) +PATCHES=( "${FILESDIR}"/${P}-paths.patch ) + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDATADIR="${GAMES_DATADIR}/solarus" + -DBINDIR="${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 +} |