From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-action/cs2d/Manifest | 11 ++++++ games-action/cs2d/cs2d-0127.ebuild | 70 +++++++++++++++++++++++++++++++++++ games-action/cs2d/cs2d-1002-r1.ebuild | 69 ++++++++++++++++++++++++++++++++++ games-action/cs2d/cs2d-1002.ebuild | 70 +++++++++++++++++++++++++++++++++++ games-action/cs2d/metadata.xml | 20 ++++++++++ 5 files changed, 240 insertions(+) create mode 100644 games-action/cs2d/Manifest create mode 100644 games-action/cs2d/cs2d-0127.ebuild create mode 100644 games-action/cs2d/cs2d-1002-r1.ebuild create mode 100644 games-action/cs2d/cs2d-1002.ebuild create mode 100644 games-action/cs2d/metadata.xml (limited to 'games-action/cs2d') diff --git a/games-action/cs2d/Manifest b/games-action/cs2d/Manifest new file mode 100644 index 000000000000..1273b079abdd --- /dev/null +++ b/games-action/cs2d/Manifest @@ -0,0 +1,11 @@ +DIST cs2d.png 479 SHA256 4114a718e4e1c9b6686571d41f2e66598940e112f129b2c858b2d75ba4f0e607 SHA512 e8894771deedb8e5018d0be986a53920e8f37fe10485df499e4c271d14014701cf345858ba7904ab6db4178f2cb2244684620a6c5ceacba26f62a29c3bd0463b WHIRLPOOL fb831b0ac2ba015f759bd83bee10289031eb62f8ec0cdd3e550fd3b42db1223ff1450d40eb339f85f997bafb1befb65885918674fa38662400dcc155aec0b285 +DIST cs2d_0127_linux.zip 878017 SHA256 69b28886aff60cc128e0ad9845e9d120beb9250cb1c99fc18c65f8de82f115c7 SHA512 738be401192a795e76404cf3a97986fcfba2dc082dcec5c546a1c133a50b0a651b2d1f94885f77d830c90b0c37612e615e47fbf51a6f677a56034be62a8c5a6a WHIRLPOOL b5b4d467643587fcfcb03857f654967cf2bd5c4524a1b6a093350a6b580b14673e58be21cd1b381a9c6140c0181b92a0817f96cc6e330a0a0765f9a3deb445c1 +DIST cs2d_0127_win.zip 8229767 SHA256 e143b48d8ec425a8d0fac65998386a49db6ad32e9c09804605bb8399cf422d9c SHA512 cbc3c7c8246907d8c8d8143679e13144449048df09398b4f25cc50ecae0473d8bc186752418727297da0f79b4b323d272a9e1b97a0b0249243bb9098abc23897 WHIRLPOOL ea014b6f5e29a15b324210dabf1ed5a124b06b32371d88b192f815abfc9ede4771b9c5862f7299b18611fed41191a06b4f0e8d205bd026458fb61425706f34f3 +DIST cs2d_1002_linux.zip 1035579 SHA256 cf0667a01ed1663bfeef161c4764edfd14bef20a0ceea86b1c6c7c6016e0a0d5 SHA512 f385a6558f40a01324884a8b765f0fcb8dddcfb59bf983be110234a16cf937ba8c0089dce269fd1cec6b51a380810c5e1676e14a95112364b59cbb07e290a8bc WHIRLPOOL a6ab5950238f6dad4852c2112b4a3729db03e7ad6130e0f5c31fda840326097f814eba03e750003f90860fdc4bc03f06708b6f27ef049131851a035e5f0304d4 +DIST cs2d_1002_win.zip 11039631 SHA256 ef2a496202ea997eaa7bf33bfaad0500e251bf43056dc85b05272936229a303d SHA512 b387cd7172fa35c6e66d7457cd4ca457d5bab795944fa9b53a0879301d72d6e5f2c76b760c119df32ae4e69f158e6c593bf921a83e54e25f79cb4e3d2650965c WHIRLPOOL 5d605474ded452f277cc6f01b48f4313a852ae65dfc394cadc0190c905d57b919f1078f4b64773d3c62786ee3558abd26a30f70415c523e0ae6fe140f585904b +EBUILD cs2d-0127.ebuild 1838 SHA256 8e379930f2ecce6e1c27c1ebf54e856cdfe032d336d58f944561b5b124fd6e76 SHA512 a91f638a2e84b25fee52094aaba1412ca78be460ce7da1f9aae466553a69ddb5a05cea052c90876f090051c692fd1b01358c27bfe336f87d96c9ec3c754e3c02 WHIRLPOOL 716261b3388031f65dc5b1b2e284aacb5cc36c9ea9247a088204b779c8de96c3606bc5c1c2bd70ba9f2fc9f09bfb8c7821724b53a8ca21bedb830863f6a77942 +EBUILD cs2d-1002-r1.ebuild 1680 SHA256 efda702fb8d69bbff451b9ac066251ac2c8206da417be8e0d03bc90fdaac5ade SHA512 041340c4407f46f2a8b7d459d943ff7d67e45496347a2a2e0b7dafdb94b7cfda726bd8564c65e980f3d93a760cadb98eb16492caa157613ea83de346849749d0 WHIRLPOOL 0eeecbf8339db6e432e180d201cb7023cd7786805c0cc543b7521581f8fa0830019d3bb39f9d0440c9e8e9cd32950a4fb02ad460182aabf54b2e51406330cef1 +EBUILD cs2d-1002.ebuild 1838 SHA256 8e379930f2ecce6e1c27c1ebf54e856cdfe032d336d58f944561b5b124fd6e76 SHA512 a91f638a2e84b25fee52094aaba1412ca78be460ce7da1f9aae466553a69ddb5a05cea052c90876f090051c692fd1b01358c27bfe336f87d96c9ec3c754e3c02 WHIRLPOOL 716261b3388031f65dc5b1b2e284aacb5cc36c9ea9247a088204b779c8de96c3606bc5c1c2bd70ba9f2fc9f09bfb8c7821724b53a8ca21bedb830863f6a77942 +MISC ChangeLog 2917 SHA256 4339c0a218b181f8b69116c13341e971173713772ea5d1419622f625fb698c29 SHA512 1382928600c1788358b46f6f3cf1e5ad043270fe678d033d811dc36b3a8c891953211d2c61c51e418a1375b909456d87d49bc8c0a6f74b1078474a01881bc5fe WHIRLPOOL 7bb8673738c33d55b09ce02c15e72238f72486fdb9644d848e4269118eb8c5dbb19d6a95a125b262ab0e865f7dc7b51942c1aa1aeddcfdf24ffd9ccaf1bc3a84 +MISC ChangeLog-2015 2228 SHA256 8077d99bfbd582c5ee5f5ed329c6e031a49eb1b871e1f6c625da40c174d56355 SHA512 3f53db4f0ead0569dfb2ce0d254bfff7d9e6e812d355780076741cd43ac419a8c18226f718da1dda5aee946de413188abadf4adb2916e259c7294d2649e42c4c WHIRLPOOL 2389e88f5bb147147d6967dd90bfb194cf1795e241f48a072caacbaecd8ff3fac519f19b052f2cc7205a16ab0cffe4d36a740802d7071c0da88dacd0b31bae07 +MISC metadata.xml 595 SHA256 dd4cfdaa16d4060854491baef13534b2007e7344afecd546a3772b446a842e8e SHA512 3b8ec9065990d0d53c7c04d7926b30c1632cee411a6165a7a8ee408111d49d21d06069b3e1e1bbfee021a24018171c65101907151a95bca5abef4dc29a54fb1c WHIRLPOOL a05db9df564c7efc1f2eccb031fb5a528110f42a11bcf839510e54629dc19eef7afb3819c5c1306d123577c8d7a08c281bdbea17143b6a3f4c4a5ed853847f08 diff --git a/games-action/cs2d/cs2d-0127.ebuild b/games-action/cs2d/cs2d-0127.ebuild new file mode 100644 index 000000000000..e4849611586a --- /dev/null +++ b/games-action/cs2d/cs2d-0127.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils games + +DESCRIPTION="A freeware clone of Counter-Strike with some added features in gameplay" +HOMEPAGE="http://www.cs2d.com/" +SRC_URI="https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip + https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip + https://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 +} diff --git a/games-action/cs2d/cs2d-1002-r1.ebuild b/games-action/cs2d/cs2d-1002-r1.ebuild new file mode 100644 index 000000000000..46b4c3b59d80 --- /dev/null +++ b/games-action/cs2d/cs2d-1002-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="A freeware clone of Counter-Strike with some added features in gameplay" +HOMEPAGE="http://www.cs2d.com/" +SRC_URI="https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip + https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip + https://dev.gentoo.org/~maksbotan/cs2d/cs2d.png" +LICENSE="freedist" + +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND=" + x86? ( + media-libs/freetype:2 + media-libs/openal + x11-libs/libX11 + x11-libs/libXxf86vm + virtual/opengl + ) + amd64? ( + >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)] + >=media-libs/openal-1.15.1[abi_x86_32(-)] + >=virtual/opengl-7.0-r1[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() { + default + + # 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 /opt/${PN} + doins -r . + + # avoid file collision with untracked file + rm -f "${ED%/}/opt/${PN}/sys/core/started.cfg" + + make_desktop_entry CounterStrike2D "Counter Strike 2D" + make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN" + make_wrapper CounterStrike2D ./CounterStrike2D /opt/${PN} /opt/${PN} + doicon "${DISTDIR}"/${PN}.png + + # fixing permissions + fperms -R g+w /opt/${PN}/maps + fperms -R g+w /opt/${PN}/screens + fperms -R g+w /opt/${PN}/sys + fperms o+x /opt/${PN}/CounterStrike2D +} diff --git a/games-action/cs2d/cs2d-1002.ebuild b/games-action/cs2d/cs2d-1002.ebuild new file mode 100644 index 000000000000..e4849611586a --- /dev/null +++ b/games-action/cs2d/cs2d-1002.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils games + +DESCRIPTION="A freeware clone of Counter-Strike with some added features in gameplay" +HOMEPAGE="http://www.cs2d.com/" +SRC_URI="https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip + https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip + https://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 +} diff --git a/games-action/cs2d/metadata.xml b/games-action/cs2d/metadata.xml new file mode 100644 index 000000000000..31a8e7784a81 --- /dev/null +++ b/games-action/cs2d/metadata.xml @@ -0,0 +1,20 @@ + + + + + maksbotan@gentoo.org + Maxim Koltsov + + + oleg@kaa.org.ua + Oleg Kravchenko + + + proxy-maint@gentoo.org + Proxy Maintainers Project + + + games@gentoo.org + Gentoo Games Project + + -- cgit v1.2.3