summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-03-07 21:28:29 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-03-07 21:28:29 +0000
commit667c6ea304ddaa323329c8ce38e05cd77490c475 (patch)
tree58fbb3b039f6e97a05650343b97c7cdeca7ee6c1 /games-action
parentVersion bump. (diff)
downloadhistorical-667c6ea304ddaa323329c8ce38e05cd77490c475.tar.gz
historical-667c6ea304ddaa323329c8ce38e05cd77490c475.tar.bz2
historical-667c6ea304ddaa323329c8ce38e05cd77490c475.zip
Bump tp 0120, thanks to oleg@kaa.org.ua
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'games-action')
-rw-r--r--games-action/cs2d/ChangeLog7
-rw-r--r--games-action/cs2d/Manifest19
-rw-r--r--games-action/cs2d/cs2d-0120.ebuild59
3 files changed, 76 insertions, 9 deletions
diff --git a/games-action/cs2d/ChangeLog b/games-action/cs2d/ChangeLog
index 326dc33311cc..f794d54464f0 100644
--- a/games-action/cs2d/ChangeLog
+++ b/games-action/cs2d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/cs2d
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.2 2012/03/03 13:39:26 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.3 2012/03/07 21:28:29 maksbotan Exp $
+
+*cs2d-0120 (07 Mar 2012)
+
+ 07 Mar 2012; Maxim Koltsov <maksbotan@gentoo.org> +cs2d-0120.ebuild:
+ Bump tp 0120, thanks to oleg@kaa.org.ua
03 Mar 2012; Maxim Koltsov <maksbotan@gentoo.org> cs2d-0119.ebuild:
Add app-arch/unzip DEPEND, bug #406677. Thanks to szarpaj@grubelek.pl
diff --git a/games-action/cs2d/Manifest b/games-action/cs2d/Manifest
index 7f1a31bf393c..64fea947b344 100644
--- a/games-action/cs2d/Manifest
+++ b/games-action/cs2d/Manifest
@@ -4,17 +4,20 @@ Hash: SHA1
AUX cs2d.png 1275 RMD160 a3a0c33434f367b9918de441558e9ec2e3574ee8 SHA1 0733be2481292b08bbf1f9fd52f2ddc72fc249bc SHA256 771d8b9e57e2e4574550f2a92a831b11f816602540c0196788f1d078c09079fc
DIST cs2d_0119_linux.zip 836968 RMD160 ba5d92063ce2c773447da9348357878a2c096e9f SHA1 2e169c5d6354e33e3515cc045dac8761ff4ff26d SHA256 23d8d10826d2d2e850c4bf42b3d54388ce25f5b6fc0f39f82579b0423eccc458
DIST cs2d_0119_win.zip 6714492 RMD160 d22d52c9af3b3bd6e4cb041df8807bd819fc13ea SHA1 1d1671b2cbbd10ccaeee67461af5bbab51826ff8 SHA256 a73d71c825e8d496b979794c64103aff9ab5398e1f00ffcbf0bb843082cad449
+DIST cs2d_0120_linux.zip 857948 RMD160 9b3e00606baf555216a35c95dabf297bf788f7ee SHA1 bdeacde0b965ab02f47059a2f584012b21fa338c SHA256 68208d5bf7189e712f96ed9b6d3c40712438e81680d1aa3a543eefd2822bc321
+DIST cs2d_0120_win.zip 7939368 RMD160 611df98e1c757eca6f0efdb5aa222ae9d40f4ee8 SHA1 3023537a2c72832080c1b30b8cc009aa683c787e SHA256 e92eebb9612fbb1aff8ad33b976a7c7d749468c9186cd149875ee1c660915f48
EBUILD cs2d-0119.ebuild 1621 RMD160 17e9b57ba35f67c70bee110eab998e423d0acc0f SHA1 b33983a24ae21e1bca02d2d0356b335895e48525 SHA256 1f574834e24681151dc083978c8d7b2a2d41bb55f407fcd14e55f2bf3385e9ef
-MISC ChangeLog 536 RMD160 ca94f76b6513dd9f13abb2d472d1c544de64c424 SHA1 14f4129be026402ffbd17fb342f8fe2d44879858 SHA256 4d4c5c76899308053dc87c36af621a12766f4a4fdb53099123d765cc207c4328
+EBUILD cs2d-0120.ebuild 1627 RMD160 c67f6019af215e0653541eb989104c0134aa7b1d SHA1 fc05f56fd8d62530814d065cd1b807369fa87924 SHA256 97608fc80f5228b878aebc45a63acd1c637480b69b11ee2bbf8b36e4db5997aa
+MISC ChangeLog 676 RMD160 92a1a528462f120ff6b3a8c8590b53e877cd40d4 SHA1 6be9003285e90a7f1ae38809be46971ac31b9fa4 SHA256 2178219a1cade0e76488c48bf489a666e335056e7f447b9d1572926de2eebaf8
MISC metadata.xml 321 RMD160 ec3db1fd5caef7179ddfec9c1b6e0bb049e34f2e SHA1 f3448ca39fea895648e30f91a048367f46728b72 SHA256 061f16964e9057e3d477024b3c27d351bd9a315bcc4ac5f667bf45a248fa2900
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJPUh+XAAoJEAmJmMX429reguAH+wfmeRiZW5S1TQh6FQGKnsLb
-NHDS5eingkKpuvOPUiROgzADsAS/ro3hqcrdrtp5hDONX1zCcYl3EWk0VDstOLcn
-/h2TNWykWoOwPNRoC/JMQn/V8XglzCou8/n1mC4/GQ4zUz7Mfuif+w1F1hbPEEvl
-W46FCktD5kLiGWqa70TUBBXQsX2Ch7SAsJDfTr9fOP4gsb2Xxl3nSENzMssS1t8E
-MeyJchr6yAzx+c2TI3Hyx8JThHMXjV2Frv6RmVZoD+w4lTwZMD6xsICvOM9/L+7T
-6sh5E3FbgEX7C8L4t7ldnSD9pq1c551mDisSHW1ELrefBy/yKxZkutCRmVX0iAI=
-=sxu9
+iQEcBAEBAgAGBQJPV9MKAAoJEAmJmMX429regXMIAIZuw6CB51SHy2GdiqqdLfhI
+IBJOch/irYdf24s2P8op/yO0y45OaVyONwzE4qq4fr7kBpaIGFCambpZfc1ywIqI
+EX1Xt4jq+SzjGlw05evZLHfWgXhNWRUMcJjsEuRMZMn4fLWrFKbhV1czKI2ylGdp
+m0E6njxGVtTL8Io12Ytb62m6o7FiNL4Vx4CT8bUso74XJ50n33QD1G2APMiWkhPt
+sYvasU3zdyWXlzPVKBwqLf2m2cEK9SbSkzlhOCsPZyV1B2WrDm6o1z3cPjukqfKI
+YonR/clYqXkrY8fCv4eih6EY7jZ/ErY4CBiwMQ3Pgfl+7+Nkr515boyQC8Udwbc=
+=T9Au
-----END PGP SIGNATURE-----
diff --git a/games-action/cs2d/cs2d-0120.ebuild b/games-action/cs2d/cs2d-0120.ebuild
new file mode 100644
index 000000000000..df1c7e182c44
--- /dev/null
+++ b/games-action/cs2d/cs2d-0120.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/cs2d-0120.ebuild,v 1.1 2012/03/07 21:28:29 maksbotan Exp $
+
+EAPI=2
+
+inherit eutils games
+
+DESCRIPTION="Counter-Strike 2D is freeware clone of Counter-Strike with some added features in gameplay."
+HOMEPAGE="http://www.cs2d.com/"
+SRC_URI="http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip
+ http://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip"
+LICENSE="freedist"
+
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="x86? (
+ media-libs/openal )
+ amd64? (
+ app-emulation/emul-linux-x86-sdl
+ )"
+
+QA_PRESTRIPPED="opt/cs2d/CounterStrike2D"
+QA_EXECSTACK="opt/cs2d/CounterStrike2D"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+
+ # removing windows files
+ rm -f *.exe *.bat
+}
+
+src_install() {
+ insinto "${GAMES_PREFIX_OPT}/${PN}"
+ doins -r . || die
+
+ doicon "${FILESDIR}/cs2d.png"
+
+ make_desktop_entry CounterStrike2D "Counter Strike 2D"
+ make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN"
+ games_make_wrapper CounterStrike2D ./CounterStrike2D \
+ "${GAMES_PREFIX_OPT}"/${PN} "${GAMES_PREFIX_OPT}"/${PN}
+
+ prepgamesdirs
+
+ # OpenAL is default sound driver
+ sed -i 's:^sounddriver.*$:sounddriver OpenAL Default:' "${D}/${GAMES_PREFIX_OPT}/${PN}/sys/config.cfg"
+
+ # fixing permissions
+ chmod -R g+w "${D}/${GAMES_PREFIX_OPT}/${PN}/maps"
+ chmod -R g+w "${D}/${GAMES_PREFIX_OPT}/${PN}/screens"
+ chmod -R g+w "${D}/${GAMES_PREFIX_OPT}/${PN}/sys"
+ fperms ug+x "${GAMES_PREFIX_OPT}/${PN}/CounterStrike2D"
+}