summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:28 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:50:53 +0100
commit9eda983a4c7aafded339288a11e26e1402058bd1 (patch)
tree341a8917618a057c97cc4f47baba8ca3f0812f26 /games-rpg/sumwars/sumwars-0.5.8.ebuild
parentgames-rpg/runescape-launcher: Remove old (diff)
downloadgentoo-9eda983a4c7aafded339288a11e26e1402058bd1.tar.gz
gentoo-9eda983a4c7aafded339288a11e26e1402058bd1.tar.bz2
gentoo-9eda983a4c7aafded339288a11e26e1402058bd1.zip
games-rpg/sumwars: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-rpg/sumwars/sumwars-0.5.8.ebuild')
-rw-r--r--games-rpg/sumwars/sumwars-0.5.8.ebuild98
1 files changed, 0 insertions, 98 deletions
diff --git a/games-rpg/sumwars/sumwars-0.5.8.ebuild b/games-rpg/sumwars/sumwars-0.5.8.ebuild
deleted file mode 100644
index 1dc20aae9a65..000000000000
--- a/games-rpg/sumwars/sumwars-0.5.8.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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} l10n_${L}"
-done
-unset L
-
-RDEPEND="
- >=dev-games/cegui-0.8[ogre]
- >=dev-games/ogre-1.7.4-r1[freeimage,opengl]
- dev-games/ois
- dev-games/physfs
- >=dev-lang/lua-5.1:0
- >=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/libX11
- x11-libs/libXrandr
- tools? ( dev-libs/boost )"
-DEPEND=${RDEPEND}
-
-S=${WORKDIR}/${PN}-${PV%_*}
-
-src_configure() {
- # QA
- append-flags -fno-strict-aliasing
-
- use debug && CMAKE_BUILD_TYPE=Debug
-
- local l langs
- for l in ${LANGS}; do
- if use l10n_${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
-}