From 6c18b7ca621c9343bf9f4601b13b978e8215a8e0 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 30 May 2012 20:06:38 +0000 Subject: force revbump to unblock dev-games/ogre[threads] wrt #418279 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) --- games-rpg/sumwars/ChangeLog | 8 ++- games-rpg/sumwars/sumwars-0.5.6-r1.ebuild | 103 ------------------------------ games-rpg/sumwars/sumwars-0.5.6-r2.ebuild | 103 ++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 104 deletions(-) delete mode 100644 games-rpg/sumwars/sumwars-0.5.6-r1.ebuild create mode 100644 games-rpg/sumwars/sumwars-0.5.6-r2.ebuild (limited to 'games-rpg/sumwars') diff --git a/games-rpg/sumwars/ChangeLog b/games-rpg/sumwars/ChangeLog index da4eecb87907..5c6a12928ad4 100644 --- a/games-rpg/sumwars/ChangeLog +++ b/games-rpg/sumwars/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-rpg/sumwars # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/sumwars/ChangeLog,v 1.1 2012/05/21 21:49:31 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/sumwars/ChangeLog,v 1.2 2012/05/30 20:06:38 hasufell Exp $ + +*sumwars-0.5.6-r2 (30 May 2012) + + 30 May 2012; Julian Ospald -sumwars-0.5.6-r1.ebuild, + +sumwars-0.5.6-r2.ebuild: + force revbump to unblock dev-games/ogre[threads] wrt #418279 *sumwars-0.5.6-r1 (21 May 2012) diff --git a/games-rpg/sumwars/sumwars-0.5.6-r1.ebuild b/games-rpg/sumwars/sumwars-0.5.6-r1.ebuild deleted file mode 100644 index 040fcbfd15cb..000000000000 --- a/games-rpg/sumwars/sumwars-0.5.6-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2012 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-r1.ebuild,v 1.1 2012/05/21 21:49:31 hasufell Exp $ - -EAPI=3 - -inherit cmake-utils eutils 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 CCPL-Attribution-ShareAlike-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 - -DEPEND=" - >=dev-games/cegui-0.7.6-r1[ogre] - !>=dev-games/cegui-0.8 - >=dev-games/ogre-1.7.0[freeimage,opengl,-threads] - !>=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 )" - -S=${WORKDIR}/${PN}-${PV%_*} - -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch -} - -src_configure() { - 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 - insinto /usr/share/icons/hicolor/128x128/apps - newins share/icon/SumWarsIcon_128x128.png ${PN}.png - make_desktop_entry ${PN} "Summoning Wars" - prepalldocs - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild b/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild new file mode 100644 index 000000000000..840c78d883ae --- /dev/null +++ b/games-rpg/sumwars/sumwars-0.5.6-r2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2012 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.1 2012/05/30 20:06:38 hasufell Exp $ + +EAPI=3 + +inherit cmake-utils eutils 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 CCPL-Attribution-ShareAlike-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 + +DEPEND=" + >=dev-games/cegui-0.7.6-r1[ogre] + !>=dev-games/cegui-0.8 + >=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 )" + +S=${WORKDIR}/${PN}-${PV%_*} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_configure() { + 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 + insinto /usr/share/icons/hicolor/128x128/apps + newins share/icon/SumWarsIcon_128x128.png ${PN}.png + make_desktop_entry ${PN} "Summoning Wars" + prepalldocs + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad