diff options
author | 2006-01-06 20:04:50 +0000 | |
---|---|---|
committer | 2006-01-06 20:04:50 +0000 | |
commit | 436997af11d25a2aa6cbab51224952a1e9bd0282 (patch) | |
tree | 0167e33e350e75c80d96fe238bfebccaede38892 /games-util/xqf/xqf-1.0.4-r1.ebuild | |
parent | sop, #117939 (diff) | |
download | gentoo-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/xqf-1.0.4-r1.ebuild')
-rw-r--r-- | games-util/xqf/xqf-1.0.4-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
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 +} |