diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-strategy/heroes3-demo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-strategy/heroes3-demo')
-rw-r--r-- | games-strategy/heroes3-demo/Manifest | 5 | ||||
-rw-r--r-- | games-strategy/heroes3-demo/heroes3-demo-1.3.1a.ebuild | 65 | ||||
-rw-r--r-- | games-strategy/heroes3-demo/metadata.xml | 8 |
3 files changed, 78 insertions, 0 deletions
diff --git a/games-strategy/heroes3-demo/Manifest b/games-strategy/heroes3-demo/Manifest new file mode 100644 index 000000000000..021ddcd6ce2b --- /dev/null +++ b/games-strategy/heroes3-demo/Manifest @@ -0,0 +1,5 @@ +DIST heroes3-demo.run 99026773 SHA256 15de1efce09839013b5e85eddc57364167c46776b181b124299362a79e6ce735 SHA512 a3f60f12f7ce8ea0f160ec211e1f077693ff2f5e4b8b85ae0e31f1230a910b4df7c8c6a340762d4f09c9845d6141d235307f933305557a75fc63f409e077ac71 WHIRLPOOL 7afbd806f6e91dbbf2481723ae36b23c3ada9b7093bed815091ea76a8045623b4d52319b319a928537698e8cc89dce0cfedb8ad5b3cf75ce9ec6421631442a8a +EBUILD heroes3-demo-1.3.1a.ebuild 1438 SHA256 efcf8f81ad318fef2967ed5322a4d9decd739ff6865492f19978b90f6f5ff032 SHA512 a5dd6d09ba5d48b505bf610fdddcefd537c1263d33f5de8d7076529c841910711bbdfd5579c7bfa0574a9d8c23afd4bf2decf0d349ac9a33903f635ed11ee00c WHIRLPOOL 55eea6ee0bc4c7205e23e60b81118ab154059878757ab2d3f6ec965efd608d3b432fe84bc2a5703e2aee6ba11f4299efed3ee706ec4473459bf28e6f90f351f7 +MISC ChangeLog 2450 SHA256 71aac295690aebbd82d0534ba30e6fad83f5d6eb7132b0e0d5089788e06c2c99 SHA512 6f9195736dcecf24e4ae414e5dd2c8a10ef8fca9535be2913e9c5ca92db8ae11c22848f6952ea14600fc2900519c9c6ddf9b11b0922a1c2f6043da0d909e0a32 WHIRLPOOL 3e8924a11a5822af5f944a0a5a2255ce2a992df5a183e7ace65466557ba85aea4ded90e711d49a752f11aa0d48fc5410424cb0d69d68df51215220a55558487a +MISC ChangeLog-2015 1604 SHA256 a13475b26998b65404b796c057e6ef412e5910b5308d7fcaf8419343947e39c4 SHA512 7ef2723da8c83ca817c303495b937642a8d25afa6cde666f9e0d285c807dd8b8aff0d99a3ce50dccdceaf066d6cc7a20bda6709e2830a359823a8d104ea6012d WHIRLPOOL 750f279b32eaa673e0fea452a318927af42473c46c7a0afc335e759fe468f949d72222372e92c64e1f2c09ddc5bd8651b22763f78cde29833db6553c850db80f +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-strategy/heroes3-demo/heroes3-demo-1.3.1a.ebuild b/games-strategy/heroes3-demo/heroes3-demo-1.3.1a.ebuild new file mode 100644 index 000000000000..d20f909b2cb3 --- /dev/null +++ b/games-strategy/heroes3-demo/heroes3-demo-1.3.1a.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker games + +MY_PN=${PN%-demo} + +DESCRIPTION="turn-based 2D medieval combat" +HOMEPAGE="http://www.lokigames.com/products/heroes3/" +SRC_URI="mirror://lokigames/loki_demos/${PN}.run" + +LICENSE="all-rights-reserved" +SLOT="0" +# Should also work on ppc +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror bindist strip" + +DEPEND="games-util/loki_patch" +RDEPEND=">=sys-libs/lib-compat-loki-0.2 + || ( + ppc? ( + x11-libs/libX11 + ) + !ppc? ( + x11-libs/libX11[abi_x86_32(-)] + ) + )" + +dir=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${dir:1}/*" + +S=${WORKDIR} + +src_install() { + # Apply patch + loki_patch patch.dat data/ || die + + local demo="data/demos/${MY_PN}_demo" + + local exe_stub="${MY_PN}_demo" + if use ppc ; then + exe="${exe_stub}.ppc" + else + exe="${exe_stub}.x86" + fi + + insinto "${dir}" + exeinto "${dir}" + doins -r "${demo}"/* + rm "${D}/${dir}"/{${exe_stub}*,*.sh} || die + doexe "${demo}/${exe}" + + einfo "Linking libs provided by 'sys-libs/lib-compat-loki' to '${dir}'." + dosym /lib/loki_ld-linux.so.2 "${dir}"/ld-linux.so.2 + dosym /usr/lib/loki_libc.so.6 "${dir}"/libc.so.6 + dosym /usr/lib/loki_libnss_files.so.2 "${dir}"/libnss_files.so.2 + + games_make_wrapper ${PN} "./${exe}" "${dir}" + newicon "${demo}/icon.xpm" ${PN}.png + make_desktop_entry ${PN} "Heroes of Might and Magic III (Demo)" ${PN} + + prepgamesdirs +} diff --git a/games-strategy/heroes3-demo/metadata.xml b/games-strategy/heroes3-demo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-strategy/heroes3-demo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |