diff options
-rw-r--r-- | games-strategy/wormux/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/wormux/files/wormux-0.9.2-gentoo.patch | 37 | ||||
-rw-r--r-- | games-strategy/wormux/wormux-0.9.2.ebuild | 56 |
3 files changed, 100 insertions, 1 deletions
diff --git a/games-strategy/wormux/ChangeLog b/games-strategy/wormux/ChangeLog index e3518083995c..91cf496396d5 100644 --- a/games-strategy/wormux/ChangeLog +++ b/games-strategy/wormux/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/wormux # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.40 2010/03/30 03:20:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.41 2010/04/18 05:19:27 mr_bones_ Exp $ + +*wormux-0.9.2 (18 Apr 2010) + + 18 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org> +wormux-0.9.2.ebuild, + +files/wormux-0.9.2-gentoo.patch: + version bump 30 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> wormux-0.8.5.ebuild, wormux-0.9.1.ebuild: diff --git a/games-strategy/wormux/files/wormux-0.9.2-gentoo.patch b/games-strategy/wormux/files/wormux-0.9.2-gentoo.patch new file mode 100644 index 000000000000..73a1f018f146 --- /dev/null +++ b/games-strategy/wormux/files/wormux-0.9.2-gentoo.patch @@ -0,0 +1,37 @@ +diff -ru wormux-0.9.0.orig/configure.ac wormux-0.9.0/configure.ac +--- wormux-0.9.0.orig/configure.ac 2010-01-26 15:01:12.000000000 -0500 ++++ wormux-0.9.0/configure.ac 2010-02-17 14:41:46.953505745 -0500 +@@ -48,8 +48,6 @@ + dnl === Options for users = + dnl ========================================================================= + +-AX_CFLAGS_WARN_ALL([CXXFLAGS]) +- + AC_ARG_ENABLE([servers], + [AS_HELP_STRING([--enable-servers], + [Enable building the index and game servers @<:@default=no@:>@])], +@@ -375,12 +373,6 @@ + CXXFLAGS="$CXXFLAGS $LIBXML_CFLAGS $LIBPNG_CFLAGS" + LIBS="$LIBS $LIBXML_LIBS $LIBPNG_LIBS" + +-dnl === Add Werror flag for gcc/g++ if debug mode is enabled ============== +-if test "x${debug}" = "xyes"; then +- CFLAGS="$CFLAGS -Werror" +- CXXFLAGS="$CXXFLAGS -Werror" +-fi +- + dnl ======================================================================== + dnl == Check for header files = + dnl ======================================================================== +diff -ru wormux-0.9.0.orig/data/Makefile.am wormux-0.9.0/data/Makefile.am +--- wormux-0.9.0.orig/data/Makefile.am 2010-01-10 09:23:32.000000000 -0500 ++++ wormux-0.9.0/data/Makefile.am 2010-02-17 14:42:10.353509871 -0500 +@@ -1,8 +1,2 @@ +-xdg_appsdir = $(prefix)/share/applications +-xdg_apps_DATA = wormux.desktop +-pixmapsdir = $(prefix)/share/pixmaps +-pixmaps_DATA = wormux_128x128.png +- + nobase_dist_pkgdata_DATA = @DATA_FILES@ + pkgdatadir = @DATADIR@ +-EXTRA_DIST = $(pixmaps_DATA) diff --git a/games-strategy/wormux/wormux-0.9.2.ebuild b/games-strategy/wormux/wormux-0.9.2.ebuild new file mode 100644 index 000000000000..581d8069e840 --- /dev/null +++ b/games-strategy/wormux/wormux-0.9.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.9.2.ebuild,v 1.1 2010/04/18 05:19: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/wormux/${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 )" + +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/wormux.svg + make_desktop_entry wormux Wormux + prepgamesdirs +} |