summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/meandmyshadow/ChangeLog6
-rw-r--r--games-puzzle/meandmyshadow/files/meandmyshadow-0.3-cmake.patch47
-rw-r--r--games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild70
3 files changed, 5 insertions, 118 deletions
diff --git a/games-puzzle/meandmyshadow/ChangeLog b/games-puzzle/meandmyshadow/ChangeLog
index f71b28424f9b..302fb5834239 100644
--- a/games-puzzle/meandmyshadow/ChangeLog
+++ b/games-puzzle/meandmyshadow/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/meandmyshadow
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/meandmyshadow/ChangeLog,v 1.8 2012/10/17 02:59:13 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/meandmyshadow/ChangeLog,v 1.9 2012/10/24 08:47:55 tupone Exp $
+
+ 24 Oct 2012; Tupone Alfredo <tupone@gentoo.org> -meandmyshadow-0.3.ebuild,
+ -files/meandmyshadow-0.3-cmake.patch:
+ Removing old version
17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
meandmyshadow-0.4.ebuild:
diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.3-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.3-cmake.patch
deleted file mode 100644
index 6900e7a6843b..000000000000
--- a/games-puzzle/meandmyshadow/files/meandmyshadow-0.3-cmake.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Creator: hasufell <julian.ospald@googlemail.com>
-Date: Tue Mar 27 18:07:46 CEST 2012
-
-add Path options to build system
-see https://bugs.gentoo.org/show_bug.cgi?id=408811
-
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -85,12 +85,20 @@
- ${CRYPTO_LIBRARY}
- )
-
--install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION share/meandmyshadow/)
--install(TARGETS meandmyshadow RUNTIME DESTINATION bin)
-+# Path options
-+set(BINDIR "bin" CACHE STRING "Where to install binaries")
-+set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location")
-+set(ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.")
-+set(DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.")
-+
-+# install locations
-+install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${DATAROOTDIR}/meandmyshadow/)
-+install(TARGETS meandmyshadow RUNTIME DESTINATION ${BINDIR})
-+
- if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
-- install(FILES meandmyshadow.desktop DESTINATION share/applications/)
-- install(FILES icons/16x16/meandmyshadow.png DESTINATION share/icons/hicolor/16x16/apps/)
-- install(FILES icons/32x32/meandmyshadow.png DESTINATION share/icons/hicolor/32x32/apps/)
-- install(FILES icons/48x48/meandmyshadow.png DESTINATION share/icons/hicolor/48x48/apps/)
-- install(FILES icons/64x64/meandmyshadow.png DESTINATION share/icons/hicolor/64x64/apps/)
-+ install(FILES meandmyshadow.desktop DESTINATION ${DESKTOPDIR})
-+ install(FILES icons/16x16/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/16x16/apps/)
-+ install(FILES icons/32x32/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/32x32/apps/)
-+ install(FILES icons/48x48/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/48x48/apps/)
-+ install(FILES icons/64x64/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/64x64/apps/)
- endif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
---- src/config.h.in
-+++ src/config.h.in
-@@ -4,7 +4,7 @@
- #if defined(WIN32)
- //#define DATA_PATH
- #else
--#define DATA_PATH "@CMAKE_INSTALL_PREFIX@/share/meandmyshadow/data/"
-+#define DATA_PATH "@DATAROOTDIR@/meandmyshadow/data/"
- #endif
-
- #endif
diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild
deleted file mode 100644
index 0f539515dd0f..000000000000
--- a/games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild,v 1.5 2012/07/14 16:42:27 hasufell Exp $
-
-EAPI=3
-inherit eutils cmake-utils gnome2-utils games
-
-DESCRIPTION="A puzzle/plateform game with a player and its shadow"
-HOMEPAGE="http://meandmyshadow.sourceforge.net/"
-SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
-
-LICENSE="GPL-3 OFL-1.1 CCPL-Attribution-ShareAlike-2.5"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl[audio,video]
- media-libs/sdl-gfx
- media-libs/sdl-ttf
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-image[png]
- dev-libs/openssl
- net-misc/curl
- app-arch/libarchive"
-
-src_prepare() {
- edos2unix CMakeLists.txt src/config.h.in
- sed -i \
- -e '/Version/s/0.3/1.0/' \
- -e 's/Game;//' \
- meandmyshadow.desktop || die
- epatch "${FILESDIR}"/${P}-cmake.patch
- sed -i -e '/-Wall/d' CMakeLists.txt || die
-}
-
-src_configure()
-{
- mycmakeargs=(
- -DCMAKE_VERBOSE_MAKEFILE=TRUE
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
- -DBINDIR="${GAMES_BINDIR}"
- -DDATAROOTDIR="${GAMES_DATADIR}"
- -DICONDIR=/usr/share/icons
- -DDESKTOPDIR=/usr/share/applications
- )
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- DOCS="Controls.txt" cmake-utils_src_install
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}