summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-05-02 05:06:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-05-02 05:06:06 +0000
commit568d93e0e227ba3aa853bf6173f0014a87372ce9 (patch)
tree6da33ebf63e4779640fd5b04debcce4e3bb4dee7 /games-strategy
parentold (diff)
downloadgentoo-2-568d93e0e227ba3aa853bf6173f0014a87372ce9.tar.gz
gentoo-2-568d93e0e227ba3aa853bf6173f0014a87372ce9.tar.bz2
gentoo-2-568d93e0e227ba3aa853bf6173f0014a87372ce9.zip
old
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wesnoth/Manifest2
-rw-r--r--games-strategy/wesnoth/wesnoth-1.8.ebuild127
2 files changed, 0 insertions, 129 deletions
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index 0a8593f94446..4fc8e4c2a266 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -1,9 +1,7 @@
AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad055ea943485c0a1cf324e39a340c89b00 SHA256 23e250272768e1fb540104b96c96a24da09fedc9f89a6867adcae046160c0065
DIST wesnoth-1.6.5.tar.bz2 230239169 RMD160 7fe957d7eeb61956252d0fc6e9ead74572be43a1 SHA1 232dac3a4327555bf52212cf4420c9ea823220e4 SHA256 7ef047ae364278a5bf9bdc69228f77d825f793f1c4d9adae8b47f0882e7f30d7
DIST wesnoth-1.8.1.tar.bz2 288248141 RMD160 7ab51365fa28c99d4e57f03525e2046bdebc5388 SHA1 3ca14cee94e85382a77f4e8ade72a261e446580e SHA256 7c48ecf11a8789689509ea545e2e63ba75dfc765988b1d08b49c6badf19de24d
-DIST wesnoth-1.8.tar.bz2 287912025 RMD160 d88a2a628353dec11b328dce42a8b790f80cefac SHA1 ff83e5c917fd03c47556165770db69f6c8a8f633 SHA256 f4defab05ccc50abf4e029b58026e9b062bd3c58c8fff2aaa23b4f3e62cf929b
EBUILD wesnoth-1.6.5.ebuild 2597 RMD160 c7c79698115547087ef5a87c85337503912b2263 SHA1 3495fc361d214db98faff4a0e3adb3bce64b5c79 SHA256 d85f60c43de30810ba10ef2036996efc93016838680d3d4811d163cf108e51d4
EBUILD wesnoth-1.8.1.ebuild 3451 RMD160 2e09f12787f3dc7b85166cdc42b1453a5c1ce0d8 SHA1 8a37b31ab043cd314cf19bd5db7081a63e7616b7 SHA256 502029edf0f291451c3b4833a83b539392f40a112ebe5b63499e637f6d6d1cf1
-EBUILD wesnoth-1.8.ebuild 3449 RMD160 9727c1e09ec12c382a5a298d7d65598620cb1aa3 SHA1 27b5c6d81b5a00b5cd2e84de66ead97aa3ffaac3 SHA256 73302f6e5acbdb595165b23c9789d941bb41f3164fe09950da1c630d0307766e
MISC ChangeLog 23421 RMD160 27d583b415b31bbc4d29dadd77c872a78326b9e2 SHA1 9e455f962041df913e90817c5e9e8dbf55e89960 SHA256 d8628fc182dac5ae6dd9844b86c32f7239bb953fbe29212d40f4035efe14c3bd
MISC metadata.xml 330 RMD160 27f21d82f0524f02ac36acfd6116ffd979c930fd SHA1 c2ff910e780424aae4bd9d41eea083824bcdb073 SHA256 286df39ac36cc888d57c6c471a1742218ffe4b1448d410e1dba461c061841ca5
diff --git a/games-strategy/wesnoth/wesnoth-1.8.ebuild b/games-strategy/wesnoth/wesnoth-1.8.ebuild
deleted file mode 100644
index ca885fabed60..000000000000
--- a/games-strategy/wesnoth/wesnoth-1.8.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.8.ebuild,v 1.9 2010/04/09 23:51:11 mr_bones_ Exp $
-
-EAPI=2
-inherit cmake-utils eutils multilib toolchain-funcs flag-o-matic games
-
-DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
-HOMEPAGE="http://www.wesnoth.org/"
-SRC_URI="mirror://sourceforge/wesnoth/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="dbus dedicated doc nls server tinygui"
-
-RDEPEND=">=media-libs/libsdl-1.2.7[video,X]
- media-libs/sdl-net
- >=media-libs/sdl-ttf-2.0.8
- >=media-libs/sdl-mixer-1.2[vorbis]
- >=media-libs/sdl-image-1.2[jpeg,png]
- !dedicated? (
- dbus? ( sys-apps/dbus )
- )
- >=dev-libs/boost-1.35
- sys-libs/zlib
- x11-libs/pango
- dev-lang/lua
- media-libs/fontconfig
- virtual/libintl"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- !dedicated? (
- tinygui? (
- || (
- media-gfx/imagemagick[jpeg,png]
- media-gfx/graphicsmagick[imagemagick,jpeg,png]
- )
- )
- )
- sys-devel/gettext"
-
-src_prepare() {
- if use dedicated || use server ; then
- sed \
- -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
- -e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \
- -e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \
- -e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \
- > "${T}"/wesnothd \
- || die "sed failed"
- fi
- if ! use doc ; then
- sed -i \
- -e '/manual/d' \
- doc/CMakeLists.txt \
- || die "sed failed"
- fi
- # how do I hate boost? Let me count the ways...
- local boost_ver=$(best_version ">=dev-libs/boost-1.35")
-
- boost_ver=${boost_ver/*boost-/}
- boost_ver=${boost_ver%.*}
- boost_ver=${boost_ver/./_}
-
- einfo "Using boost version ${boost_ver}"
- append-cxxflags \
- -I/usr/include/boost-${boost_ver}
- append-ldflags \
- -L/usr/$(get_libdir)/boost-${boost_ver}
- export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
- export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
-}
-
-src_configure() {
- filter-flags -ftracer -fomit-frame-pointer
- if [[ $(gcc-major-version) -eq 3 ]] ; then
- filter-flags -fstack-protector
- append-flags -fno-stack-protector
- fi
- if use dedicated || use server ; then
- mycmakeargs=(
- "-DENABLE_CAMPAIGN_SERVER=TRUE"
- "-DENABLE_SERVER=TRUE"
- "-DSERVER_UID=${GAMES_USER_DED}"
- "-DSERVER_GID=${GAMES_GROUP}"
- "-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd"
- )
- else
- mycmakeargs=(
- "-DENABLE_CAMPAIGN_SERVER=FALSE"
- "-DENABLE_SERVER=FALSE"
- )
- fi
- mycmakeargs+=(
- $(cmake-utils_use_enable !dedicated GAME)
- $(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY)
- $(cmake-utils_use_enable nls NLS)
- $(cmake-utils_use_enable dbus NOTIFICATIONS)
- "-DGUI=$(use tinygui && echo tiny || echo normal)"
- "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
- "-DENABLE_FRIBIDI=FALSE"
- "-DENABLE_STRICT_COMPILATION=FALSE"
- "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
- "-DPREFERENCES_DIR=.wesnoth"
- "-DDATAROOTDIR=${GAMES_DATADIR}"
- "-DBINDIR=${GAMES_BINDIR}"
- "-DICONDIR=/usr/share/pixmaps"
- "-DDESKTOPDIR=/usr/share/applications"
- "-DMANDIR=/usr/share/man"
- "-DDOCDIR=/usr/share/doc/${PF}"
- )
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- DOCS="README changelog players_changelog" cmake-utils_src_install
- if use dedicated || use server; then
- keepdir "${GAMES_STATEDIR}/run/wesnothd"
- doinitd "${T}"/wesnothd || die "doinitd failed"
- fi
- prepgamesdirs
-}