1 |
maksbotan 12/05/30 09:04:21 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: cs2d-0120-r1.ebuild |
5 |
Removed: cs2d-0119.ebuild cs2d-0120.ebuild |
6 |
Log: |
7 |
Move cs2d.png to mirrors, bug 417117. Cosmetic clean-ups, add games herd |
8 |
|
9 |
(Portage version: 2.1.10.63/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 games-action/cs2d/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/metadata.xml?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/metadata.xml?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/metadata.xml?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-action/cs2d/metadata.xml,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- metadata.xml 18 Sep 2011 12:53:25 -0000 1.1 |
25 |
+++ metadata.xml 30 May 2012 09:04:20 -0000 1.2 |
26 |
@@ -2,6 +2,7 @@ |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
<herd>proxy-maintainers</herd> |
30 |
+<herd>games</herd> |
31 |
<maintainer> |
32 |
<email>maksbotan@g.o</email> |
33 |
<name>Maxim Koltsov</name> |
34 |
|
35 |
|
36 |
|
37 |
1.4 games-action/cs2d/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?rev=1.4&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?rev=1.4&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?r1=1.3&r2=1.4 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v |
46 |
retrieving revision 1.3 |
47 |
retrieving revision 1.4 |
48 |
diff -u -r1.3 -r1.4 |
49 |
--- ChangeLog 7 Mar 2012 21:28:29 -0000 1.3 |
50 |
+++ ChangeLog 30 May 2012 09:04:20 -0000 1.4 |
51 |
@@ -1,6 +1,12 @@ |
52 |
# ChangeLog for games-action/cs2d |
53 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.3 2012/03/07 21:28:29 maksbotan Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.4 2012/05/30 09:04:20 maksbotan Exp $ |
56 |
+ |
57 |
+*cs2d-0120-r1 (30 May 2012) |
58 |
+ |
59 |
+ 30 May 2012; Maxim Koltsov <maksbotan@g.o> +cs2d-0120-r1.ebuild, |
60 |
+ -cs2d-0119.ebuild, -cs2d-0120.ebuild, -files/cs2d.png, metadata.xml: |
61 |
+ Move cs2d.png to mirrors, bug 417117. Cosmetic clean-ups, add games herd |
62 |
|
63 |
*cs2d-0120 (07 Mar 2012) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 games-action/cs2d/cs2d-0120-r1.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/cs2d-0120-r1.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/cs2d-0120-r1.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: cs2d-0120-r1.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2012 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/cs2d-0120-r1.ebuild,v 1.1 2012/05/30 09:04:20 maksbotan Exp $ |
78 |
|
79 |
EAPI=2 |
80 |
|
81 |
inherit eutils games |
82 |
|
83 |
DESCRIPTION="Counter-Strike 2D is freeware clone of Counter-Strike with some added features in gameplay." |
84 |
HOMEPAGE="http://www.cs2d.com/" |
85 |
SRC_URI="http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip |
86 |
http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip |
87 |
http://dev.gentoo.org/~maksbotan/cs2d/cs2d.png" |
88 |
LICENSE="freedist" |
89 |
|
90 |
SLOT="0" |
91 |
KEYWORDS="-* ~amd64 ~x86" |
92 |
IUSE="" |
93 |
|
94 |
DEPEND="app-arch/unzip" |
95 |
RDEPEND=" |
96 |
x86? ( |
97 |
media-libs/openal |
98 |
media-libs/freetype:2 |
99 |
x11-libs/libX11 |
100 |
x11-libs/libXxf86vm |
101 |
virtual/opengl |
102 |
) |
103 |
amd64? ( |
104 |
app-emulation/emul-linux-x86-sdl |
105 |
app-emulation/emul-linux-x86-opengl |
106 |
app-emulation/emul-linux-x86-xlibs |
107 |
)" |
108 |
|
109 |
QA_PRESTRIPPED="opt/cs2d/CounterStrike2D" |
110 |
QA_EXECSTACK="opt/cs2d/CounterStrike2D" |
111 |
|
112 |
S=${WORKDIR} |
113 |
|
114 |
src_prepare() { |
115 |
# removing windows files |
116 |
rm -f *.exe *.bat |
117 |
|
118 |
# OpenAL is default sound driver |
119 |
sed -i -e 's:^sounddriver.*$:sounddriver OpenAL Default:' sys/config.cfg || die |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
insinto "${GAMES_PREFIX_OPT}"/${PN} |
124 |
doins -r . || die |
125 |
|
126 |
make_desktop_entry CounterStrike2D "Counter Strike 2D" |
127 |
make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN" |
128 |
games_make_wrapper CounterStrike2D ./CounterStrike2D \ |
129 |
"${GAMES_PREFIX_OPT}"/${PN} "${GAMES_PREFIX_OPT}"/${PN} |
130 |
|
131 |
doicon "${DISTDIR}"/${PN}.png |
132 |
|
133 |
prepgamesdirs |
134 |
|
135 |
# fixing permissions |
136 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/maps |
137 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/screens |
138 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/sys |
139 |
fperms ug+x "${GAMES_PREFIX_OPT}"/${PN}/CounterStrike2D |
140 |
} |