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 | f43d1374b9496658dc478d5f6203a22cac4e90cc (patch) | |
tree | 79189e5c3f930e9655b08457cf324516bb093215 /games-arcade/lbreakout2 | |
parent | hardened-sources-2.6.32-r20 based on 2.6.32.24 + genpatches + grsec-2.2.0-2.6... (diff) | |
download | historical-f43d1374b9496658dc478d5f6203a22cac4e90cc.tar.gz historical-f43d1374b9496658dc478d5f6203a22cac4e90cc.tar.bz2 historical-f43d1374b9496658dc478d5f6203a22cac4e90cc.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade/lbreakout2')
-rw-r--r-- | games-arcade/lbreakout2/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/lbreakout2/Manifest | 6 | ||||
-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 |
4 files changed, 165 insertions, 2 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/Manifest b/games-arcade/lbreakout2/Manifest index d77db5fd4aec..b34ba021cbf8 100644 --- a/games-arcade/lbreakout2/Manifest +++ b/games-arcade/lbreakout2/Manifest @@ -1,7 +1,11 @@ AUX lbreakout2-2.6.1-gentoo.patch 2866 RMD160 0c597800a3038f3f3a7cd503569b17dee9227aee SHA1 0ecaf86d0daeaef3fb972fb95a4f78e06ee6d2d7 SHA256 7e4f3baba7f2f1a167b19edb2472ff9f9c795c9f2093d07142fbc3c0f6f175d7 +AUX lbreakout2-2.6.2-gentoo.patch 2866 RMD160 0c597800a3038f3f3a7cd503569b17dee9227aee SHA1 0ecaf86d0daeaef3fb972fb95a4f78e06ee6d2d7 SHA256 7e4f3baba7f2f1a167b19edb2472ff9f9c795c9f2093d07142fbc3c0f6f175d7 DIST lbreakout2-2.6.1.tar.gz 3390373 RMD160 2ee39c2913cf869efcd2cf8d4d206d5bc2d50e13 SHA1 c2c6ed38345774dfef9bc88bc24df6c8a80ed428 SHA256 0d86f9da3da5fe3eaa5bb4c9d15ba9666e0c35e739b93c220eecd16f729500cb +DIST lbreakout2-2.6.2.tar.gz 3393491 RMD160 5382731dfdef5343957a722a4b23af05ebb0a1b1 SHA1 dc0bdde272351945b48a09277275ac3fd5d513f4 SHA256 3f58eb2dc657572a22103c836277e653d47bf22453355ee1e3b531a72579d616 DIST lbreakout2-levelsets-20091026.tar.gz 253605 RMD160 8952e117406dd743803d71e6c03815f295da485d SHA1 a6eabdc697cce76140d52dda446682b20fb9ff4d SHA256 76185a19eee2432f977e1dc1839598d24deea54ef056116a48432b6a71f76a20 +DIST lbreakout2-levelsets-20100920.tar.gz 257848 RMD160 419c27891eb578aa0d89d625aaa4f380c56042b5 SHA1 e668779921c8c41d491c0304b35df4ae472e8166 SHA256 7e6856128a5d86261527d2eceebdb659cd55745d61ce2988b3a62293b3fcc54c DIST lbreakout2-themes-20070514.tar.gz 24737014 RMD160 c3ed48904f3ad0dcf7907bb000f372db947231fa SHA1 53cd2d367c37672051fcf50098679c9ce04d8501 SHA256 4b9ace34012e2f96ec9847209c6cd038da93ea483e523534f71c4b647fdbb7b3 EBUILD lbreakout2-2.6.1.ebuild 2054 RMD160 84adab9e0b6264468691fa67fadb434431dd7c50 SHA1 5357bca3c90f0eef25c02bee49cf8dc498883380 SHA256 bd46f2f5e5f65eccc0b1f7104b82f86e480b03217eea46294f1e220efbe3a723 -MISC ChangeLog 5417 RMD160 7fc93007b2b1830389104a958de256d7e3cd94f4 SHA1 15525d27562da2ee7d2ee7af66be6dbd14bc0498 SHA256 d407e009cf32743c5d83d20bd1fc4db1e51dde7e7cfad48f98fd49c4cef34b6b +EBUILD lbreakout2-2.6.2.ebuild 2094 RMD160 f9b8827ae68b3304a590e1688463e0664188a30b SHA1 56ca942ea120219f526887eaf213a52b7ea8bc11 SHA256 28161dd6cde2ede1edbe5f71d50caa55d0d1ec5c00ddabe2ff4dd4b2492cbe99 +MISC ChangeLog 5590 RMD160 6f5bfa2cda4229e071c449cfcf2be4f5a9f5d099 SHA1 d46077e8e76dfc3dd9b66db2f319b2af9369d604 SHA256 1cf4baa155cb1c13ad6614c5e74e4aeaa8a7dd3b8fe4176176a8181aa64313dd MISC metadata.xml 234 RMD160 b328394ae04f3a87eb5554b0ab56a112f007dce1 SHA1 c89d19b338f434c4a612d927ac4370d47a46d378 SHA256 914bf7161d1f04af1a6a2ed65dcdb71d682bb59a717c44d00f4cad70be75b3b4 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 +} |