summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2015-06-28 11:08:54 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2015-06-28 11:08:54 +0000
commite66421d96221b7d1907133048b592fd782fc1903 (patch)
tree854497dac9413145ec00c5554e9aaccc6306477d /games-action
parentarm stable, bug #552632 (diff)
downloadhistorical-e66421d96221b7d1907133048b592fd782fc1903.tar.gz
historical-e66421d96221b7d1907133048b592fd782fc1903.tar.bz2
historical-e66421d96221b7d1907133048b592fd782fc1903.zip
Bump to 0127, use QA_PREBUILD, bug #453428. Thanks to Oleg Kravchenko.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xF8DBDADE
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-0127.ebuild71
3 files changed, 95 insertions, 2 deletions
diff --git a/games-action/cs2d/ChangeLog b/games-action/cs2d/ChangeLog
index 5b6d17af866d..0f3cca9b383e 100644
--- a/games-action/cs2d/ChangeLog
+++ b/games-action/cs2d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/cs2d
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.13 2015/06/01 22:05:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/ChangeLog,v 1.14 2015/06/28 11:08:47 maksbotan Exp $
+
+*cs2d-0127 (28 Jun 2015)
+
+ 28 Jun 2015; Maxim Koltsov <maksbotan@gentoo.org> +cs2d-0127.ebuild:
+ Bump to 0127, use QA_PREBUILD, bug #453428. Thanks to Oleg Kravchenko.
01 Jun 2015; Michael Sterrett <mr_bones_@gentoo.org> cs2d-0123.ebuild:
clean up app-emulation/emul-linux which has been removed
diff --git a/games-action/cs2d/Manifest b/games-action/cs2d/Manifest
index 2d020faaf685..052bfb593b65 100644
--- a/games-action/cs2d/Manifest
+++ b/games-action/cs2d/Manifest
@@ -1,6 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST cs2d.png 479 SHA256 4114a718e4e1c9b6686571d41f2e66598940e112f129b2c858b2d75ba4f0e607 SHA512 e8894771deedb8e5018d0be986a53920e8f37fe10485df499e4c271d14014701cf345858ba7904ab6db4178f2cb2244684620a6c5ceacba26f62a29c3bd0463b WHIRLPOOL fb831b0ac2ba015f759bd83bee10289031eb62f8ec0cdd3e550fd3b42db1223ff1450d40eb339f85f997bafb1befb65885918674fa38662400dcc155aec0b285
DIST cs2d_0123_linux.zip 866041 SHA256 8bf7642999718af788991eb5aa0a1924bf7f4090f6b035434e237b4e0ac99d32 SHA512 93979b83bcee95cacc933f05cf8aecf223b52d4cbea006d3c9a9c5f4cb1f72ab7dc07e102ce4915ad84fd208db5a5e7ebfeec89ee342ca806ccbc5a22692d0fc WHIRLPOOL ad9f6d09ac609acf3fdd2f9137970e02a3aca1cdbf5a5f79d7dc9dcebb06f544dd68fa0a9aac48eebe5f18db55b3b5799a422c4390757d8bddc23560c062c343
DIST cs2d_0123_win.zip 8107120 SHA256 da3e771bb1219a2037ca00101072ffd20fc89227710dcd9e2f7939b787a1dac5 SHA512 847961422a3451af67024b5c0044291adee7f0edb0832c288e7fa7f9333000de2d0be9c4f12112e199e32b4c1f4b8e61788ed7e0eb6ae2b49d6acbd9ab82726b WHIRLPOOL 340eff3c3436d143b3e01e6c8081c8b995d076cbd10dfce8cd13e4077b29f6741f0b6ec89c5bd9c4fbbd07d642ab3875628a52f6a12cbd902a7858fb86c6f51d
+DIST cs2d_0127_linux.zip 878017 SHA256 69b28886aff60cc128e0ad9845e9d120beb9250cb1c99fc18c65f8de82f115c7 SHA512 738be401192a795e76404cf3a97986fcfba2dc082dcec5c546a1c133a50b0a651b2d1f94885f77d830c90b0c37612e615e47fbf51a6f677a56034be62a8c5a6a WHIRLPOOL b5b4d467643587fcfcb03857f654967cf2bd5c4524a1b6a093350a6b580b14673e58be21cd1b381a9c6140c0181b92a0817f96cc6e330a0a0765f9a3deb445c1
+DIST cs2d_0127_win.zip 8229767 SHA256 e143b48d8ec425a8d0fac65998386a49db6ad32e9c09804605bb8399cf422d9c SHA512 cbc3c7c8246907d8c8d8143679e13144449048df09398b4f25cc50ecae0473d8bc186752418727297da0f79b4b323d272a9e1b97a0b0249243bb9098abc23897 WHIRLPOOL ea014b6f5e29a15b324210dabf1ed5a124b06b32371d88b192f815abfc9ede4771b9c5862f7299b18611fed41191a06b4f0e8d205bd026458fb61425706f34f3
EBUILD cs2d-0123.ebuild 2009 SHA256 84ba4439b70bd93eba0f08631f6a93a2c7009c4d54199b57f6f030853b8f54e5 SHA512 1b9edaad3c827f71115d97725aa4edd1ed87379e801b6156693359515f08e6414c168ba2633ed3c5c64bfd8efee428f643bcd53dafbc3ec053447992529f66e6 WHIRLPOOL 93af3dac7011df168fddc53b81f067b566daa6f8cf1d60feeb6c4bcf57aea8d4d27b2ea347e4c5e18c03f6efaea0c70d13c6d838f488bb8463a76453a913c696
-MISC ChangeLog 2057 SHA256 5e1d1b04792b820e8ff6d436941439d98333bbf15488acb5685e2baea4dc6755 SHA512 f41f806a7f110906e5d1676e1889725f311b96164b3da511c19c58a9d246cea6ee9e15077fb2b8b8cccf6b60efdf514387d7bcbc6dad0f7bee8be0316e20c0dd WHIRLPOOL d2cf69581cb2280e37ed384b94c5f7acfe4a9c81180b5597fdfef16c7738d5029cc2fc07d8896ab9ad3f4daae85564dceba5144ffd4eb83d1aef563c042f21ed
+EBUILD cs2d-0127.ebuild 1966 SHA256 1a4ff805cbe8c4a14612dbba4c7a764e0614ce717e7cb209c74a261162e27a19 SHA512 89c30fc86d8e26f1c89bbafb7aa0abfdbd07634afad4c959c3e66bd16f2b81d0e81b1c828ab110813ede3dac83e6b948a6b9285afc4ee05ed53a00d651b69a73 WHIRLPOOL 3cdc5b886df8b31944d5436fc78750f681aee25a069e2a8c646213a7124f569385c86f3da9a02209f74c8a0ef73bf5a7de373440d90733f916c7d7e9e1a262e5
+MISC ChangeLog 2228 SHA256 8077d99bfbd582c5ee5f5ed329c6e031a49eb1b871e1f6c625da40c174d56355 SHA512 3f53db4f0ead0569dfb2ce0d254bfff7d9e6e812d355780076741cd43ac419a8c18226f718da1dda5aee946de413188abadf4adb2916e259c7294d2649e42c4c WHIRLPOOL 2389e88f5bb147147d6967dd90bfb194cf1795e241f48a072caacbaecd8ff3fac519f19b052f2cc7205a16ab0cffe4d36a740802d7071c0da88dacd0b31bae07
MISC metadata.xml 340 SHA256 624bccec7a39f34c64246258f8f29c26032bfef542f25779e3e34b15df048850 SHA512 b3f0ba9c44d0255bb5595a3969bb076768cb5b3b0a795bb111a8fc06aebf6a122908dfc2d6fa36cafe9b981ad391b89eb82c60409806011bc4d535a2fbb7d91e WHIRLPOOL 0e453a609d885cde41f9504ea7451d3f69487fc1f3c0da04f19b464a2b961d19964576e120d167228273ca0501f2a3af1c33465efd93d3442cfddd5dbea1a7ae
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJVj9WwAAoJEAmJmMX429reyQkIALL0g/ucv84nYLcAltaMoiAy
+5VaSOE2+K4mbPeT3iT1wWpbUvEAkYNh1OJeDhUXoxerN7BXmCEoexlHAmjyHhgYU
+mdrXSnvp0RL74M0/OVjlWiGa3UvJpofH7ie47lHNpVP+0JaZuFHU9fZ3sct9Ip5F
+JsdwqBS/R+ThzPQLHBQIAEw/7mRaszIZUy16DqxVaz8/9w/sQb2ITPFLaBRCX8vr
+huf+CMGJhDDfPzyJ27bLWQKHzePxCKbGLbxerKrH9JisELAKTm8QAdWRA3tozFe/
+KEAccedJVL2+knYxRLHd83wGm1VQ56HbjkRGo3bY6rEgLqkUTHAg/gg3HiB3QlY=
+=Zx63
+-----END PGP SIGNATURE-----
diff --git a/games-action/cs2d/cs2d-0127.ebuild b/games-action/cs2d/cs2d-0127.ebuild
new file mode 100644
index 000000000000..4c2087f76d89
--- /dev/null
+++ b/games-action/cs2d/cs2d-0127.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/cs2d/cs2d-0127.ebuild,v 1.1 2015/06/28 11:08:47 maksbotan Exp $
+
+EAPI=5
+
+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
+ http://dev.gentoo.org/~maksbotan/cs2d/cs2d.png"
+LICENSE="freedist"
+
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="
+ x86? (
+ media-libs/openal
+ media-libs/freetype:2
+ x11-libs/libX11
+ x11-libs/libXxf86vm
+ virtual/opengl
+ )
+ amd64? (
+ >=media-libs/openal-1.15.1[abi_x86_32(-)]
+ >=virtual/opengl-7.0-r1[abi_x86_32(-)]
+ >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)]
+ >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
+ >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
+ )"
+
+QA_PREBUILT="opt/cs2d/CounterStrike2D"
+
+S=${WORKDIR}
+
+src_prepare() {
+ # removing windows files
+ rm -f *.exe *.bat || die
+
+ # OpenAL is default sound driver
+ sed -i \
+ -e 's:^sounddriver.*$:sounddriver OpenAL Default:' \
+ sys/config.cfg || die
+}
+
+src_install() {
+ insinto "${GAMES_PREFIX_OPT}"/${PN}
+ doins -r .
+ # avoid file collision with untracked file
+ rm -f "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/sys/core/started.cfg
+
+ 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}
+
+ doicon "${DISTDIR}"/${PN}.png
+
+ prepgamesdirs
+
+ # fixing permissions
+ fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/maps
+ fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/screens
+ fperms -R g+w "${GAMES_PREFIX_OPT}"/${PN}/sys
+ fperms ug+x "${GAMES_PREFIX_OPT}"/${PN}/CounterStrike2D
+}