summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-15 06:16:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-15 06:16:20 +0000
commitaf0f8c7a244306ad4bba83bc5fd809d29a1fbcf8 (patch)
tree28f4770e57086a33d37cba26ae5e7ac632cea6f5 /games-roguelike/crossfire-client
parentVersion bump ( fixes bug #289052 ) (diff)
downloadgentoo-2-af0f8c7a244306ad4bba83bc5fd809d29a1fbcf8.tar.gz
gentoo-2-af0f8c7a244306ad4bba83bc5fd809d29a1fbcf8.tar.bz2
gentoo-2-af0f8c7a244306ad4bba83bc5fd809d29a1fbcf8.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-roguelike/crossfire-client')
-rw-r--r--games-roguelike/crossfire-client/ChangeLog10
-rw-r--r--games-roguelike/crossfire-client/crossfire-client-1.12.0.ebuild64
2 files changed, 72 insertions, 2 deletions
diff --git a/games-roguelike/crossfire-client/ChangeLog b/games-roguelike/crossfire-client/ChangeLog
index 491b0115ad5c..f2804aab2c67 100644
--- a/games-roguelike/crossfire-client/ChangeLog
+++ b/games-roguelike/crossfire-client/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/crossfire-client
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/ChangeLog,v 1.19 2008/02/11 06:08:25 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/ChangeLog,v 1.20 2009/10/15 06:16:20 mr_bones_ Exp $
+
+*crossfire-client-1.12.0 (15 Oct 2009)
+
+ 15 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +crossfire-client-1.12.0.ebuild:
+ Version bump
*crossfire-client-1.11.0 (11 Feb 2008)
diff --git a/games-roguelike/crossfire-client/crossfire-client-1.12.0.ebuild b/games-roguelike/crossfire-client/crossfire-client-1.12.0.ebuild
new file mode 100644
index 000000000000..7c968dcc0732
--- /dev/null
+++ b/games-roguelike/crossfire-client/crossfire-client-1.12.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/crossfire-client-1.12.0.ebuild,v 1.1 2009/10/15 06:16:20 mr_bones_ Exp $
+
+EAPI=2
+inherit games
+
+DESCRIPTION="Client for the nethack-style but more in the line of UO"
+HOMEPAGE="http://crossfire.real-time.com/"
+SRC_URI="mirror://sourceforge/crossfire/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa gtk oss sdl"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ gtk? ( x11-libs/gtk+:2
+ sdl? ( media-libs/libsdl
+ media-libs/sdl-image ) )
+ virtual/glut
+ media-libs/libpng
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -r '/^.TH/s:$: 6:' \
+ $(find . -name "*man") \
+ || die "sed failed"
+}
+
+src_configure() {
+ # bugs in configure script so we cant use $(use_enable ...)
+ local myconf="--disable-dependency-tracking"
+
+ if use gtk ; then
+ use sdl || myconf="${myconf} --disable-sdl"
+ else
+ myconf="${myconf} --disable-gtk"
+ fi
+ if ! use alsa ; then
+ myconf="${myconf} --disable-alsa9 --disable-alsa"
+ fi
+ if ! use alsa && ! use oss ; then
+ myconf="${myconf} --disable-sound"
+ fi
+ egamesconf ${myconf}
+}
+
+src_compile() {
+ # bug 139785
+ if use alsa || use oss ; then
+ emake -j1 -C sound-src || die "sound building failed"
+ fi
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}