1 |
maksbotan 15/06/28 11:08:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cs2d-0127.ebuild |
5 |
Log: |
6 |
Bump to 0127, use QA_PREBUILD, bug #453428. Thanks to Oleg Kravchenko. |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 games-action/cs2d/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 1 Jun 2015 22:05:45 -0000 1.13 |
24 |
+++ ChangeLog 28 Jun 2015 11:08:47 -0000 1.14 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for games-action/cs2d |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.13 2015/06/01 22:05:45 mr_bones_ Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.14 2015/06/28 11:08:47 maksbotan Exp $ |
30 |
+ |
31 |
+*cs2d-0127 (28 Jun 2015) |
32 |
+ |
33 |
+ 28 Jun 2015; Maxim Koltsov <maksbotan@g.o> +cs2d-0127.ebuild: |
34 |
+ Bump to 0127, use QA_PREBUILD, bug #453428. Thanks to Oleg Kravchenko. |
35 |
|
36 |
01 Jun 2015; Michael Sterrett <mr_bones_@g.o> cs2d-0123.ebuild: |
37 |
clean up app-emulation/emul-linux which has been removed |
38 |
|
39 |
|
40 |
|
41 |
1.1 games-action/cs2d/cs2d-0127.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/cs2d-0127.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/cs2d/cs2d-0127.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cs2d-0127.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/cs2d-0127.ebuild,v 1.1 2015/06/28 11:08:47 maksbotan Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils games |
55 |
|
56 |
DESCRIPTION="Counter-Strike 2D is freeware clone of Counter-Strike with some added features in gameplay" |
57 |
HOMEPAGE="http://www.cs2d.com/" |
58 |
SRC_URI="http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip |
59 |
http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip |
60 |
http://dev.gentoo.org/~maksbotan/cs2d/cs2d.png" |
61 |
LICENSE="freedist" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="-* ~amd64 ~x86" |
65 |
IUSE="" |
66 |
|
67 |
DEPEND="app-arch/unzip" |
68 |
RDEPEND=" |
69 |
x86? ( |
70 |
media-libs/openal |
71 |
media-libs/freetype:2 |
72 |
x11-libs/libX11 |
73 |
x11-libs/libXxf86vm |
74 |
virtual/opengl |
75 |
) |
76 |
amd64? ( |
77 |
>=media-libs/openal-1.15.1[abi_x86_32(-)] |
78 |
>=virtual/opengl-7.0-r1[abi_x86_32(-)] |
79 |
>=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)] |
80 |
>=x11-libs/libX11-1.6.2[abi_x86_32(-)] |
81 |
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)] |
82 |
)" |
83 |
|
84 |
QA_PREBUILT="opt/cs2d/CounterStrike2D" |
85 |
|
86 |
S=${WORKDIR} |
87 |
|
88 |
src_prepare() { |
89 |
# removing windows files |
90 |
rm -f *.exe *.bat || die |
91 |
|
92 |
# OpenAL is default sound driver |
93 |
sed -i \ |
94 |
-e 's:^sounddriver.*$:sounddriver OpenAL Default:' \ |
95 |
sys/config.cfg || die |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
insinto "${GAMES_PREFIX_OPT}"/${PN} |
100 |
doins -r . |
101 |
# avoid file collision with untracked file |
102 |
rm -f "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/sys/core/started.cfg |
103 |
|
104 |
make_desktop_entry CounterStrike2D "Counter Strike 2D" |
105 |
make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN" |
106 |
games_make_wrapper CounterStrike2D ./CounterStrike2D \ |
107 |
"${GAMES_PREFIX_OPT}"/${PN} "${GAMES_PREFIX_OPT}"/${PN} |
108 |
|
109 |
doicon "${DISTDIR}"/${PN}.png |
110 |
|
111 |
prepgamesdirs |
112 |
|
113 |
# fixing permissions |
114 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/maps |
115 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/screens |
116 |
fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/sys |
117 |
fperms ug+x "${GAMES_PREFIX_OPT}"/${PN}/CounterStrike2D |
118 |
} |