From 597b8f978379d1f1e1a8d348999e6189531f6631 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 6 Jan 2014 16:28:22 +0400 Subject: [PATCH] Zod game added from hasufell overlay. --- games-strategy/zod-engine-data/Manifest | 3 + games-strategy/zod-engine-data/metadata.xml | 9 +++ .../zod-engine-data-20110906.ebuild | 43 ++++++++++++ games-strategy/zod-engine/Manifest | 3 + games-strategy/zod-engine/metadata.xml | 46 +++++++++++++ .../zod-engine/zod-engine-20110906.ebuild | 66 +++++++++++++++++++ 6 files changed, 170 insertions(+) create mode 100644 games-strategy/zod-engine-data/Manifest create mode 100644 games-strategy/zod-engine-data/metadata.xml create mode 100644 games-strategy/zod-engine-data/zod-engine-data-20110906.ebuild create mode 100644 games-strategy/zod-engine/Manifest create mode 100644 games-strategy/zod-engine/metadata.xml create mode 100644 games-strategy/zod-engine/zod-engine-20110906.ebuild diff --git a/games-strategy/zod-engine-data/Manifest b/games-strategy/zod-engine-data/Manifest new file mode 100644 index 00000000..7a54ba06 --- /dev/null +++ b/games-strategy/zod-engine-data/Manifest @@ -0,0 +1,3 @@ +DIST zod_linux-2011-09-06.tar.gz 40237117 SHA256 02d8cfbc0da8901a36ea14cdffb72fb7780ea718073d4b6c9e0409cdacca356c SHA512 f42c5625a5e127ecc26fb0e301651f98ae1d81d3c69806bfc4701f5523ae44285e0f20bf29e0560a9edc1e4a8aa07d359b98b23a6c9857acbbf22ed290599258 WHIRLPOOL dcb7e70e6907c4d45f9a5d0d9be3d6716bf34f476752754727a9033af560ccf92c66c80017be4fdbe1aaf70eed7eb896f4d3f3afc8898e3dbad33b7a00be40b7 +EBUILD zod-engine-data-20110906.ebuild 931 SHA256 6ef3f993495d47856b56e5f73e52a2938c17bd07f986a28ff1dd1fb6ca451037 SHA512 c6778c7e4d0904ec5d838a1deacb3d1f7faa96c99ad4e78e25610e9a2d512503875b2455c62507820a16e5765a4d3b172f91b1f69c037b9a198e358498187eba WHIRLPOOL 23cf98f22f0dc86462b0b5b3c09d4d39cf2c6a1fd16f46fc983bdeaba103fe46e409efc354c52378bce58d311fc561b1593240466775eec045a801fad11eb7ff +MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858 diff --git a/games-strategy/zod-engine-data/metadata.xml b/games-strategy/zod-engine-data/metadata.xml new file mode 100644 index 00000000..bfabcd01 --- /dev/null +++ b/games-strategy/zod-engine-data/metadata.xml @@ -0,0 +1,9 @@ + + + + + hasufell@gentoo.org + Julian Ospald + + + diff --git a/games-strategy/zod-engine-data/zod-engine-data-20110906.ebuild b/games-strategy/zod-engine-data/zod-engine-data-20110906.ebuild new file mode 100644 index 00000000..8c16482e --- /dev/null +++ b/games-strategy/zod-engine-data/zod-engine-data-20110906.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit games + +MY_P=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2} +DESCRIPTION="Zod engine data files" +HOMEPAGE="http://zod.sourceforge.net/" +SRC_URI="${MY_P}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="fetch bindist" + +RDEPEND="~games-strategy/zod-engine-${PV}" + +S=${WORKDIR}/zod_engine + +pkg_nofetch() { + einfo "Please download the latest linux tarball from" + einfo "the homepage and move it to ${DISTDIR}" + echo +} + +src_prepare() { + # remove unused files + find "${S}" -type f \( -name Thumbs.db -o -name "*.xcf" -o -name "*.ico" \) -delete || die + rm assets/{splash.png,WebCamScene.icescene} || die +} + +src_compile() { + : +} + +src_install() { + insinto "${GAMES_DATADIR}/zod-engine" + doins -r assets blank_maps *.map default_settings.txt *map_list.txt + prepgamesdirs +} diff --git a/games-strategy/zod-engine/Manifest b/games-strategy/zod-engine/Manifest new file mode 100644 index 00000000..5f4f56a5 --- /dev/null +++ b/games-strategy/zod-engine/Manifest @@ -0,0 +1,3 @@ +DIST zod_gentoo-2011-09-06.tar.xz 294652 SHA256 c97b6d3cc45f881e5642a31c9fc0f0fdac55c4038d09c3d3ce845165f8cd6227 SHA512 b0179986dcab3e929c321da5dba57ec5eb7738e47685c45e96d5391987edec9711641077346e6cdcf76d3d293955724d3345a8dc9ccd8276e34a16ca78efd06b WHIRLPOOL d52a6b772a9e247e7cd46934a8047df21545a3ac1ac344c0abbe45484bf1e4538595c2f27bd06caa258b760598ae99864fa05d3421949f9f1f1e550a35a35911 +EBUILD zod-engine-20110906.ebuild 1502 SHA256 f93ef2e47cea74542e17951537b13df4f1ce59d996ddd7147fb53e703358fa43 SHA512 7eda9178de990a2af3d04ab81929fd9ec164a3cc7e6a1b68aa2d0495a707740fd51015c279a7461abec240022c003c4b6a98e7bf8c14fa9749e72cb00b74dd6e WHIRLPOOL be852254082d2fef3d0ac5acd73efcd5ccf9963fefcfaba2b29ed0d2ead46f35e0f8b9757f0fdcfde3257ab16a9eb1f9bd94436fd0c32794c5684174cb8271d3 +MISC metadata.xml 2127 SHA256 f7d37f65289d7f9c985c82f930821de2b31c86ae8d54dc8d9c8d44f4f94ebe4a SHA512 247496ec4bfd406401b8007c94b560b8964aefa747763832961b5cc84e219f16eb6890bddf4af2418c0f5121ccff058a6579eef010f20e98ded384a32bc1ae2a WHIRLPOOL e8de4226e2747232dc216b15671e731d6241b86f7bb55162eeead26ff27f10f70d774cb288de7bef652329d8178ae0db61c65fa06b36650d078cdb4d3380414b diff --git a/games-strategy/zod-engine/metadata.xml b/games-strategy/zod-engine/metadata.xml new file mode 100644 index 00000000..8dc769f8 --- /dev/null +++ b/games-strategy/zod-engine/metadata.xml @@ -0,0 +1,46 @@ + + + + + hasufell@gentoo.org + Julian Ospald + + + Build the map editor + Build the game launcher + + + The Zod Engine is an open source remake of the 1996 game Z by the + Bitmap Brothers written in C++ using the SDL library for + Linux / Windows / Etc. + + The Story and Gameplay... + In Z you were a commander under General Zod in his attempt to + conquer the universe. Your team, Brad and Allan, went from site to + site and planet to planet pushing back the Blue forces while getting + bitched at by General Zod. In the Zod Engine the doors are opened + up so that you can play all the levels and make new levels the way + you've always wanted to. The Zod Engine is more then just a remake + of Z however, it is a fully commercially supported online game that + is perpetually running at all times. Players can connect and + disconnect at any time. + + The Zod Engine is a MMORTS / RTS style game. In the game you command + an army of robots and vehicles to take over neighboring territories + in the ultimate goal of destroying all of your enemies. Unlike + traditional RTS (Real Time Strategy) games the Zod Engine does not + create units from collected resources but instead construction is + constant from preset factories scattered throughout the level. + + What is New? + The Zod Engine is a multiplayer oriented game where as Z is a single + player oriented game. Here you will be able to for the first time do + things such as play games against multiple bot players, or play the + original levels with friends helping you on the same team. The Zod + Engine is cross platform for Linux and Windows and can support any + resolution. There are no limits on map size or players per game. + The Zod Engine is also in a state of continual development so new + features may come at any time with idea's from the players. + + + diff --git a/games-strategy/zod-engine/zod-engine-20110906.ebuild b/games-strategy/zod-engine/zod-engine-20110906.ebuild new file mode 100644 index 00000000..22759ad4 --- /dev/null +++ b/games-strategy/zod-engine/zod-engine-20110906.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +WX_GTK_VER="2.8" +inherit eutils wxwidgets gnome2-utils games + +MY_P=zod_gentoo-${PV:0:4}-${PV:4:2}-${PV:6:2} +DESCRIPTION="Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z" +HOMEPAGE="http://zod.sourceforge.net/" +SRC_URI="mirror://sourceforge/zod/${MY_P}.tar.xz" + +LICENSE="GPL-3 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+editor +launcher" + +RDEPEND=" + media-libs/libsdl[X,audio,video] + media-libs/sdl-ttf[X] + media-libs/sdl-mixer[mp3,timidity,vorbis,wav] + media-libs/sdl-image[png] + virtual/mysql + x11-libs/wxGTK:${WX_GTK_VER}[X]" +DEPEND="${RDEPEND}" +PDEPEND="~games-strategy/zod-engine-data-${PV}" + +S=${WORKDIR}/${MY_P}/zod_engine + +src_compile() { + emake -C zod_src DATA_PATH="\"${GAMES_DATADIR}/${PN}\"" main $(usex editor "map_editor" "") + use launcher && emake -C zod_launcher_src DATA_PATH="\"${GAMES_DATADIR}/${PN}\"" +} + +src_install() { + dogamesbin zod_src/zod + dodoc zod_engine_help.txt + + if use editor ; then + dogamesbin zod_src/zod_map_editor + dodoc map_editor_help.txt + fi + + if use launcher ; then + dogamesbin zod_launcher_src/zod_launcher + newicon -s 32 zod_launcher_src/icon.png ${PN}.png + make_desktop_entry zod_launcher "Zod Engine" + fi + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}