summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-06-08 20:07:54 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-06-08 20:07:54 +0000
commit471ea9347b5d7aa58407ac4bac7bd85f2a9bab2c (patch)
tree0f5dbb7196a403082e1087873313bbe1ccfc645c
parentversion bump a month late, and nobody told me :( (diff)
downloadgentoo-2-471ea9347b5d7aa58407ac4bac7bd85f2a9bab2c.tar.gz
gentoo-2-471ea9347b5d7aa58407ac4bac7bd85f2a9bab2c.tar.bz2
gentoo-2-471ea9347b5d7aa58407ac4bac7bd85f2a9bab2c.zip
version bump - bug #135894
(Portage version: 2.1_rc4-r4)
-rw-r--r--games-strategy/wormux/ChangeLog9
-rw-r--r--games-strategy/wormux/files/digest-wormux-0.7.23
-rw-r--r--games-strategy/wormux/files/wormux-0.7.2-fix-gettext-Makefile.patch14
-rw-r--r--games-strategy/wormux/files/wormux-0.7.2-user-CFLAGS.patch13
-rw-r--r--games-strategy/wormux/wormux-0.7.2.ebuild50
5 files changed, 88 insertions, 1 deletions
diff --git a/games-strategy/wormux/ChangeLog b/games-strategy/wormux/ChangeLog
index 7caf65394eea..107c776d1574 100644
--- a/games-strategy/wormux/ChangeLog
+++ b/games-strategy/wormux/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-strategy/wormux
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.9 2006/04/27 07:09:32 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.10 2006/06/08 20:07:54 mr_bones_ Exp $
+
+*wormux-0.7.2 (08 Jun 2006)
+
+ 08 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/wormux-0.7.2-fix-gettext-Makefile.patch,
+ +files/wormux-0.7.2-user-CFLAGS.patch, +wormux-0.7.2.ebuild:
+ version bump - bug #135894
*wormux-0.7.1 (27 Apr 2006)
diff --git a/games-strategy/wormux/files/digest-wormux-0.7.2 b/games-strategy/wormux/files/digest-wormux-0.7.2
new file mode 100644
index 000000000000..783aad60a562
--- /dev/null
+++ b/games-strategy/wormux/files/digest-wormux-0.7.2
@@ -0,0 +1,3 @@
+MD5 08d897a89f06cb855709be2904308cac wormux-0.7.2.tar.gz 22294166
+RMD160 7c05a6a8896365f49fdc04283cd272885e3cbe05 wormux-0.7.2.tar.gz 22294166
+SHA256 9ccd69b04c516c7e3e43d3a2c4e04767415a0e883908df245546ba37431dbf58 wormux-0.7.2.tar.gz 22294166
diff --git a/games-strategy/wormux/files/wormux-0.7.2-fix-gettext-Makefile.patch b/games-strategy/wormux/files/wormux-0.7.2-fix-gettext-Makefile.patch
new file mode 100644
index 000000000000..9d28d6005b08
--- /dev/null
+++ b/games-strategy/wormux/files/wormux-0.7.2-fix-gettext-Makefile.patch
@@ -0,0 +1,14 @@
+--- wormux-0.7beta3/po/Makefile.in.orig 2006-01-24 16:07:54.000000000 +0100
++++ wormux-0.7beta3/po/Makefile.in 2006-01-24 16:08:09.000000000 +0100
+@@ -443,9 +443,9 @@
+ @sed -e '/^#/d' $< > t-$@
+ @mv t-$@ $@
+
+-all-local: all-local-@USE_NLS@ $(GMOFILES)
++all-local: all-local-@USE_NLS@
+
+-all-local-yes: stamp-po
++all-local-yes: $(GMOFILES)
+ all-local-no:
+
+ # stamp-po is a timestamp denoting the last time at which the CATALOGS have
diff --git a/games-strategy/wormux/files/wormux-0.7.2-user-CFLAGS.patch b/games-strategy/wormux/files/wormux-0.7.2-user-CFLAGS.patch
new file mode 100644
index 000000000000..0f6c0973fdc5
--- /dev/null
+++ b/games-strategy/wormux/files/wormux-0.7.2-user-CFLAGS.patch
@@ -0,0 +1,13 @@
+--- wormux-0.7/configure.orig 2006-04-04 23:41:28.000000000 +0200
++++ wormux-0.7/configure 2006-04-04 23:43:34.000000000 +0200
+@@ -6752,9 +6752,7 @@
+ GCC_FLAGS="$GCC_FLAGS -Wno-unused-parameter"
+
+ if test "${debug}" = "yes"; then
+- GCC_FLAGS="$GCC_FLAGS -O0 -g -DDEBUG"
+- else
+- GCC_FLAGS="$GCC_FLAGS -O2"
++ GCC_FLAGS="$GCC_FLAGS -DDEBUG"
+ fi
+
+ CFLAGS="$CFLAGS $GCC_FLAGS"
diff --git a/games-strategy/wormux/wormux-0.7.2.ebuild b/games-strategy/wormux/wormux-0.7.2.ebuild
new file mode 100644
index 000000000000..78fa39b9e0b8
--- /dev/null
+++ b/games-strategy/wormux/wormux-0.7.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.7.2.ebuild,v 1.1 2006/06/08 20:07:54 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="A free Worms clone"
+HOMEPAGE="http://www.wormux.org/"
+SRC_URI="http://download.gna.org/wormux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nls"
+
+RDEPEND=">=media-libs/libsdl-1.2.6
+ >=media-libs/sdl-image-1.2
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-ttf-2.0
+ media-libs/sdl-net
+ >=media-libs/sdl-gfx-2.0.13
+ >=dev-cpp/libxmlpp-2.6"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}/${P}-fix-gettext-Makefile.patch" \
+ "${FILESDIR}/${P}-user-CFLAGS.patch"
+}
+
+src_compile() {
+ egamesconf \
+ --with-datadir-name="${GAMES_DATADIR}/${PN}" \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS README
+ newicon data/wormux-32.xpm wormux.xpm
+ make_desktop_entry wormux Wormux wormux.xpm
+ prepgamesdirs
+}