diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/hedgewars/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/hedgewars/files/hedgewars-0.9.20-paths.patch | 27 | ||||
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.20.ebuild | 75 |
3 files changed, 5 insertions, 103 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog index 0a43125013be..3b87624807e0 100644 --- a/games-strategy/hedgewars/ChangeLog +++ b/games-strategy/hedgewars/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/hedgewars # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.60 2014/08/27 07:51:08 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.61 2014/09/06 01:08:44 mr_bones_ Exp $ + + 06 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> + -files/hedgewars-0.9.20-paths.patch, -hedgewars-0.9.20.ebuild: + old *hedgewars-0.9.20.5 (27 Aug 2014) diff --git a/games-strategy/hedgewars/files/hedgewars-0.9.20-paths.patch b/games-strategy/hedgewars/files/hedgewars-0.9.20-paths.patch deleted file mode 100644 index 2c87c5fe500c..000000000000 --- a/games-strategy/hedgewars/files/hedgewars-0.9.20-paths.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b13a712224a5fa80e427f3ff46dbb4ae600097c4 Mon Sep 17 00:00:00 2001 -From: hasufell <hasufell@gentoo.org> -Date: Wed, 25 Dec 2013 18:29:30 +0100 -Subject: [PATCH] BUILD: make binary/libdir destinations modifiable - ---- - cmake_modules/paths.cmake | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/cmake_modules/paths.cmake b/cmake_modules/paths.cmake -index ddf2623..aefe67a 100644 ---- a/cmake_modules/paths.cmake -+++ b/cmake_modules/paths.cmake -@@ -14,8 +14,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) - - #resource paths - if(UNIX AND NOT APPLE) -- set(target_binary_install_dir "bin") -- set(target_library_install_dir "lib") -+ set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries") -+ set(target_library_install_dir "lib" CACHE PATH "install dest for libs") - - string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start) - if (NOT (${sharepath_start} MATCHES "/")) --- -1.8.5.2 - diff --git a/games-strategy/hedgewars/hedgewars-0.9.20.ebuild b/games-strategy/hedgewars/hedgewars-0.9.20.ebuild deleted file mode 100644 index fbd559a4fbea..000000000000 --- a/games-strategy/hedgewars/hedgewars-0.9.20.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.20.ebuild,v 1.2 2014/05/15 17:04:23 ulm Exp $ - -# TODO: when physfs-2.1.0 hits the tree, set -# -DPHYSFS_SYSTEM=ON - -EAPI=5 -CMAKE_BUILD_TYPE=Release -inherit cmake-utils eutils games - -MY_P=${PN}-src-${PV} -DESCRIPTION="A turn-based strategy, artillery, action and comedy game" -HOMEPAGE="http://hedgewars.org/" -SRC_URI="http://download.gna.org/hedgewars/${MY_P}.tar.bz2" - -LICENSE="GPL-2 Apache-2.0 FDL-1.3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -QA_FLAGS_IGNORED=${GAMES_BINDIR}/hwengine # pascal sucks -QA_PRESTRIPPED=${GAMES_BINDIR}/hwengine # pascal sucks - -RDEPEND=" - dev-lang/lua - dev-qt/qtcore:4 - dev-qt/qtgui:4 - media-libs/freeglut - media-libs/libpng:0 - media-libs/libsdl[sound,opengl,video] - media-libs/sdl-image[png] - media-libs/sdl-mixer[vorbis] - media-libs/sdl-net - media-libs/sdl-ttf - sys-libs/zlib - virtual/ffmpeg" -DEPEND="${RDEPEND} - >=dev-lang/fpc-2.4" -RDEPEND="${RDEPEND} - >=media-fonts/dejavu-2.28" - -S=${WORKDIR}/${PN}-src-${PV} - -src_prepare() { - epatch "${FILESDIR}"/${P}-paths.patch -} - -src_configure() { - local mycmakeargs=( - -DMINIMAL_FLAGS=ON - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DDATA_INSTALL_DIR="${GAMES_DATADIR}/${PN}" - -Dtarget_binary_install_dir="${GAMES_BINDIR}" - -Dtarget_library_install_dir="$(games_get_libdir)" - -DNOSERVER=TRUE - -DCMAKE_VERBOSE_MAKEFILE=TRUE - -DPHYSFS_SYSTEM=OFF - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - DOCS="ChangeLog.txt README" cmake-utils_src_install - rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf - dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ - "${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf - newicon QTfrontend/res/hh25x25.png ${PN}.png - make_desktop_entry ${PN} Hedgewars - doman man/${PN}.6 - prepgamesdirs -} |