diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-28 19:13:56 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-28 19:13:56 +0000 |
commit | eb86ebdfc4c16636b4a4c2e9a694f0c6e8a5289e (patch) | |
tree | 89ee1411db835f4e3191e00358ff3ada4ea7108d /games-rpg | |
parent | old (diff) | |
download | gentoo-2-eb86ebdfc4c16636b4a4c2e9a694f0c6e8a5289e.tar.gz gentoo-2-eb86ebdfc4c16636b4a4c2e9a694f0c6e8a5289e.tar.bz2 gentoo-2-eb86ebdfc4c16636b4a4c2e9a694f0c6e8a5289e.zip |
old
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/zsxd/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/zsxd/files/zsxd-1.7.1-paths.patch | 40 | ||||
-rw-r--r-- | games-rpg/zsxd/files/zsxd-1.8.0-paths.patch | 40 | ||||
-rw-r--r-- | games-rpg/zsxd/zsxd-1.7.1-r1.ebuild | 63 |
4 files changed, 6 insertions, 144 deletions
diff --git a/games-rpg/zsxd/ChangeLog b/games-rpg/zsxd/ChangeLog index b8b59fce49e1..24114587af06 100644 --- a/games-rpg/zsxd/ChangeLog +++ b/games-rpg/zsxd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-rpg/zsxd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/zsxd/ChangeLog,v 1.12 2015/05/21 10:46:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/zsxd/ChangeLog,v 1.13 2015/05/28 19:13:56 mr_bones_ Exp $ + + 28 May 2015; Michael Sterrett <mr_bones_@gentoo.org> + -files/zsxd-1.7.1-paths.patch, -files/zsxd-1.8.0-paths.patch, + -zsxd-1.7.1-r1.ebuild: + old 21 May 2015; Agostino Sarubbo <ago@gentoo.org> zsxd-1.9.0.ebuild: Stable for amd64, wrt bug #547364 diff --git a/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch b/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch deleted file mode 100644 index 289b5ddea87c..000000000000 --- a/games-rpg/zsxd/files/zsxd-1.7.1-paths.patch +++ /dev/null @@ -1,40 +0,0 @@ -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/files/zsxd-1.8.0-paths.patch b/games-rpg/zsxd/files/zsxd-1.8.0-paths.patch deleted file mode 100644 index 289b5ddea87c..000000000000 --- a/games-rpg/zsxd/files/zsxd-1.8.0-paths.patch +++ /dev/null @@ -1,40 +0,0 @@ -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/zsxd-1.7.1-r1.ebuild b/games-rpg/zsxd/zsxd-1.7.1-r1.ebuild deleted file mode 100644 index 95e5b3971d1d..000000000000 --- a/games-rpg/zsxd/zsxd-1.7.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2015 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-r1.ebuild,v 1.3 2015/02/11 23:07:46 ulm 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="" -RESTRICT="mirror bindist" - -RDEPEND=">=games-engines/solarus-1.1.0 - <games-engines/solarus-1.2.0" -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 -} |