summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-06 20:04:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-06 20:04:50 +0000
commit436997af11d25a2aa6cbab51224952a1e9bd0282 (patch)
tree0167e33e350e75c80d96fe238bfebccaede38892 /games-util/xqf
parentsop, #117939 (diff)
downloadgentoo-2-436997af11d25a2aa6cbab51224952a1e9bd0282.tar.gz
gentoo-2-436997af11d25a2aa6cbab51224952a1e9bd0282.tar.bz2
gentoo-2-436997af11d25a2aa6cbab51224952a1e9bd0282.zip
Added gtk2 patch for bug #114149.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-util/xqf')
-rw-r--r--games-util/xqf/ChangeLog12
-rw-r--r--games-util/xqf/files/digest-xqf-1.0.4-r11
-rw-r--r--games-util/xqf/files/gtk2.patch24
-rw-r--r--games-util/xqf/xqf-1.0.4-r1.ebuild51
4 files changed, 85 insertions, 3 deletions
diff --git a/games-util/xqf/ChangeLog b/games-util/xqf/ChangeLog
index ffad4c5b9681..7febca4d3e01 100644
--- a/games-util/xqf/ChangeLog
+++ b/games-util/xqf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-util/xqf
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/xqf/ChangeLog,v 1.20 2005/10/21 05:11:12 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/xqf/ChangeLog,v 1.21 2006/01/06 20:04:50 wolf31o2 Exp $
+
+*xqf-1.0.4-r1 (06 Jan 2006)
+
+ 06 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> +files/gtk2.patch,
+ +xqf-1.0.4-r1.ebuild:
+ Added gtk2 patch for bug #114149.
*xqf-1.0.4 (21 Oct 2005)
@@ -111,7 +117,7 @@
fix sourceforge mirroring.
13 April 2002; Bart Verwilst <verwilst@gentoo.org>: just added a
- description, and cleaned up the $Header: /var/cvsroot/gentoo-x86/games-util/xqf/ChangeLog,v 1.20 2005/10/21 05:11:12 vapier Exp $
+ description, and cleaned up the $Header: /var/cvsroot/gentoo-x86/games-util/xqf/ChangeLog,v 1.21 2006/01/06 20:04:50 wolf31o2 Exp $
*xqf-0.9.8 (6 Apr 2002)
diff --git a/games-util/xqf/files/digest-xqf-1.0.4-r1 b/games-util/xqf/files/digest-xqf-1.0.4-r1
new file mode 100644
index 000000000000..c98a2d254b07
--- /dev/null
+++ b/games-util/xqf/files/digest-xqf-1.0.4-r1
@@ -0,0 +1 @@
+MD5 d060838d0846b3846076e4ed02fc2b34 xqf-1.0.4.tar.gz 720455
diff --git a/games-util/xqf/files/gtk2.patch b/games-util/xqf/files/gtk2.patch
new file mode 100644
index 000000000000..68f8605bd4ed
--- /dev/null
+++ b/games-util/xqf/files/gtk2.patch
@@ -0,0 +1,24 @@
+Index: xqf/src/Makefile.am
+===================================================================
+--- xqf.orig/src/Makefile.am
++++ xqf/src/Makefile.am
+@@ -34,7 +34,7 @@ xqf_LDADD = $(INTLLIBS) \
+ $(GDK_PIXBUF_LIBS) \
+ -lz
+
+-xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir)
++xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir) -Wl,--export-dynamic -Wl,--version-script=$(top_srcdir)/src/xqf.map
+
+ # we need to specify all deps manually due to dummy libs
+ xqf_DEPENDENCIES = \
+Index: xqf/src/xqf.map
+===================================================================
+--- /dev/null
++++ xqf/src/xqf.map
+@@ -0,0 +1,6 @@
++{
++ global:
++ *_xpm;
++ local:
++ *;
++};
diff --git a/games-util/xqf/xqf-1.0.4-r1.ebuild b/games-util/xqf/xqf-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..8f7e0fa93878
--- /dev/null
+++ b/games-util/xqf/xqf-1.0.4-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/xqf/xqf-1.0.4-r1.ebuild,v 1.1 2006/01/06 20:04:50 wolf31o2 Exp $
+
+DESCRIPTION="A server browser for many FPS games (frontend for qstat)"
+HOMEPAGE="http://www.linuxgames.com/xqf/"
+SRC_URI="mirror://sourceforge/xqf/${P}.tar.gz"
+
+inherit eutils
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="nls geoip bzip2 gtk2"
+
+DEPEND="
+ gtk2? ( =x11-libs/gtk+-2* )
+ !gtk2? ( =x11-libs/gtk+-1* media-libs/gdk-pixbuf )
+ nls? ( sys-devel/gettext )
+ geoip? ( dev-libs/geoip )
+ bzip2? ( app-arch/bzip2 )"
+RDEPEND="${DEPEND}
+ >=games-util/qstat-2.8"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/gtk2.patch
+ # "splash.png" is pretty generic #55949
+ sed -i \
+ -e 's:splash\.png:xqfsplash.png:' \
+ src/{splash,dialogs}.c pixmaps/Makefile.in \
+ || die "sed failed"
+ mv pixmaps/{,xqf}splash.png || die "mv failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable geoip) \
+ $(use_enable bzip2) \
+ $(use_enable debug) \
+ $(use_enable gtk2) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+}