Zod updated.

This commit is contained in:
Kolan Sh 2015-03-22 13:53:48 +03:00
parent 15e2186648
commit 34a0b1e546
6 changed files with 17 additions and 35 deletions

View File

@ -1,3 +1 @@
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

View File

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>hasufell@gentoo.org</email>
<email>hasufell@posteo.de</email>
<name>Julian Ospald</name>
</maintainer>
</pkgmetadata>

View File

@ -1,31 +1,24 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
# 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"
HOMEPAGE=""
SRC_URI="mirror://sourceforge/zod/linux_releases/${MY_P}.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="fetch bindist"
RESTRICT="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
@ -37,7 +30,7 @@ src_compile() {
}
src_install() {
insinto "${GAMES_DATADIR}/zod-engine"
insinto "/usr/share/zod-engine"
doins -r assets blank_maps *.map default_settings.txt *map_list.txt
prepgamesdirs
}

View File

@ -1,3 +1 @@
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

View File

@ -2,13 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>hasufell@gentoo.org</email>
<email>hasufell@posteo.de</email>
<name>Julian Ospald</name>
</maintainer>
<use>
<flag name='editor'>Build the map editor</flag>
<flag name='launcher'>Build the game launcher</flag>
</use>
<longdescription lang="en">
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

View File

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
# 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
inherit eutils wxwidgets gnome2-utils
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"
@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="+editor +launcher"
RDEPEND="
media-libs/libsdl[X,audio,video]
media-libs/libsdl[X,sound,video]
media-libs/sdl-ttf[X]
media-libs/sdl-mixer[mp3,timidity,vorbis,wav]
media-libs/sdl-image[png]
@ -29,38 +29,35 @@ 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}\""
emake -C zod_src DATA_PATH="\"/usr/share/${PN}\"" main $(usex editor "map_editor" "")
use launcher && emake -C zod_launcher_src DATA_PATH="\"/usr/share/${PN}\""
}
src_install() {
dogamesbin zod_src/zod
dobin zod_src/zod
dodoc zod_engine_help.txt
if use editor ; then
dogamesbin zod_src/zod_map_editor
dobin zod_src/zod_map_editor
dodoc map_editor_help.txt
fi
if use launcher ; then
dogamesbin zod_launcher_src/zod_launcher
dobin 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
}