summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-31 17:40:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-31 17:40:23 +0000
commitd141fd0a38688dd5c35f91de9f5b0f2f2523b9fb (patch)
tree8fb90d0fb11fa175fdfe718af050643353fc09b2 /games-arcade
parentinitial import with Henrique Dias wrt #454600 (diff)
downloadgentoo-2-d141fd0a38688dd5c35f91de9f5b0f2f2523b9fb.tar.gz
gentoo-2-d141fd0a38688dd5c35f91de9f5b0f2f2523b9fb.tar.bz2
gentoo-2-d141fd0a38688dd5c35f91de9f5b0f2f2523b9fb.zip
version bump (bug #452246); clean old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/lbreakout2/ChangeLog12
-rw-r--r--games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch25
-rw-r--r--games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch (renamed from games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch)25
-rw-r--r--games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild (renamed from games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild)42
4 files changed, 57 insertions, 47 deletions
diff --git a/games-arcade/lbreakout2/ChangeLog b/games-arcade/lbreakout2/ChangeLog
index c1895363955c..2691f404d996 100644
--- a/games-arcade/lbreakout2/ChangeLog
+++ b/games-arcade/lbreakout2/ChangeLog
@@ -1,6 +1,14 @@
# 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.35 2011/09/16 22:34:43 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.36 2013/01/31 17:40:22 mr_bones_ Exp $
+
+*lbreakout2-2.6.4 (31 Jan 2013)
+
+ 31 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/lbreakout2-2.6.4-gentoo.patch, +lbreakout2-2.6.4.ebuild,
+ -files/lbreakout2-2.6.2-gentoo.patch, -lbreakout2-2.6.2.ebuild,
+ files/lbreakout2-2.6.3-gentoo.patch:
+ version bump (bug #452246); clean old
16 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org> lbreakout2-2.6.3.ebuild:
bump the levelset version (bug #383261)
diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch
index 05afd36dc820..365274c581b9 100644
--- a/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch
+++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch
@@ -1,6 +1,5 @@
-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
+--- lbreakout2-2.6.1.orig/Makefile.am
++++ lbreakout2-2.6.1/Makefile.am
@@ -1,13 +1,8 @@
SUBDIRS = intl m4 po common gui game server client docs
@@ -17,9 +16,8 @@ diff -ru lbreakout2-2.6.1.orig/Makefile.am lbreakout2-2.6.1/Makefile.am
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
+--- lbreakout2-2.6.1.orig/common/gettext.h
++++ lbreakout2-2.6.1/common/gettext.h
@@ -24,6 +24,7 @@
/* Get declarations of GNU message catalog functions. */
@@ -28,9 +26,8 @@ diff -ru lbreakout2-2.6.1.orig/common/gettext.h lbreakout2-2.6.1/common/gettext.
#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
+--- lbreakout2-2.6.1.orig/configure.in
++++ lbreakout2-2.6.1/configure.in
@@ -80,8 +80,6 @@
[ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" )
AC_SUBST(netdebug_flag)
@@ -40,9 +37,8 @@ diff -ru lbreakout2-2.6.1.orig/configure.in lbreakout2-2.6.1/configure.in
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
+--- lbreakout2-2.6.1.orig/docs/Makefile.am
++++ lbreakout2-2.6.1/docs/Makefile.am
@@ -7,11 +7,11 @@
warp.jpg screen.jpg
@@ -58,9 +54,8 @@ diff -ru lbreakout2-2.6.1.orig/docs/Makefile.am lbreakout2-2.6.1/docs/Makefile.a
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
+--- lbreakout2-2.6.1.orig/po/Makefile.in.in
++++ lbreakout2-2.6.1/po/Makefile.in.in
@@ -24,7 +24,7 @@
exec_prefix = @exec_prefix@
datadir = @datadir@
diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch
index 05afd36dc820..365274c581b9 100644
--- a/games-arcade/lbreakout2/files/lbreakout2-2.6.2-gentoo.patch
+++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch
@@ -1,6 +1,5 @@
-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
+--- lbreakout2-2.6.1.orig/Makefile.am
++++ lbreakout2-2.6.1/Makefile.am
@@ -1,13 +1,8 @@
SUBDIRS = intl m4 po common gui game server client docs
@@ -17,9 +16,8 @@ diff -ru lbreakout2-2.6.1.orig/Makefile.am lbreakout2-2.6.1/Makefile.am
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
+--- lbreakout2-2.6.1.orig/common/gettext.h
++++ lbreakout2-2.6.1/common/gettext.h
@@ -24,6 +24,7 @@
/* Get declarations of GNU message catalog functions. */
@@ -28,9 +26,8 @@ diff -ru lbreakout2-2.6.1.orig/common/gettext.h lbreakout2-2.6.1/common/gettext.
#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
+--- lbreakout2-2.6.1.orig/configure.in
++++ lbreakout2-2.6.1/configure.in
@@ -80,8 +80,6 @@
[ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" )
AC_SUBST(netdebug_flag)
@@ -40,9 +37,8 @@ diff -ru lbreakout2-2.6.1.orig/configure.in lbreakout2-2.6.1/configure.in
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
+--- lbreakout2-2.6.1.orig/docs/Makefile.am
++++ lbreakout2-2.6.1/docs/Makefile.am
@@ -7,11 +7,11 @@
warp.jpg screen.jpg
@@ -58,9 +54,8 @@ diff -ru lbreakout2-2.6.1.orig/docs/Makefile.am lbreakout2-2.6.1/docs/Makefile.a
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
+--- lbreakout2-2.6.1.orig/po/Makefile.in.in
++++ lbreakout2-2.6.1/po/Makefile.in.in
@@ -24,7 +24,7 @@
exec_prefix = @exec_prefix@
datadir = @datadir@
diff --git a/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild
index 8c4b03a479f8..eefbfb8f1596 100644
--- a/games-arcade/lbreakout2/lbreakout2-2.6.2.ebuild
+++ b/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 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.4 2011/03/04 01:31:12 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild,v 1.1 2013/01/31 17:40:22 mr_bones_ Exp $
-EAPI=2
-inherit autotools flag-o-matic eutils games
+EAPI=5
+inherit autotools eutils flag-o-matic gnome2-utils games
-levels_V=20100920
-themes_V=20070514
+levels_V=20120815
+themes_V=20111026
DESCRIPTION="Breakout clone written with the SDL library"
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
@@ -16,10 +16,10 @@ SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="nls themes"
-RDEPEND="media-libs/libpng
+RDEPEND="media-libs/libpng:0
sys-libs/zlib
media-libs/libsdl[audio,joystick,video]
media-libs/sdl-net
@@ -44,7 +44,7 @@ src_unpack() {
# 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}"
+ unzip -q "$f" && rm -f "$f" || die
done
fi
}
@@ -57,7 +57,6 @@ src_prepare() {
src_configure() {
filter-flags -O?
egamesconf \
- --disable-dependency-tracking \
--enable-sdl-net \
--localedir=/usr/share/locale \
--with-docdir="/usr/share/doc/${PF}/html" \
@@ -65,17 +64,30 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS README TODO ChangeLog
+ default
if use themes ; then
insinto "${GAMES_DATADIR}/lbreakout2/gfx"
- doins -r "${WORKDIR}/themes/"* || die
+ doins -r "${WORKDIR}/themes/"*
fi
- newicon client/gfx/win_icon.png lbreakout2.png
+ newicon client/gfx/win_icon.png ${PN}.png
+ newicon -s 32 client/gfx/win_icon.png ${PN}.png
make_desktop_entry lbreakout2 LBreakout2
prepgamesdirs
}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}