diff options
-rw-r--r-- | games-strategy/freeciv/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/freeciv/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/freeciv/files/digest-freeciv-1.14.1_beta4 | 1 | ||||
-rw-r--r-- | games-strategy/freeciv/freeciv-1.14.1_beta4.ebuild | 85 |
4 files changed, 95 insertions, 3 deletions
diff --git a/games-strategy/freeciv/ChangeLog b/games-strategy/freeciv/ChangeLog index 6c3c7747d8e3..c27264cccd38 100644 --- a/games-strategy/freeciv/ChangeLog +++ b/games-strategy/freeciv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/freeciv # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.4 2003/10/13 19:17:11 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.5 2003/11/22 02:43:32 mr_bones_ Exp $ + +*freeciv-1.14.1_beta4 (21 Nov 2003) + + 21 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> + freeciv-1.14.1_beta4.ebuild: + add beta version with better gtk2 handling 13 Oct 2003; Jason Wever <weeve@gentoo.org> freeciv-1.15.0_alpha20030901.ebuild: diff --git a/games-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest index b5c2aadd456d..4dc14f1b7b69 100644 --- a/games-strategy/freeciv/Manifest +++ b/games-strategy/freeciv/Manifest @@ -1,6 +1,6 @@ -MD5 456e8fb367fecee8b9e2dee43a993501 ChangeLog 2426 +MD5 8bbed4dbf2b05f6c9d01680619ae8be3 ChangeLog 2599 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 -MD5 cb93a0d920503ed2eae8cb2e9ab0d960 freeciv-1.14.1_beta4.ebuild 2139 +MD5 3d3d7d2a9f36b649bb72f2c2d492e511 freeciv-1.14.1_beta4.ebuild 2106 MD5 eaf7d04331d8ca7eb7698f8bbe5b67ac freeciv-1.14.0-r1.ebuild 1722 MD5 19b2ddab0dd955ccecb2d496c82c40da freeciv-1.15.0_alpha20030901.ebuild 2182 MD5 8b6fdd4f29c24339bd0a6622bdfcd871 files/digest-freeciv-1.14.1_beta4 74 diff --git a/games-strategy/freeciv/files/digest-freeciv-1.14.1_beta4 b/games-strategy/freeciv/files/digest-freeciv-1.14.1_beta4 new file mode 100644 index 000000000000..8511fbf49ce2 --- /dev/null +++ b/games-strategy/freeciv/files/digest-freeciv-1.14.1_beta4 @@ -0,0 +1 @@ +MD5 55188bafed83501255d6fed62dea4517 freeciv-1.14.1-beta4.tar.bz2 5805509 diff --git a/games-strategy/freeciv/freeciv-1.14.1_beta4.ebuild b/games-strategy/freeciv/freeciv-1.14.1_beta4.ebuild new file mode 100644 index 000000000000..3b4fb2fc347e --- /dev/null +++ b/games-strategy/freeciv/freeciv-1.14.1_beta4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-1.14.1_beta4.ebuild,v 1.1 2003/11/22 02:43:32 mr_bones_ Exp $ + +inherit games + +S="${WORKDIR}/${PN}-${PV/_/-}" +DESCRIPTION="multiplayer strategy game (Civilization Clone)" +HOMEPAGE="http://www.freeciv.org/" +SRC_URI="ftp://ftp.freeciv.org/freeciv/beta/${PN}-${PV/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="X Xaw3d gtk gtk2 sdl nls" + +DEPEND=">=sys-devel/gettext-0.10.36 + >=sys-devel/autoconf-2.13 + >=sys-devel/automake-1.4 + >=sys-devel/bison-1.35 + sys-libs/zlib + X? ( virtual/x11 ) + Xaw3d? ( x11-libs/Xaw3d ) + media-libs/sdl-mixer + media-libs/sdl-image + >=media-libs/libsdl-1.1.4 + gtk? ( + !gtk2? ( + =x11-libs/gtk+-1* + >=dev-libs/glib-1.2.5 + >=media-libs/imlib-1.9.2 + ) + gtk2? ( + >=x11-libs/gtk+-2.0.0 + >=dev-libs/glib-2.0.0 + >=dev-libs/atk-1.0.3 + >=x11-libs/pango-1.0.5 + ) + >=media-libs/libogg-1.0 + >=media-libs/libvorbis-1.0-r2 + )" + +src_compile() { + local myconf="--enable-client=no" + + use X \ + && myconf="${myconf} --enable-client=xaw --with-x" \ + || myconf="${myconf} --disable-client=xaw --without-x" + + use Xaw3d \ + && myconf="${myconf} --enable-client=xaw3d --disable-gtktest" + + if [ `use gtk` ] ; then + myconf="${myconf} --enable-gtktest" + if [ `use gtk2` ] ; then + myconf="${myconf} --enable-client=gtk-2.0" + else + myconf="${myconf} --enable-client=gtk" + fi + else + myconf="${myconf} --disable-client --disable-gtktest" + fi + + egamesconf \ + --disable-dependency-tracking \ + --with-zlib \ + `use_enable nls` \ + ${myconf} || die + emake || die "emake failed" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/${GAMES_DATADIR} install || \ + die "make install failed" + + use gtk || /bin/install -D -m 644 \ + ${S}/data/Freeciv \ + ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv || \ + die "install failed" + + dodoc ChangeLog INSTALL NEWS \ + doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO} || \ + die "dodoc failed" + prepgamesdirs +} |