summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-12 18:44:34 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-12 18:44:34 +0000
commit9fb630fa5c27213f72293cdd659e142da221e8ad (patch)
tree6266f0cebaf2e24d7806c5a66ad82c40586ef5ab /games-arcade/lbreakout2
parentold (diff)
downloadgentoo-2-9fb630fa5c27213f72293cdd659e142da221e8ad.tar.gz
gentoo-2-9fb630fa5c27213f72293cdd659e142da221e8ad.tar.bz2
gentoo-2-9fb630fa5c27213f72293cdd659e142da221e8ad.zip
old
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade/lbreakout2')
-rw-r--r--games-arcade/lbreakout2/ChangeLog6
-rw-r--r--games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch67
-rw-r--r--games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild81
3 files changed, 5 insertions, 149 deletions
diff --git a/games-arcade/lbreakout2/ChangeLog b/games-arcade/lbreakout2/ChangeLog
index 33aba62bacb5..3d13092bb714 100644
--- a/games-arcade/lbreakout2/ChangeLog
+++ b/games-arcade/lbreakout2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/lbreakout2
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.41 2015/02/21 12:26:43 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.42 2015/03/12 18:44:34 mr_bones_ Exp $
+
+ 12 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/lbreakout2-2.6.3-gentoo.patch, -lbreakout2-2.6.3.ebuild:
+ old
21 Feb 2015; Agostino Sarubbo <ago@gentoo.org> lbreakout2-2.6.4.ebuild:
Stable for ppc, wrt bug #539518
diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch
deleted file mode 100644
index 365274c581b9..000000000000
--- a/games-arcade/lbreakout2/files/lbreakout2-2.6.3-gentoo.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- 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
-
- 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
---- 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. */
- # include <libintl.h>
-+# include <locale.h>
-
- #else
-
---- 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)
-
--dnl set localedir
--localedir=$datadir/locale
- locdir_flag="-DLOCALEDIR=\\\"$localedir\\\""
-
- dnl installation&highscore path
---- lbreakout2-2.6.1.orig/docs/Makefile.am
-+++ lbreakout2-2.6.1/docs/Makefile.am
-@@ -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 \
---- 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@
- 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
deleted file mode 100644
index d166e4edbbce..000000000000
--- a/games-arcade/lbreakout2/lbreakout2-2.6.3.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2014 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.6 2014/05/15 16:29:19 ulm Exp $
-
-EAPI=2
-inherit autotools flag-o-matic eutils games
-
-levels_V=20110610
-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[sound,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
-}