diff options
author | Michael Kunz (Protogenes) <Michael.Kunz@s2005.tu-chemnitz.de> | 2012-03-06 19:14:27 +0000 |
---|---|---|
committer | Michael Kunz (Protogenes) <Michael.Kunz@s2005.tu-chemnitz.de> | 2012-03-06 19:14:27 +0000 |
commit | 547d8519b2aea0c6e92943fc91eadcbb9d46739e (patch) | |
tree | 3beb5198cf2518e3bc1a4b11855eaae7cdff5563 /games-rpg | |
parent | www-client/torbrowser: elog clarified, wrapper changed (diff) | |
download | sunrise-reviewed-547d8519b2aea0c6e92943fc91eadcbb9d46739e.tar.gz sunrise-reviewed-547d8519b2aea0c6e92943fc91eadcbb9d46739e.tar.bz2 sunrise-reviewed-547d8519b2aea0c6e92943fc91eadcbb9d46739e.zip |
games-rpg/sumwars: New Ebuild for 383377 thanks to Thomas, Mike and Julian.
svn path=/sunrise/; revision=12777
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/sumwars/ChangeLog | 11 | ||||
-rw-r--r-- | games-rpg/sumwars/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/sumwars/metadata.xml | 11 | ||||
-rw-r--r-- | games-rpg/sumwars/sumwars-0.5.6.ebuild | 80 | ||||
-rw-r--r-- | games-rpg/sumwars/sumwars-9999.ebuild | 83 |
5 files changed, 190 insertions, 0 deletions
diff --git a/games-rpg/sumwars/ChangeLog b/games-rpg/sumwars/ChangeLog new file mode 100644 index 000000000..487e7c639 --- /dev/null +++ b/games-rpg/sumwars/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-rpg/sumwars +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*sumwars-9999 (05 Mar 2012) +*sumwars-0.5.6 (05 Mar 2012) + + 05 Mar 2012; Michael Kunz (Protogenes) <Michael.Kunz@s2005.tu-chemnitz.de> + +sumwars-0.5.6.ebuild, +sumwars-9999.ebuild, +metadata.xml: + New Ebuild for 383377 thanks to Thomas, Mike and Julian. + diff --git a/games-rpg/sumwars/Manifest b/games-rpg/sumwars/Manifest new file mode 100644 index 000000000..f3aacad8b --- /dev/null +++ b/games-rpg/sumwars/Manifest @@ -0,0 +1,5 @@ +DIST sumwars-0.5.6-src.tar.bz2 100407198 RMD160 ac7d2c08eb4d2f9f4d4b454cd1d8b38af9255148 SHA1 1acaab279f5d94fb6599f2c0f91c79a1bfab7c7e SHA256 d180ed30d7e78efef3d7169aea9abb3bb2a7df465de4487d7a99056a6b85810a +EBUILD sumwars-0.5.6.ebuild 1978 RMD160 99a511086c409ff2be9e7e444bc3d88f45c69270 SHA1 0e32751bc94e63774fc562c26382287b08334403 SHA256 fa562b79b198faf03ef873c2183964af114271c53c32b96f112d2cb43a242363 +EBUILD sumwars-9999.ebuild 2021 RMD160 5a1c7715422c2be8339c80909fd3bd1be4c39ab4 SHA1 90fda78b2f54feb8575ddc3ec24d01ada1ca60e2 SHA256 2c4a3653d785fdc9ec646f0c542e1909605bbe1db98f6b90e5c5bc01729acb74 +MISC ChangeLog 375 RMD160 c1aff4f659431c6347c737ff0c29a020ad6d4c5b SHA1 f32f14b72d324f7e01158f026b82690221564cee SHA256 102469c17e1b2ea0dfdd02b7024f37231f35849674b61c8abe081ee779c8e652 +MISC metadata.xml 406 RMD160 8315bb9ec0864029a4d099442b175683607630be SHA1 3a71676063c755f517d5f443ce351ad8b2d2cba6 SHA256 10a0484230a491b938d1a031e5d5e5e2d859ccac7069aed72f7ce447e35c7597 diff --git a/games-rpg/sumwars/metadata.xml b/games-rpg/sumwars/metadata.xml new file mode 100644 index 000000000..18bc0169c --- /dev/null +++ b/games-rpg/sumwars/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> + <use> + <flag name='stl'>Compile with TIXML_USE_STL support in <pkg>dev-libs/tinyxml</pkg>.</flag> + <flag name="tools">Compile with additional game tools like content editor.</flag> + </use> +</pkgmetadata> diff --git a/games-rpg/sumwars/sumwars-0.5.6.ebuild b/games-rpg/sumwars/sumwars-0.5.6.ebuild new file mode 100644 index 000000000..33e3560fc --- /dev/null +++ b/games-rpg/sumwars/sumwars-0.5.6.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit games cmake-utils flag-o-matic eutils + +SRC_URI="mirror://sourceforge/sumwars/${P//_/-}-src.tar.bz2" + +DESCRIPTION="a multi-player, 3D action role-playing game" +HOMEPAGE="http://sumwars.org" + +LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+stl +tools debug" + +LANGS="de en it pl pt ru uk" +for L in ${LANGS} ; do + IUSE="${IUSE} linguas_${L}" +done + +DEPEND=" + >=dev-games/cegui-0.7.6-r1[ogre] + !>=dev-games/cegui-0.8 + >=dev-games/ogre-1.7.0 + !>=dev-games/ogre-1.9 + dev-games/ois + dev-games/physfs + ~dev-lang/lua-5.1.4 + dev-libs/tinyxml[stl=] + 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 )" + +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${PV%_*} + +pkg_setup() { + ewarn "Orge3D currently doesn't work with USE-flag 'threads' under some circumstances." + ewarn "If you experience a problem running $P please rebuild dev-games/ogre with USE -threads." + ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=307205#c25" +} + +src_configure() { + use stl && append-flags -DTIXML_USE_STL + use debug && CMAKE_BUILD_TYPE=Debug + [ -z "${LINGUAS}" ] && LINGUAS="en" + + # configure sumwars with cmake + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="/usr" + -DSUMWARS_LANGUAGES="${LINGUAS}" + -DSUMWARS_NO_TINYXML=ON + -DSUMWARS_NO_ENET=ON + -DSUMWARS_DOC_DIR="share/doc/${PF}" + -DSUMWARS_EXECUTABLE_DIR="${GAMES_BINDIR#/usr/}" + -DSUMWARS_SHARE_DIR="${GAMES_DATADIR#/usr/}/${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_install() { + cmake-utils_src_install + prepgamesdirs + newicon share/icon/SumWars.ico ${PN}.ico + make_desktop_entry ${PN} "Summoning Wars" ${PN}.ico +} diff --git a/games-rpg/sumwars/sumwars-9999.ebuild b/games-rpg/sumwars/sumwars-9999.ebuild new file mode 100644 index 000000000..9f9f18ff4 --- /dev/null +++ b/games-rpg/sumwars/sumwars-9999.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ $Header: $ + +EAPI=3 + +inherit games cmake-utils flag-o-matic eutils mercurial + +EHG_REPO_URI="https://bitbucket.org/sumwars/sumwars-code" +EHG_REVISION="default" +EHG_PROJECT="${PN}" +SRC_URI="" + +DESCRIPTION="a multi-player, 3D action role-playing game" +HOMEPAGE="http://sumwars.org" + +LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="" +IUSE="+stl +tools debug" + +LANGS="de en it pl pt ru uk" +for L in ${LANGS} ; do + IUSE="${IUSE} linguas_${L}" +done + +DEPEND=" + >=dev-games/cegui-0.7.6-r1[ogre] + !>=dev-games/cegui-0.8 + >=dev-games/ogre-1.7.0 + !>=dev-games/ogre-1.9 + dev-games/ois + dev-games/physfs + ~dev-lang/lua-5.1.4 + dev-libs/tinyxml[stl=] + 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 )" + +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +pkg_setup() { + ewarn "Orge3D currently doesn't work with USE-flag 'threads' under some circumstances." + ewarn "If you experience a problem running $P please rebuild dev-games/ogre with USE -threads." + ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=307205#c25" +} + +src_configure() { + use stl && append-flags -DTIXML_USE_STL + use debug && CMAKE_BUILD_TYPE=Debug + [ -z "${LINGUAS}" ] && LINGUAS="en" + + # configure sumwars with cmake + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="/usr" + -DSUMWARS_LANGUAGES="${LINGUAS}" + -DSUMWARS_NO_TINYXML=ON + -DSUMWARS_NO_ENET=ON + -DSUMWARS_DOC_DIR="share/doc/${PF}" + -DSUMWARS_EXECUTABLE_DIR="${GAMES_BINDIR#/usr/}" + -DSUMWARS_SHARE_DIR="${GAMES_DATADIR#/usr/}/${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_install() { + cmake-utils_src_install + prepgamesdirs + newicon share/icon/SumWars.ico ${PN}.ico + make_desktop_entry ${PN} "Summoning Wars" ${PN}.ico +} |