summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-08-14 23:00:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-08-14 23:00:59 +0000
commit1e27c43e8a7bac56b467072a04dd00992e4c93d3 (patch)
treed0ef2f74549fc3a2778bce53d4c4c9ea547789f4 /games-strategy
parentpatch to fix ffmpeg problem, thanks to Stephan <fatty@gsklan.de> in bug 143907 (diff)
downloadgentoo-2-1e27c43e8a7bac56b467072a04dd00992e4c93d3.tar.gz
gentoo-2-1e27c43e8a7bac56b467072a04dd00992e4c93d3.tar.bz2
gentoo-2-1e27c43e8a7bac56b467072a04dd00992e4c93d3.zip
version bump
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wormux/ChangeLog9
-rw-r--r--games-strategy/wormux/files/digest-wormux-0.7.33
-rw-r--r--games-strategy/wormux/files/wormux-0.7.3-fix-gettext-Makefile.patch14
-rw-r--r--games-strategy/wormux/files/wormux-0.7.3-user-CFLAGS.patch13
-rw-r--r--games-strategy/wormux/wormux-0.7.3.ebuild50
5 files changed, 88 insertions, 1 deletions
diff --git a/games-strategy/wormux/ChangeLog b/games-strategy/wormux/ChangeLog
index 107c776d1574..490b9a092529 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.10 2006/06/08 20:07:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.11 2006/08/14 23:00:59 mr_bones_ Exp $
+
+*wormux-0.7.3 (14 Aug 2006)
+
+ 14 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/wormux-0.7.3-fix-gettext-Makefile.patch,
+ +files/wormux-0.7.3-user-CFLAGS.patch, +wormux-0.7.3.ebuild:
+ version bump
*wormux-0.7.2 (08 Jun 2006)
diff --git a/games-strategy/wormux/files/digest-wormux-0.7.3 b/games-strategy/wormux/files/digest-wormux-0.7.3
new file mode 100644
index 000000000000..bd390815a3f3
--- /dev/null
+++ b/games-strategy/wormux/files/digest-wormux-0.7.3
@@ -0,0 +1,3 @@
+MD5 d7d4a3cbe852470c333ab6ad44e2256a wormux-0.7.3.tar.gz 36057375
+RMD160 06abee7abf460c27811261960fa09aacd68a71a8 wormux-0.7.3.tar.gz 36057375
+SHA256 9e5d53483f0c3eaee2df604b0646b9855f0b5096937f84ac66519c4637c429ac wormux-0.7.3.tar.gz 36057375
diff --git a/games-strategy/wormux/files/wormux-0.7.3-fix-gettext-Makefile.patch b/games-strategy/wormux/files/wormux-0.7.3-fix-gettext-Makefile.patch
new file mode 100644
index 000000000000..9d28d6005b08
--- /dev/null
+++ b/games-strategy/wormux/files/wormux-0.7.3-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.3-user-CFLAGS.patch b/games-strategy/wormux/files/wormux-0.7.3-user-CFLAGS.patch
new file mode 100644
index 000000000000..0f6c0973fdc5
--- /dev/null
+++ b/games-strategy/wormux/files/wormux-0.7.3-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.3.ebuild b/games-strategy/wormux/wormux-0.7.3.ebuild
new file mode 100644
index 000000000000..d985be532ebd
--- /dev/null
+++ b/games-strategy/wormux/wormux-0.7.3.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.3.ebuild,v 1.1 2006/08/14 23:00:59 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
+}