summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-05-05 15:30:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-05-05 15:30:27 +0000
commitf01e76bbffc211c33ed543bf993b2fe01bdc6035 (patch)
tree0f3c96e31c8d57498ae6e672ba0b241dcca213c7 /games-strategy
parentPunt static library and .la file archive. (diff)
downloadhistorical-f01e76bbffc211c33ed543bf993b2fe01bdc6035.tar.gz
historical-f01e76bbffc211c33ed543bf993b2fe01bdc6035.tar.bz2
historical-f01e76bbffc211c33ed543bf993b2fe01bdc6035.zip
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/warmux/ChangeLog8
-rw-r--r--games-strategy/warmux/Manifest5
-rw-r--r--games-strategy/warmux/files/warmux-11.04.1-gentoo.patch40
-rw-r--r--games-strategy/warmux/warmux-11.04.1.ebuild58
4 files changed, 109 insertions, 2 deletions
diff --git a/games-strategy/warmux/ChangeLog b/games-strategy/warmux/ChangeLog
index 06b08d691b95..3da8bd45469e 100644
--- a/games-strategy/warmux/ChangeLog
+++ b/games-strategy/warmux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/warmux
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warmux/ChangeLog,v 1.5 2011/04/19 19:02:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warmux/ChangeLog,v 1.6 2011/05/05 15:30:27 mr_bones_ Exp $
+
+*warmux-11.04.1 (05 May 2011)
+
+ 05 May 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +warmux-11.04.1.ebuild, +files/warmux-11.04.1-gentoo.patch:
+ version bump
*warmux-11.04 (19 Apr 2011)
diff --git a/games-strategy/warmux/Manifest b/games-strategy/warmux/Manifest
index 1a32498e9cd2..dd995374bcea 100644
--- a/games-strategy/warmux/Manifest
+++ b/games-strategy/warmux/Manifest
@@ -1,8 +1,11 @@
AUX warmux-11.01-gentoo.patch 2357 RMD160 52739232b3e687f6bad7d89d030d131883edc4eb SHA1 de55cb4dc0f1360e64222ea4dfb402a8d8e2cd2e SHA256 3e6c4ede46abc92291a4a51a37334e2c67fba15579a34bb6d4f2044b01966897
AUX warmux-11.04-gentoo.patch 1538 RMD160 ef578508f4173c7a3552a6a9293ef2afc1352019 SHA1 08b2def6bdd6be84da0c7e6171dd1c88d2761c3d SHA256 71cc67b020e74cf8d91e2694918cde86399eb57734036e3070d49cf07e1bb656
+AUX warmux-11.04.1-gentoo.patch 1538 RMD160 ef578508f4173c7a3552a6a9293ef2afc1352019 SHA1 08b2def6bdd6be84da0c7e6171dd1c88d2761c3d SHA256 71cc67b020e74cf8d91e2694918cde86399eb57734036e3070d49cf07e1bb656
DIST warmux-11.01.tar.bz2 110379327 RMD160 85a7bbfed5ca2ccbd793a12d7ea548948a747a88 SHA1 18e5d5bf144f069405c75ff8fe51296d9a7871a5 SHA256 f06171958ad26b142b039844789d578168451665a8594820750f81a5941f06b8
+DIST warmux-11.04.1.tar.bz2 110083622 RMD160 badd055d0e10e364cfa140a76f39ec0956c674c0 SHA1 375dbeb43a56a047daa4fcea49a9802f4b308795 SHA256 789c4f353e4c5ce0a2aba2e82861d3fd0e5218bc76d8da1a332f2c7b1b27e4ee
DIST warmux-11.04.tar.bz2 110024383 RMD160 35c92a117e0b5b6832ff4a479ca19dfd0f5c5dff SHA1 fc4ff80aa11754c2ad1aeba5de1ea905439a1712 SHA256 e9c00de548360ea7f6378d0c3c21c31aeb3ec7e2edb0b673a452334f99bd54dd
EBUILD warmux-11.01.ebuild 1495 RMD160 536e778adf78c681ee3430ea3163d9fa77f0d3ba SHA1 a1604793edcea0dd14f17d1a4bb452520f0c9361 SHA256 f0bad4dfa8d5187efb324bd63934ac9bdf31f1bd02b58da949e5d266d639e114
+EBUILD warmux-11.04.1.ebuild 1531 RMD160 686aaebf088b5d76a052a5204d2cf5302cc0fd41 SHA1 979acb16c0a445f512a1b58ad63ad52d36f6b9e4 SHA256 c549ae9149f14e5090827d5e2f1244d5b50ab3f95e43819b2aa8acddb0d12901
EBUILD warmux-11.04.ebuild 1501 RMD160 0e4d4813c605e599a8a6775fa7f7a956eae2df29 SHA1 2c73baf602a5111e164e39ddf3a8953d40334405 SHA256 88362d8a9fda1a63bf1bba0f75bfa8d11e8a72ccbd9f3f00c9d19655f1bf7701
-MISC ChangeLog 7402 RMD160 54a6c87b383f91884afbd2ca8bf8996a816ebb7a SHA1 6503bb4be80a159e3b0ae78217a47602e310477b SHA256 26a709bc02d2105092c3362a0464de603df238561882c50220b9dddac2c82f01
+MISC ChangeLog 7566 RMD160 bd592085a26322a1af422d27bfff56fc606882eb SHA1 ee491d8099fc87a8305caf61536c3eb6e6926648 SHA256 f3830a15508048783fd89c078b4ca2852e57c376c1332a3ddb193571675ca413
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch b/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch
new file mode 100644
index 000000000000..0121fb576d94
--- /dev/null
+++ b/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch
@@ -0,0 +1,40 @@
+diff -ru warmux-11.04.orig/configure.ac warmux-11.04/configure.ac
+--- warmux-11.04.orig/configure.ac 2011-04-18 16:46:12.000000000 -0400
++++ warmux-11.04/configure.ac 2011-04-19 11:17:27.380256500 -0400
+@@ -43,8 +43,6 @@
+ AC_MSG_ERROR([*** No C++ compiler can be found!])
+ fi
+
+-AX_CFLAGS_WARN_ALL([CXXFLAGS])
+-
+ # ==========================================================================
+ # == Set flags for various environments =
+ # ==========================================================================
+@@ -348,14 +346,7 @@
+ exit 1
+ fi
+
+-dnl === Add Werror flag for gcc/g++ if debug mode is enabled, ==============
+-dnl === but allow RTTI (ie dynamic_cast, typeid/typeinfo unavailable) ======
+-if test "x${debug}" = "xyes"; then
+- CFLAGS="$CFLAGS -Werror"
+- CXXFLAGS="$CXXFLAGS -Werror"
+-else
+- CXXFLAGS="$CXXFLAGS -fno-rtti"
+-fi
++CXXFLAGS="$CXXFLAGS -fno-rtti"
+
+ dnl === Forbid exceptions (Android platform requirement) ===================
+ CXXFLAGS="$CXXFLAGS -fno-exceptions"
+diff -ru warmux-11.04.orig/data/Makefile.am warmux-11.04/data/Makefile.am
+--- warmux-11.04.orig/data/Makefile.am 2011-04-18 16:46:11.000000000 -0400
++++ warmux-11.04/data/Makefile.am 2011-04-19 11:17:45.134724536 -0400
+@@ -1,8 +1,2 @@
+-xdg_appsdir = $(prefix)/share/applications
+-xdg_apps_DATA = warmux.desktop warmux_files.desktop
+-pixmapsdir = $(prefix)/share/pixmaps
+-pixmaps_DATA = icon/warmux_128x128.png
+-
+ nobase_dist_pkgdata_DATA = @DATA_FILES@
+ pkgdatadir = @DATADIR@
+-EXTRA_DIST = $(pixmaps_DATA)
diff --git a/games-strategy/warmux/warmux-11.04.1.ebuild b/games-strategy/warmux/warmux-11.04.1.ebuild
new file mode 100644
index 000000000000..8e1d4a842376
--- /dev/null
+++ b/games-strategy/warmux/warmux-11.04.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warmux/warmux-11.04.1.ebuild,v 1.1 2011/05/05 15:30:27 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A free Worms clone"
+HOMEPAGE="http://www.wormux.org/"
+SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="debug nls unicode"
+
+RDEPEND="media-libs/libsdl[joystick,video]
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ media-libs/sdl-gfx
+ net-misc/curl
+ media-fonts/dejavu
+ dev-libs/libxml2
+ x11-libs/libX11
+ nls? ( virtual/libintl )
+ unicode? ( dev-libs/fribidi )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}"/${PN}-11.04
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-localedir-name=/usr/share/locale \
+ --with-datadir-name="${GAMES_DATADIR}/${PN}" \
+ --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable unicode fribidi)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ rm -f "${D}${GAMES_DATADIR}/${PN}/font/DejaVuSans.ttf"
+ doicon data/icon/warmux.svg || die
+ make_desktop_entry warmux Warmux || die
+ prepgamesdirs
+}