diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-09 16:37:19 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-09 16:37:19 +0000 |
commit | 06ac3a0480fb6b83ead251bcc4fbbb9daf9420a0 (patch) | |
tree | 8d5f314b2fd6e32aece1fa83f1c98597e5ba9d26 /games-arcade/lbreakout2 | |
parent | Add a new version that (optionally) installs an updater script rather than in... (diff) | |
download | historical-06ac3a0480fb6b83ead251bcc4fbbb9daf9420a0.tar.gz historical-06ac3a0480fb6b83ead251bcc4fbbb9daf9420a0.tar.bz2 historical-06ac3a0480fb6b83ead251bcc4fbbb9daf9420a0.zip |
version bump
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-arcade/lbreakout2')
-rw-r--r-- | games-arcade/lbreakout2/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/lbreakout2/Manifest | 5 | ||||
-rw-r--r-- | games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch | 72 | ||||
-rw-r--r-- | games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild | 81 |
4 files changed, 164 insertions, 2 deletions
diff --git a/games-arcade/lbreakout2/ChangeLog b/games-arcade/lbreakout2/ChangeLog index 0bd6d6879af3..cbc4dbf2d23b 100644 --- a/games-arcade/lbreakout2/ChangeLog +++ b/games-arcade/lbreakout2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/lbreakout2 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.30 2011/03/04 01:31:12 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.31 2011/03/09 16:37:19 mr_bones_ Exp $ + +*lbreakout2-2.6.3 (09 Mar 2011) + + 09 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org> + +lbreakout2-2.6.3.ebuild, +files/lbreakout2-2.6.3-gentoo.patch: + version bump 04 Mar 2011; Brent Baude <ranger@gentoo.org> lbreakout2-2.6.2.ebuild: stable ppc, bug 344349 diff --git a/games-arcade/lbreakout2/Manifest b/games-arcade/lbreakout2/Manifest index ef44df32e86a..ccfcb06c4a17 100644 --- a/games-arcade/lbreakout2/Manifest +++ b/games-arcade/lbreakout2/Manifest @@ -1,11 +1,14 @@ 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 +AUX lbreakout2-2.6.3-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-2.6.3.tar.gz 3403150 RMD160 24b4717b642c5e544c1917dc86de61f2fcfde392 SHA1 6d09ca1e5b50116efb4f17ac86cee53b081c2229 SHA256 85a1364510535d8e066b9a25466c667c3da32463e03daf4c998f117afbddef0e 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 EBUILD lbreakout2-2.6.2.ebuild 2088 RMD160 2f94d9d678e419efde90683dac3f21d568bf5945 SHA1 de39e890446b14682157d0ec29f28dda4000575d SHA256 4364970d7bfd48d5fb0148901bd7c3cd202ea14dbccaf34d744dab69c4cae650 -MISC ChangeLog 5912 RMD160 f8cd5127ba5e6b7c6b3707fefbe84c890cbfdbf1 SHA1 341116ab66dcb8be290e0f26bc38c82b72918139 SHA256 76d29b14ad0c9151122ec279a17a89b4698ab3b4b27d10f51835a00c413d45f1 +EBUILD lbreakout2-2.6.3.ebuild 2094 RMD160 25607a834aa53aa76e22acd873066269b1268be9 SHA1 45299a9068f6e3fa02b5dcfe59ebad24017e6080 SHA256 56593f0b41c2f54d3472abdd6c857ae58e366e022b20fc333fb40daaa78a7cd3 +MISC ChangeLog 6085 RMD160 25b925dd715ef60aa3f0be63349ca193b3cb2313 SHA1 4d1b2248453cfedce39076832404976440f5201d SHA256 d28c61359cbdfc5792bc99717cc27e318bedbb7ea7acf288d64b67654bbe74e9 MISC metadata.xml 234 RMD160 b328394ae04f3a87eb5554b0ab56a112f007dce1 SHA1 c89d19b338f434c4a612d927ac4370d47a46d378 SHA256 914bf7161d1f04af1a6a2ed65dcdb71d682bb59a717c44d00f4cad70be75b3b4 diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch new file mode 100644 index 000000000000..05afd36dc820 --- /dev/null +++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.3-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.3.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild new file mode 100644 index 000000000000..960f201249eb --- /dev/null +++ b/games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild,v 1.1 2011/03/09 16:37:19 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 +} |