From 4f11a840513257cbd38932176748a9dfb2de4222 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 12 May 2007 06:07:31 +0000 Subject: update levelset file with patch from Denilson via bug #162745 Package-Manager: portage-2.1.2.2 --- games-arcade/lbreakout2/ChangeLog | 6 +++- games-arcade/lbreakout2/Manifest | 35 +++++++------------ .../lbreakout2/files/digest-lbreakout2-2.5.2 | 9 +++-- games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild | 40 ++++++++++++++++++---- 4 files changed, 57 insertions(+), 33 deletions(-) (limited to 'games-arcade') diff --git a/games-arcade/lbreakout2/ChangeLog b/games-arcade/lbreakout2/ChangeLog index 75f2a9ca5b56..4e545a6b4df2 100644 --- a/games-arcade/lbreakout2/ChangeLog +++ b/games-arcade/lbreakout2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/lbreakout2 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.18 2007/04/24 15:52:16 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.19 2007/05/12 06:07:31 mr_bones_ Exp $ + + 08 May 2007; Michael Sterrett + lbreakout2-2.5.2.ebuild: + update levelset file with patch from Denilson via bug #162745 24 Apr 2007; Timothy Redaelli lbreakout2-2.5.2.ebuild: Add ~x86-fbsd keyword. diff --git a/games-arcade/lbreakout2/Manifest b/games-arcade/lbreakout2/Manifest index 0df2e15542ff..1cfb466fa8a3 100644 --- a/games-arcade/lbreakout2/Manifest +++ b/games-arcade/lbreakout2/Manifest @@ -1,27 +1,18 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST lbreakout2-2.5.2.tar.gz 2849669 RMD160 bf2031134f26b88899c96890cb994603c4e67f2c SHA1 50a7627c7373178a04467c292e83a1c8e7dc58c6 SHA256 79b0c40114e6e90deab1e8c39ef0739a10a4b3e99df95a0917c3f0237d732b2f -DIST lbreakout2-levelsets-20040319.tar.gz 134873 RMD160 55789c6e732b6f1b5c6329e5b94889dc341566b4 SHA1 bee2540033c920dd8158bcff8b4f0422d4fc9d41 SHA256 4ce3e810e3582688ee2c1ee278a8c402d81a8c9d0f6f953a0283fb3345c8be34 -EBUILD lbreakout2-2.5.2.ebuild 1269 RMD160 1c472fa9bc7c8f319f8ac6a6c28770eb283ec576 SHA1 9f469e81ebefdf15fecfbfda64b71d0e7d3440c8 SHA256 47e568f64b56e08508ce0303f6e0761cd50d1de753ab1886e0ed40a829f888c2 -MD5 a82da226438faf51bd29d597fe7bb421 lbreakout2-2.5.2.ebuild 1269 -RMD160 1c472fa9bc7c8f319f8ac6a6c28770eb283ec576 lbreakout2-2.5.2.ebuild 1269 -SHA256 47e568f64b56e08508ce0303f6e0761cd50d1de753ab1886e0ed40a829f888c2 lbreakout2-2.5.2.ebuild 1269 -MISC ChangeLog 4369 RMD160 80b9104441162c87b852f89fa08df062b10e88d3 SHA1 fdc311299c2893a1c2c607a308062e5da9c13cc9 SHA256 f6c5a938d3aed9a7481d2caf097dc67a74c20b77140c845ed3ae7e90a2f768a3 -MD5 f8bdea727e6a3ca13a578188a4fbf1bf ChangeLog 4369 -RMD160 80b9104441162c87b852f89fa08df062b10e88d3 ChangeLog 4369 -SHA256 f6c5a938d3aed9a7481d2caf097dc67a74c20b77140c845ed3ae7e90a2f768a3 ChangeLog 4369 +DIST lbreakout2-levelsets-20070121.tar.gz 226511 RMD160 175491c006df72aa8e6e105d3404508dd9422c0e SHA1 81a93dd9f5a05591489eeb9c2c4839ef833ecfec SHA256 cd8347b667a00b9d447e712650cec9d563c2ffe6bf80dcf74dd998a6966b152a +DIST lbreakout2-themes-20070121.tar.gz 22649593 RMD160 fdb5a1df5a71fe4b368f29208717da20e7f4711e SHA1 c23e4f469b62b5312aee184df93c0dbf0668dcd2 SHA256 21145059f3dbac54c44e94d16e70f784363f0854ce815ec6fd9c231d52206c6b +EBUILD lbreakout2-2.5.2.ebuild 2133 RMD160 074d5e7a5c5665c856b900d36e46837164ce04bc SHA1 aad3e1d429e99506c8f535c6458e325a28f72945 SHA256 27c1861360c75638c96da5124e914ecf4e76140986e8f7f517adc7a16452c8b9 +MD5 80891130aa78f56d4775ee6c5bb1cbc4 lbreakout2-2.5.2.ebuild 2133 +RMD160 074d5e7a5c5665c856b900d36e46837164ce04bc lbreakout2-2.5.2.ebuild 2133 +SHA256 27c1861360c75638c96da5124e914ecf4e76140986e8f7f517adc7a16452c8b9 lbreakout2-2.5.2.ebuild 2133 +MISC ChangeLog 4519 RMD160 a8fc4e7e422c20c7cced96309f6314e396f5f982 SHA1 c80b52d4e86f900c79b4ee599256f4eb3225dcde SHA256 9a97d42f3096aacc04a846684b5d06218317db444ee56a7fe4fe3ffb6c03786a +MD5 30952fa407e93cc70fd36cccf4ee8a44 ChangeLog 4519 +RMD160 a8fc4e7e422c20c7cced96309f6314e396f5f982 ChangeLog 4519 +SHA256 9a97d42f3096aacc04a846684b5d06218317db444ee56a7fe4fe3ffb6c03786a ChangeLog 4519 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 4a3b1761f7f195776869e2f2c45c62b2 files/digest-lbreakout2-2.5.2 542 -RMD160 031de1a3a7448a19fff44828951f60d11e310b43 files/digest-lbreakout2-2.5.2 542 -SHA256 08d73c2a4ffe155255d11c060cc556c575d3017083d54bf6db38ad92b0a5b999 files/digest-lbreakout2-2.5.2 542 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) - -iD8DBQFGLie2jJyKLBkBVroRAtSmAKCJU2INBMeGrA/avqtKw0VZksbWqQCffVlW -AOt/rkzlsrnBAWb/18eiy6Q= -=Ug1R ------END PGP SIGNATURE----- +MD5 5261348122c10fba7a892caeef221925 files/digest-lbreakout2-2.5.2 828 +RMD160 55cc3fc10f7303fece6797740ae7eb6de8f9fba0 files/digest-lbreakout2-2.5.2 828 +SHA256 2c6ec1d1fdd644345af73b4701815b4fed6545f826c0ac038dff3adc143a0364 files/digest-lbreakout2-2.5.2 828 diff --git a/games-arcade/lbreakout2/files/digest-lbreakout2-2.5.2 b/games-arcade/lbreakout2/files/digest-lbreakout2-2.5.2 index 5674dee5a45e..eb36d45ec734 100644 --- a/games-arcade/lbreakout2/files/digest-lbreakout2-2.5.2 +++ b/games-arcade/lbreakout2/files/digest-lbreakout2-2.5.2 @@ -1,6 +1,9 @@ MD5 ddec8888c86845cedc85b6259d2cd885 lbreakout2-2.5.2.tar.gz 2849669 RMD160 bf2031134f26b88899c96890cb994603c4e67f2c lbreakout2-2.5.2.tar.gz 2849669 SHA256 79b0c40114e6e90deab1e8c39ef0739a10a4b3e99df95a0917c3f0237d732b2f lbreakout2-2.5.2.tar.gz 2849669 -MD5 f6e07da8d5ed369845520f6f035f14ce lbreakout2-levelsets-20040319.tar.gz 134873 -RMD160 55789c6e732b6f1b5c6329e5b94889dc341566b4 lbreakout2-levelsets-20040319.tar.gz 134873 -SHA256 4ce3e810e3582688ee2c1ee278a8c402d81a8c9d0f6f953a0283fb3345c8be34 lbreakout2-levelsets-20040319.tar.gz 134873 +MD5 a4fcbe275a4d013089b6d68b65d416d4 lbreakout2-levelsets-20070121.tar.gz 226511 +RMD160 175491c006df72aa8e6e105d3404508dd9422c0e lbreakout2-levelsets-20070121.tar.gz 226511 +SHA256 cd8347b667a00b9d447e712650cec9d563c2ffe6bf80dcf74dd998a6966b152a lbreakout2-levelsets-20070121.tar.gz 226511 +MD5 81e554e83c2734490f18b53a77c71058 lbreakout2-themes-20070121.tar.gz 22649593 +RMD160 fdb5a1df5a71fe4b368f29208717da20e7f4711e lbreakout2-themes-20070121.tar.gz 22649593 +SHA256 21145059f3dbac54c44e94d16e70f784363f0854ce815ec6fd9c231d52206c6b lbreakout2-themes-20070121.tar.gz 22649593 diff --git a/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild b/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild index 6ece3dadb9a7..2ba5231906ca 100644 --- a/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild +++ b/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild @@ -1,18 +1,22 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild,v 1.6 2007/04/24 15:52:16 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild,v 1.7 2007/05/12 06:07:31 mr_bones_ Exp $ inherit flag-o-matic eutils games +levels_V=20070121 +themes_V=20070121 + 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://gentoo/lbreakout2-levelsets-20040319.tar.gz" +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="alpha amd64 ppc x86 ~x86-fbsd" -IUSE="" +IUSE="themes" DEPEND="media-libs/libpng sys-libs/zlib @@ -24,9 +28,23 @@ GAMES_USE_SDL="nojoystick" #bug #139864 src_unpack() { unpack ${P}.tar.gz - mkdir "${S}/levels" - cd "${S}/levels" - unpack lbreakout2-levelsets-20040319.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_compile() { @@ -44,6 +62,14 @@ src_install() { mv "${D}"/usr/share/doc/${PF}/{lbreakout2,html} dodoc AUTHORS README TODO ChangeLog + if use themes ; then + insinto "${GAMES_DATADIR}/lbreakout2/gfx" + # The next operation is slow. I guess we should display some type of + # progress or something, just like "make install" prints what it is + # doing. + doins -r "${WORKDIR}/themes/"* || die "extra themes installation failed" + fi + newicon client/gfx/win_icon.png lbreakout2.png make_desktop_entry lbreakout2 LBreakout2 -- cgit v1.2.3-65-gdbad