diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-05-12 06:07:31 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-05-12 06:07:31 +0000 |
commit | 07714a52314cd45b0e761cd5f196243a532f48d9 (patch) | |
tree | 63a33249e7d1beee3390c22e737eaaa2b8b53304 | |
parent | Stable on mips. (diff) | |
download | gentoo-2-07714a52314cd45b0e761cd5f196243a532f48d9.tar.gz gentoo-2-07714a52314cd45b0e761cd5f196243a532f48d9.tar.bz2 gentoo-2-07714a52314cd45b0e761cd5f196243a532f48d9.zip |
update levelset file with patch from Denilson via bug #162745
(Portage version: 2.1.2.2)
-rw-r--r-- | games-arcade/lbreakout2/ChangeLog | 6 | ||||
-rw-r--r-- | games-arcade/lbreakout2/files/digest-lbreakout2-2.5.2 | 9 | ||||
-rw-r--r-- | games-arcade/lbreakout2/lbreakout2-2.5.2.ebuild | 40 |
3 files changed, 44 insertions, 11 deletions
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 <mr_bones_@gentoo.org> + lbreakout2-2.5.2.ebuild: + update levelset file with patch from Denilson via bug #162745 24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> lbreakout2-2.5.2.ebuild: Add ~x86-fbsd keyword. 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 |