summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-01-29 20:20:35 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-01-29 20:20:35 +0000
commit76c3f930fd42627463e67dc02b9df25b770d4e32 (patch)
tree3182ca4dd02142c1f0c2ac795b0334b458980afd /games-rpg
parentinitial import (diff)
downloadhistorical-76c3f930fd42627463e67dc02b9df25b770d4e32.tar.gz
historical-76c3f930fd42627463e67dc02b9df25b770d4e32.tar.bz2
historical-76c3f930fd42627463e67dc02b9df25b770d4e32.zip
initial import
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/zsxd/Manifest18
-rw-r--r--games-rpg/zsxd/files/zsxd-1.7.1-paths.patch40
-rw-r--r--games-rpg/zsxd/metadata.xml12
-rw-r--r--games-rpg/zsxd/zsxd-1.7.1.ebuild61
4 files changed, 129 insertions, 2 deletions
diff --git a/games-rpg/zsxd/Manifest b/games-rpg/zsxd/Manifest
index 9b12d2265862..6450dddb5ec6 100644
--- a/games-rpg/zsxd/Manifest
+++ b/games-rpg/zsxd/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD zsxd-1.7.1.ebuild 1339 SHA256 63349aa0a9201e163fe84300ca41785b36b87ca26e01e292a91eb3f84bb4322a SHA512 fd00469e7236838eebd150c839bc5386ed0a8cee40782c0ec96b1a191140e8252fe53d20dda366d314b28935aff3e535d753ffcff6a6186d328f30c212817e04 WHIRLPOOL a8866c8c6b9d3d752320074bd61858d91aac43432dcfbb9b1138ab5bb11ac177ba8048fa89ba2b1ab2329b407e8e0b46067dac766a07a1d4746f41339bfc80df
+MISC ChangeLog 367 SHA256 f4f1ee63e44e6d5ae0dd30d3943b61bf0602131d084c3581d8655d35f6b86801 SHA512 df68534d0f706ff0f26dd58a7aee7b41f23907c9ffedec3286897bad67851008380e1e79e6b5889096b158bd44ba301900dae6553a38dfb1c7c61d99f111e1fb WHIRLPOOL 0dd0517370e75de127b19697363db70089b8dbda88220a9b5b78f460ca6208b72cde370dbeb0dbfaab718bddea87e8a448baf70c305ac7a3ca065e48d2e69524
MISC metadata.xml 334 SHA256 4180a3eb78f8b30241cbe209090bfba589ce28c209fa790c4361509b7987fde9 SHA512 9d5b7d5b02e197ee3d99ca763053b844b6a79ddfbcb226da244c69b71ebdc7c02383156558a1adcfc75d79fc118f25690bde06f5809a5173201d6e073f8a8563 WHIRLPOOL 51c27c420ea4d57b76ba8aa491af2f55216fa9dc90c2f7e6dd75c432f56495917a3ec5933cb7aa47546e977957bee116a4393b1f03361e3241e1323698f624c4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJS6WKTAAoJEFpvPKfnPDWzduIH/A8Mw6cHP6Xg0rhKuzZGUVQo
+0igj8cq2Ml5uZquCOPfndSstcyOrAYIfW2/IeOKumWiEA9gvg+GXJxyef+PbPFkT
+CtE2TpYZEAYbFmppMIej089Cexi2UApVbFnrJWUnp1q3x28A5+DNJVZUGVMaYDas
+eX7VSRElHLUsJkxoxUZJlqHwZGZnlYei6HCiEN7TOBaRYbeqSCtrhtw0/+dXi3SS
+DdVnRmMv2x53SD5vxf3UmXrDGg1dyLMw62R6pbMSq0zmVpZlrKB7dCpCC2FMVW3l
+X6MexboKmSlWChrSokaFtQ65c1dC9unW7czDuFlbAWDZUHv57xEp9yTS9NDZE40=
+=hFih
+-----END PGP SIGNATURE-----
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
+}