diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-05 15:30:27 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-05 15:30:27 +0000 |
commit | f2abbc7685ea8a3d5b3fd2a124d06da5b5a35d1f (patch) | |
tree | d8707fc6b110e84f3843337190dda2a78920e950 /games-strategy | |
parent | Punt static library and .la file archive. (diff) | |
download | gentoo-2-f2abbc7685ea8a3d5b3fd2a124d06da5b5a35d1f.tar.gz gentoo-2-f2abbc7685ea8a3d5b3fd2a124d06da5b5a35d1f.tar.bz2 gentoo-2-f2abbc7685ea8a3d5b3fd2a124d06da5b5a35d1f.zip |
version bump
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/warmux/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/warmux/files/warmux-11.04.1-gentoo.patch | 40 | ||||
-rw-r--r-- | games-strategy/warmux/warmux-11.04.1.ebuild | 58 |
3 files changed, 105 insertions, 1 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/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 +} |