diff options
-rw-r--r-- | games-arcade/koules/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/koules/files/digest-koules-1.4-r2 | 6 | ||||
-rw-r--r-- | games-arcade/koules/koules-1.4-r2.ebuild | 106 |
3 files changed, 119 insertions, 1 deletions
diff --git a/games-arcade/koules/ChangeLog b/games-arcade/koules/ChangeLog index 9586672b6dc6..ed0a9471d617 100644 --- a/games-arcade/koules/ChangeLog +++ b/games-arcade/koules/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/koules # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/koules/ChangeLog,v 1.10 2006/02/11 19:43:04 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/koules/ChangeLog,v 1.11 2006/09/25 20:11:32 mr_bones_ Exp $ + +*koules-1.4-r2 (25 Sep 2006) + + 25 Sep 2006; Michael Sterrett <mr_bones_@gentoo.org> + -koules-1.4-r1.ebuild, +koules-1.4-r2.ebuild: + fix deps (bug #149100) with patch from James Rowe 11 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org> koules-1.4-r1.ebuild: Fixing modular X dependencies and closing bug #121481. diff --git a/games-arcade/koules/files/digest-koules-1.4-r2 b/games-arcade/koules/files/digest-koules-1.4-r2 new file mode 100644 index 000000000000..2046a75d2308 --- /dev/null +++ b/games-arcade/koules/files/digest-koules-1.4-r2 @@ -0,0 +1,6 @@ +MD5 b16677698a084e11e78324098b7a9e57 koules-1.4-gcc3.patch.bz2 5635 +RMD160 cf2751890aff57cc87fa241137e832a0d158ab6d koules-1.4-gcc3.patch.bz2 5635 +SHA256 adf7b6b6353b024088a90b5b80b00a10813a624d2d1a4f63ecebad613ca591d4 koules-1.4-gcc3.patch.bz2 5635 +MD5 0a5ac9e57c8b72e9fc200bc98273235c koules1.4-src.tar.gz 315386 +RMD160 d43eb5cf68abad12d4d8a16789cda43f307b2fe7 koules1.4-src.tar.gz 315386 +SHA256 c36f93feafeebd59983bf44100240e67a84a8bacabd7ee528c93046defe4a21b koules1.4-src.tar.gz 315386 diff --git a/games-arcade/koules/koules-1.4-r2.ebuild b/games-arcade/koules/koules-1.4-r2.ebuild new file mode 100644 index 000000000000..b368487c73f0 --- /dev/null +++ b/games-arcade/koules/koules-1.4-r2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/koules/koules-1.4-r2.ebuild,v 1.1 2006/09/25 20:11:32 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="fast action arcade-style game w/sound and network support" +HOMEPAGE="http://www.ucw.cz/~hubicka/koules/English/" +SRC_URI="http://www.ucw.cz/~hubicka/koules/packages/koules${PV}-src.tar.gz + mirror://gentoo/${P}-gcc3.patch.bz2 + http://dev.gentoo.org/~wolf31o2/sources/dump/${P}-gcc3.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="svga joystick tcltk" + +RDEPEND="|| ( + svga? ( media-libs/svgalib ) + ( + x11-libs/libX11 + x11-libs/libXext + media-fonts/font-schumacher-misc ) + ) + || ( + tcltk? ( dev-lang/tk dev-lang/tcl ) + dev-util/dialog )" + +DEPEND="${RDEPEND} + !svga? ( + x11-proto/xextproto + x11-proto/xproto + x11-misc/gccmakedep + x11-misc/imake + app-text/rman )" + +S=${WORKDIR}/${PN}${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${P}-gcc3.patch + sed -i \ + -e "/^KOULESDIR/s:=.*:=${GAMES_BINDIR}:" \ + -e "/^SOUNDDIR/s:=.*:=${GAMES_DATADIR}/${PN}:" Iconfig \ + || die "sed Iconfig failed" + sed -i \ + -e 's:-c -o $*.o:-c:' \ + -e 's:-S -o $*.s:-S:' \ + -e 's:$(ARCH)::' \ + -e "s:-fomit-frame-pointer -O3 -ffast-math:${CFLAGS}:" \ + Makefile.svgalib || die "sed Makefile.svgalib failed" + use joystick && echo '#define JOYSTICK' >> Iconfig + sed -i \ + -e "s:/usr/local/bin:${GAMES_BINDIR}:" koules \ + || die "sed koules failed" + if use tcltk ; then + sed -i \ + -e "s:/usr/bin/X11:${GAMES_BINDIR}:" \ + -e "s:/usr/local/bin:${GAMES_BINDIR}:" \ + -e "s:/usr/local/lib/koules:${GAMES_DATADIR}/${PN}:" koules.tcl \ + || die "sed koules.tcl failed" + else + sed -i \ + -e 's:exec.*tcl:exec xkoules "$@":' koules \ + || die "sed koules failed" + fi + ln -s xkoules.6 xkoules.man + ln -s xkoules.6 xkoules._man +} + +src_compile() { + mkdir bins + if ! use svga ; then + xmkmf -a + sed -i \ + -e '/SYSDEFS =/d' \ + -e "/^ *CFLAGS =/s:$: ${CFLAGS}:" Makefile \ + || die "sed Makefile failed" + emake -j1 || die "emake X failed" + mv xkoules bins/ + fi + if use svga ; then + make clean + ln -s ../init.o svgalib/ + emake -j1 -f Makefile.svgalib || die "emake svga failed" + mv koules.svga bins/ + fi +} + +src_install() { + dogamesbin koules bins/* || die "dogamesbin failed" + exeinto "${GAMES_DATADIR}/${PN}" + doexe koules.sndsrv.linux || die "doexe failed" + if use tcltk ; then + dogamesbin koules.tcl || die "dogamebin failed (tcl)" + fi + insinto "${GAMES_DATADIR}/${PN}" + doins sounds/* || die "doins failed (sounds)" + + doman xkoules.6 + use svga && doman koules.svga.6 + dodoc README ChangeLog BUGS ANNOUNCE TODO Koules.FAQ + + prepgamesdirs +} |