diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-10-06 19:05:49 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-10-06 19:05:49 +0000 |
commit | ff771d71dab6273b3f40a9cd7113c25b3eec59dc (patch) | |
tree | 799864ce0923a01b048f35fbcde2f44dee2498e5 /games-arcade | |
parent | hardened-sources-2.6.32-r20 based on 2.6.32.24 + genpatches + grsec-2.2.0-2.6... (diff) | |
download | gentoo-2-ff771d71dab6273b3f40a9cd7113c25b3eec59dc.tar.gz gentoo-2-ff771d71dab6273b3f40a9cd7113c25b3eec59dc.tar.bz2 gentoo-2-ff771d71dab6273b3f40a9cd7113c25b3eec59dc.zip |
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/lbreakout2/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch | 72 | ||||
-rw-r--r-- | games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild | 81 |
3 files changed, 160 insertions, 1 deletions
diff --git a/games-arcade/lbreakout2/ChangeLog b/games-arcade/lbreakout2/ChangeLog index 4df08d6fd767..1d97d6f868ca 100644 --- a/games-arcade/lbreakout2/ChangeLog +++ b/games-arcade/lbreakout2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/lbreakout2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.26 2010/02/10 04:39:35 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.27 2010/10/06 19:05:49 mr_bones_ Exp $ + +*lbreakout2-2.6.2 (06 Oct 2010) + + 06 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org> + +lbreakout2-2.6.2.ebuild, +files/lbreakout2-2.6.2-gentoo.patch: + version bump 10 Feb 2010; Joseph Jezak <josejx@gentoo.org> lbreakout2-2.6.1.ebuild: Marked ppc stable for bug #302842. diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch new file mode 100644 index 000000000000..05afd36dc820 --- /dev/null +++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch @@ -0,0 +1,72 @@ +diff -ru lbreakout2-2.6.1.orig/Makefile.am lbreakout2-2.6.1/Makefile.am +--- lbreakout2-2.6.1.orig/Makefile.am 2009-10-26 12:43:18.000000000 -0400 ++++ lbreakout2-2.6.1/Makefile.am 2009-12-30 15:44:09.095784859 -0500 +@@ -1,13 +1,8 @@ + SUBDIRS = intl m4 po common gui game server client docs + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +-README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +-lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive +- +-desktopdir = $(datadir)/applications +-desktop_DATA = lbreakout2.desktop +-icondir = $(datadir)/icons +-icon_DATA = lbreakout48.gif ++README-SDL.txt TODO lbreakout2.spec touchall \ ++win32_mancomp win32_preparchive + + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ + TODO lbreakout2.spec ABOUT-NLS +diff -ru lbreakout2-2.6.1.orig/common/gettext.h lbreakout2-2.6.1/common/gettext.h +--- lbreakout2-2.6.1.orig/common/gettext.h 2005-10-19 16:07:57.000000000 -0400 ++++ lbreakout2-2.6.1/common/gettext.h 2009-12-30 15:43:41.924907300 -0500 +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + +diff -ru lbreakout2-2.6.1.orig/configure.in lbreakout2-2.6.1/configure.in +--- lbreakout2-2.6.1.orig/configure.in 2009-12-24 05:49:37.000000000 -0500 ++++ lbreakout2-2.6.1/configure.in 2009-12-30 15:43:54.432781208 -0500 +@@ -80,8 +80,6 @@ + [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" ) + AC_SUBST(netdebug_flag) + +-dnl set localedir +-localedir=$datadir/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation&highscore path +diff -ru lbreakout2-2.6.1.orig/docs/Makefile.am lbreakout2-2.6.1/docs/Makefile.am +--- lbreakout2-2.6.1.orig/docs/Makefile.am 2005-02-16 16:07:25.000000000 -0500 ++++ lbreakout2-2.6.1/docs/Makefile.am 2009-12-30 15:44:55.780855338 -0500 +@@ -7,11 +7,11 @@ + warp.jpg screen.jpg + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 ++ $(mkinstalldirs) $(DESTDIR)$(doc_dir) + @for file in *.jpg; do\ +- $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\ + done +- $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html ++ $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html + + win32-install-script: + @for file in $(EXTRA_DIST); do \ +diff -ru lbreakout2-2.6.1.orig/po/Makefile.in.in lbreakout2-2.6.1/po/Makefile.in.in +--- lbreakout2-2.6.1.orig/po/Makefile.in.in 2009-10-26 11:36:51.000000000 -0400 ++++ lbreakout2-2.6.1/po/Makefile.in.in 2009-12-30 15:44:36.248781296 -0500 +@@ -24,7 +24,7 @@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-localedir = $(datadir)/locale ++localedir = @localedir@ + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild new file mode 100644 index 000000000000..8cdf3d00105b --- /dev/null +++ b/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild,v 1.1 2010/10/06 19:05:49 mr_bones_ Exp $ + +EAPI=2 +inherit autotools flag-o-matic eutils games + +levels_V=20100920 +themes_V=20070514 + +DESCRIPTION="Breakout clone written with the SDL library" +HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LBreakout2" +SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz + mirror://sourceforge/lgames/${PN}-levelsets-${levels_V}.tar.gz + themes? ( mirror://sourceforge/lgames/${PN}-themes-${themes_V}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="nls themes" + +RDEPEND="media-libs/libpng + sys-libs/zlib + media-libs/libsdl[audio,joystick,video] + media-libs/sdl-net + media-libs/sdl-mixer + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}/client/levels" + unpack ${PN}-levelsets-${levels_V}.tar.gz + + if use themes ; then + mkdir "${WORKDIR}/themes" + cd "${WORKDIR}/themes" + unpack ${PN}-themes-${themes_V}.tar.gz + + # Delete a few duplicate themes (already shipped with lbreakout2 + # tarball). Some of them have different case than built-in themes, so it + # is harder to just compare if the filename is the same. + rm -f absoluteB.zip oz.zip moiree.zip + for f in *.zip; do + unzip -q "$f" && rm -f "$f" || die "unpacking ${f}" + done + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -O? + egamesconf \ + --disable-dependency-tracking \ + --enable-sdl-net \ + --localedir=/usr/share/locale \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS README TODO ChangeLog + + if use themes ; then + insinto "${GAMES_DATADIR}/lbreakout2/gfx" + doins -r "${WORKDIR}/themes/"* || die + fi + + newicon client/gfx/win_icon.png lbreakout2.png + make_desktop_entry lbreakout2 LBreakout2 + + prepgamesdirs +} |