summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-rpg/sumwars/ChangeLog6
-rw-r--r--games-rpg/sumwars/files/sumwars-0.5.6-build.patch20
-rw-r--r--games-rpg/sumwars/sumwars-0.5.6-r2.ebuild105
3 files changed, 5 insertions, 126 deletions
diff --git a/games-rpg/sumwars/ChangeLog b/games-rpg/sumwars/ChangeLog
index caf5f4d8c8d4..5eae394619b3 100644
--- a/games-rpg/sumwars/ChangeLog
+++ b/games-rpg/sumwars/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/sumwars
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/sumwars/ChangeLog,v 1.18 2015/04/18 16:00:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/sumwars/ChangeLog,v 1.19 2015/04/18 20:32:25 mr_bones_ Exp $
+
+ 18 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/sumwars-0.5.6-build.patch, -sumwars-0.5.6-r2.ebuild:
+ old
18 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> sumwars-0.5.8.ebuild:
EAPI=5
diff --git a/games-rpg/sumwars/files/sumwars-0.5.6-build.patch b/games-rpg/sumwars/files/sumwars-0.5.6-build.patch
deleted file mode 100644
index 2dbfc11e095c..000000000000
--- a/games-rpg/sumwars/files/sumwars-0.5.6-build.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -496,7 +496,7 @@
- # RENAME "sumwars.png")
- #endif()
-
--install(FILES "AUTHORS" "COPYING" "README" # we intentionally avoid installing "INSTALL" here
-+install(FILES "AUTHORS" "README" # we intentionally avoid installing "INSTALL" here
- DESTINATION "${SUMWARS_DOC_DIR}")
-
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/share/data"
-@@ -516,7 +516,7 @@
- SEPARATE_ARGUMENTS(SUMWARS_LANGUAGES)
- foreach(i ${SUMWARS_LANGUAGES})
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/share/translation/${i}"
-- DESTINATION "${SUMWARS_SHARE_DIR}"
-+ DESTINATION "${SUMWARS_SHARE_DIR}/translation"
- FILES_MATCHING PATTERN "*.mo"
- PATTERN ".hg" EXCLUDE
- PATTERN "xmlgettext" EXCLUDE) # both pattern excludes are there to prevent the directories from being created
diff --git a/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild b/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild
deleted file mode 100644
index e9b170a72dd8..000000000000
--- a/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild,v 1.10 2013/08/17 20:30:45 calchan Exp $
-
-EAPI=4
-
-inherit cmake-utils eutils flag-o-matic gnome2-utils games
-
-DESCRIPTION="a multi-player, 3D action role-playing game"
-HOMEPAGE="http://sumwars.org"
-SRC_URI="mirror://sourceforge/sumwars/${P//_/-}-src.tar.bz2"
-
-LICENSE="GPL-3 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+tools debug"
-
-LANGS="de en it pl pt ru uk"
-for L in ${LANGS} ; do
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-RDEPEND="
- !<dev-games/cegui-0.7.6-r1
- <dev-games/cegui-0.8[ogre]
- >=dev-games/ogre-1.7.4-r1[freeimage,opengl]
- !>=dev-games/ogre-1.9
- dev-games/ois
- dev-games/physfs
- =dev-lang/lua-5.1*
- >=dev-libs/tinyxml-2.6.2-r2
- media-libs/freealut
- media-libs/openal
- media-libs/libogg
- media-libs/libvorbis
- >=net-libs/enet-1.3.0
- x11-libs/libXrandr
- tools? ( dev-libs/poco )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${PN}-${PV%_*}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_configure() {
- # QA
- append-flags -fno-strict-aliasing
-
- use debug && CMAKE_BUILD_TYPE=Debug
-
- local l langs
- for l in ${LANGS}; do
- if use linguas_${l}; then
- langs="${langs} ${l}"
- fi
- done
-
- [[ -z "${langs}" ]] && langs="en"
-
- # configure sumwars with cmake
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX=""
- -DSUMWARS_LANGUAGES="${langs}"
- -DSUMWARS_NO_TINYXML=ON
- -DSUMWARS_NO_ENET=ON
- -DSUMWARS_DOC_DIR="/usr/share/doc/${PF}"
- -DSUMWARS_EXECUTABLE_DIR="${GAMES_BINDIR}"
- -DSUMWARS_SHARE_DIR="${GAMES_DATADIR}/${PN}"
- -DSUMWARS_STANDALONE_MODE=OFF
- -DSUMWARS_POST_BUILD_COPY=OFF
- -DSUMWARS_PORTABLE_MODE=OFF
- -DSUMWARS_RANDOM_REGIONS=ON
- $(cmake-utils_use tools SUMWARS_BUILD_TOOLS)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- newicon -s 128 share/icon/SumWarsIcon_128x128.png ${PN}.png
- make_desktop_entry ${PN} "Summoning Wars"
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}