diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-28 23:00:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-28 23:00:46 +0000 |
commit | b94b1710d9b109e0d54747228645f28beed666d9 (patch) | |
tree | 970f7ce4334bd42a76115eb0b847d3665fc3ec9d /games-arcade/frozen-bubble | |
parent | Added db4.3 compatability, thanks to Tomas Sedlak, closes bug#153156 (diff) | |
download | gentoo-2-b94b1710d9b109e0d54747228645f28beed666d9.tar.gz gentoo-2-b94b1710d9b109e0d54747228645f28beed666d9.tar.bz2 gentoo-2-b94b1710d9b109e0d54747228645f28beed666d9.zip |
Version bump #153131 by Dobromir Stefanov.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'games-arcade/frozen-bubble')
4 files changed, 119 insertions, 1 deletions
diff --git a/games-arcade/frozen-bubble/ChangeLog b/games-arcade/frozen-bubble/ChangeLog index 7e3e43b9b7df..2a089a3985c7 100644 --- a/games-arcade/frozen-bubble/ChangeLog +++ b/games-arcade/frozen-bubble/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/frozen-bubble # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.21 2006/07/30 07:36:21 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.22 2006/10/28 23:00:46 vapier Exp $ + +*frozen-bubble-2.0.0 (28 Oct 2006) + + 28 Oct 2006; Mike Frysinger <vapier@gentoo.org> + +files/frozen-bubble-2.0.0-build.patch, +frozen-bubble-2.0.0.ebuild: + Version bump #153131 by Dobromir Stefanov. 30 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org> frozen-bubble-1.0.0-r6.ebuild: diff --git a/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.0.0 b/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.0.0 new file mode 100644 index 000000000000..3cf31cc611d7 --- /dev/null +++ b/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.0.0 @@ -0,0 +1,3 @@ +MD5 9fdd84f56e5221e6c58c12eab72459d9 frozen-bubble-2.0.0.tar.bz2 19841986 +RMD160 eae7c46df27b7af3d363e64dcac8fe824c67185b frozen-bubble-2.0.0.tar.bz2 19841986 +SHA256 7c6f9406cec25ba9a2971ac406f62ff43ac702479817ab3020b64ab03e225235 frozen-bubble-2.0.0.tar.bz2 19841986 diff --git a/games-arcade/frozen-bubble/files/frozen-bubble-2.0.0-build.patch b/games-arcade/frozen-bubble/files/frozen-bubble-2.0.0-build.patch new file mode 100644 index 000000000000..e0f9f04684c6 --- /dev/null +++ b/games-arcade/frozen-bubble/files/frozen-bubble-2.0.0-build.patch @@ -0,0 +1,34 @@ +--- server/Makefile ++++ server/Makefile +@@ -1,8 +1,9 @@ + PREFIX = /usr/local + LIBDIR = $(PREFIX)/lib + +-CFLAGS ?= -g -Wall -Werror -pipe `pkg-config glib-2.0 --cflags` +-LIBS ?= `pkg-config glib-2.0 --libs` ++CFLAGS ?= -g -Wall -Werror -pipe ++CPPFLAGS += -I. `pkg-config glib-2.0 --cflags` -DVERSION=\"$(shell cat ../VERSION)\" ++LDLIBS = `pkg-config glib-2.0 --libs` + + ALLSRC = fb-server.c log.c tools.c game.c net.c + ALLOBJ = $(subst .c,.o,$(ALLSRC)) +@@ -16,10 +17,6 @@ + all: .depend fb-server + + fb-server: $(ALLOBJ) +- $(CC) $(LIBS) -o $@ $^ +- +-.c.o: +- $(CC) -I. $(CFLAGS) -DVERSION=\"$(shell cat ../VERSION)\" -c $< + + clean: + rm -f fb-server *.o .depend +@@ -29,7 +26,7 @@ + install fb-server $(DESTDIR)$(LIBDIR)/frozen-bubble + + .depend: +- $(CPP) $(CFLAGS) -M $(ALLSRC) > .depend ++ $(CPP) $(CFLAGS) $(CPPFLAGS) -M $(ALLSRC) > .depend + + ifeq (.depend,$(wildcard .depend)) + include .depend diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild new file mode 100644 index 000000000000..0b67f17d23b1 --- /dev/null +++ b/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild,v 1.1 2006/10/28 23:00:46 vapier Exp $ + +inherit eutils multilib perl-module games + +DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)" +HOMEPAGE="http://www.frozen-bubble.org/" +SRC_URI="http://www.frozen-bubble.org/data/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.6.1 + >=media-libs/sdl-mixer-1.2.3 + media-libs/sdl-pango + dev-perl/sdl-perl" +DEPEND="${RDEPEND} + sys-devel/autoconf" + +pkg_setup() { + if ! built_with_use -a media-libs/sdl-image gif png ; then + ewarn "Frozen-bubble uses GIF and PNG image files." + ewarn "You must emerge media-libs/sdl-image with GIF and PNG support." + ewarn "Please USE=\"gif png\" emerge media-libs/sdl-image" + die "Cannot emerge without gif and png USE flags on sdl-image" + fi + if ! built_with_use media-libs/sdl-mixer mikmod ; then + ewarn "You must emerge media-libs/sdl-mixer with mikmod support." + ewarn " USE=mikmod emerge media-libs/sdl-mixer" + die "missing mikmod USE flag for sdl-mixer" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + + sed -i \ + -e 's:INSTALLDIRS=.*:PREFIX=${D}/usr:' \ + c_stuff/Makefile \ + || die 'sed failed' +} + +src_compile() { + emake \ + PREFIX=/usr \ + BINDIR="${GAMES_BINDIR}" \ + DATADIR="${GAMES_DATADIR}" \ + LIBDIR="${GAMES_LIBDIR}" \ + MANDIR=/usr/share/man \ + || die "emake game failed" +} + +src_install() { + emake \ + PREFIX="${D}/usr" \ + BINDIR="${D}/${GAMES_BINDIR}" \ + DATADIR="${D}/${GAMES_DATADIR}" \ + LIBDIR="${D}/${GAMES_LIBDIR}" \ + MANDIR="${D}/usr/share/man" \ + install \ + || die "make install failed" + dosed /usr/games/bin/frozen-bubble + dodoc AUTHORS NEWS README TIPS + newicon icons/frozen-bubble-icon-48x48.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN}.png + + fixlocalpod + prepgamesdirs +} |