1 |
mr_bones_ 09/12/30 20:51:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lbreakout2-2.6.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 games-arcade/lbreakout2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/lbreakout2/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/lbreakout2/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/lbreakout2/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 22 Feb 2009 23:50:59 -0000 1.21 |
23 |
+++ ChangeLog 30 Dec 2009 20:51:20 -0000 1.22 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-arcade/lbreakout2 |
26 |
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.21 2009/02/22 23:50:59 mr_bones_ Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/ChangeLog,v 1.22 2009/12/30 20:51:20 mr_bones_ Exp $ |
30 |
+ |
31 |
+*lbreakout2-2.6.1 (30 Dec 2009) |
32 |
+ |
33 |
+ 30 Dec 2009; Michael Sterrett <mr_bones_@g.o> |
34 |
+ +lbreakout2-2.6.1.ebuild, +files/lbreakout2-2.6.1-gentoo.patch: |
35 |
+ version bump |
36 |
|
37 |
22 Feb 2009; Michael Sterrett <mr_bones_@g.o> |
38 |
lbreakout2-2.5.2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-arcade/lbreakout2/lbreakout2-2.6.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lbreakout2-2.6.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout2/lbreakout2-2.6.1.ebuild,v 1.1 2009/12/30 20:51:20 mr_bones_ Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit autotools flag-o-matic eutils games |
55 |
|
56 |
levels_V=20091026 |
57 |
themes_V=20070514 |
58 |
|
59 |
DESCRIPTION="Breakout clone written with the SDL library" |
60 |
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LBreakout2" |
61 |
SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz |
62 |
mirror://sourceforge/lgames/${PN}-levelsets-${levels_V}.tar.gz |
63 |
themes? ( mirror://sourceforge/lgames/${PN}-themes-${themes_V}.tar.gz )" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd" |
68 |
IUSE="nls themes" |
69 |
|
70 |
RDEPEND="media-libs/libpng |
71 |
sys-libs/zlib |
72 |
media-libs/libsdl[audio,joystick,video] |
73 |
media-libs/sdl-net |
74 |
media-libs/sdl-mixer |
75 |
nls? ( virtual/libintl )" |
76 |
DEPEND="${RDEPEND} |
77 |
nls? ( sys-devel/gettext )" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${P}.tar.gz |
81 |
|
82 |
cd "${S}/client/levels" |
83 |
unpack ${PN}-levelsets-${levels_V}.tar.gz |
84 |
|
85 |
if use themes ; then |
86 |
mkdir "${WORKDIR}/themes" |
87 |
cd "${WORKDIR}/themes" |
88 |
unpack ${PN}-themes-${themes_V}.tar.gz |
89 |
|
90 |
# Delete a few duplicate themes (already shipped with lbreakout2 |
91 |
# tarball). Some of them have different case than built-in themes, so it |
92 |
# is harder to just compare if the filename is the same. |
93 |
rm -f absoluteB.zip oz.zip moiree.zip |
94 |
for f in *.zip; do |
95 |
unzip -q "$f" && rm -f "$f" || die "unpacking ${f}" |
96 |
done |
97 |
fi |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
102 |
eautoreconf |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
filter-flags -O? |
107 |
egamesconf \ |
108 |
--enable-sdl-net \ |
109 |
--localedir=/usr/share/locale \ |
110 |
--with-docdir="/usr/share/doc/${PF}/html" \ |
111 |
$(use_enable nls) |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
emake DESTDIR="${D}" install || die "emake install failed" |
116 |
|
117 |
dodoc AUTHORS README TODO ChangeLog |
118 |
|
119 |
if use themes ; then |
120 |
insinto "${GAMES_DATADIR}/lbreakout2/gfx" |
121 |
doins -r "${WORKDIR}/themes/"* || die |
122 |
fi |
123 |
|
124 |
newicon client/gfx/win_icon.png lbreakout2.png |
125 |
make_desktop_entry lbreakout2 LBreakout2 |
126 |
|
127 |
prepgamesdirs |
128 |
} |