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/heretic2/Manifest | 7 +++ games-action/heretic2/heretic2-1.06c-r1.ebuild | 84 ++++++++++++++++++++++++++ games-action/heretic2/metadata.xml | 8 +++ 3 files changed, 99 insertions(+) create mode 100644 games-action/heretic2/Manifest create mode 100644 games-action/heretic2/heretic2-1.06c-r1.ebuild create mode 100644 games-action/heretic2/metadata.xml (limited to 'games-action/heretic2') diff --git a/games-action/heretic2/Manifest b/games-action/heretic2/Manifest new file mode 100644 index 000000000000..85f903942090 --- /dev/null +++ b/games-action/heretic2/Manifest @@ -0,0 +1,7 @@ +DIST heretic2-1.06b-unified-x86.run 4718161 SHA256 5fccb3ed0948af96b8f92232dc0e89f700b32a753ef303f707b82189d9d2b4fb SHA512 7dcd4f8f87d526db7ea9fd647e4807d4e1a404a612460f8dcc0d0360964ef0d4c721e9c62b58cd1764c1e2c71ad1539c6aac5083fadc7a85ec4c12c8aa7b338f WHIRLPOOL d471cd3d1135e647a2bbd5363a0aae731f31699085bc4f45ab3f93a4b7f2625c69653abf1841f4966d6609880f448ce688b1b4b933c848cd0ee1139a7f759ac1 +DIST heretic2-1.06c-unified-x86.run 3667873 SHA256 0e8fbd4a9df001a7b2df7e860f5506069ffaae2f898e066b7b72fbc83e1496f0 SHA512 e855c573d6e215e18d80143d1850e890349f941462a5d2d59c57a02f11a39967fd633efdfe46199d588e97cc99322d539ac50fc7bc7fa6d7e116e99f5a532de4 WHIRLPOOL cd605462e809bdacde9f50b91c2c188ea08bed386bad9baf2a065ac7ef95d8383be4ec5acf62293c2a7df30ed969e7860979fdb792854cc6db16b0c90ffb2eca +DIST heretic2-maps-1.0.run 6257076 SHA256 c4dc02af9c426ecaf59ce3a4c487c3e452b430eca1bb0e3a33f98f9d2ac47543 SHA512 ba570caeae6bbe4a97bfe937353014dc9ddcc5a007b0fd1911ab1494667d2dae263d727190e7172d35639511a6383ff35eea5622cdc2e124e3793daef3c8e607 WHIRLPOOL 04c99d8171beb28f4a5606d29bfc57f4b4a86574d46abd5dde5bd08a3660430d8690f9948a21c337ebad0b9e131fd290898cd4d7e71f4a8649e15aa60b316f63 +EBUILD heretic2-1.06c-r1.ebuild 1788 SHA256 d1240498212146dd9618e8f0d82c7bce9cc379ead4c383484f6da117614b9a0f SHA512 c414172a86db514feb65cbfc19f2ff15e0b80d14f657434361a31055abfa87d21f9ca9a59ac81eab2178153f199a4de9d9938314ae412e808ac64747004bfcee WHIRLPOOL a8b982a6f4cd792b5993d6692b43f7bcf2da2a41333423e8f84f018fd7c1a1f67065b671f4c30e28d0c3ccae48033b0b54686beb107da63f9fb70159e4f08998 +MISC ChangeLog 2564 SHA256 b3b0223d6e89664033dda9ee11676979456e69a3df7580f35f9339843b218bd5 SHA512 ebdec79d60e8cc5eb298ee6191d21bd900ea7433ae546dd3b89e95df59522aa7d621f07647da0468e637b63ecc7df40c0545bb6da02608425d908719799e0626 WHIRLPOOL ff84a294a916526cc87260d1f7965144f06e3a888fc15aa17dac2295c57d01bb679d9e4dcdc7b809098abe05b08e6752519333aeac373785004d66496828b8a3 +MISC ChangeLog-2015 2464 SHA256 3608d6ff8150c279733e719bd23287880c90eeae5dcba89aef5d7fadcc149a56 SHA512 fb1befbf52f1d14a0a66cba9cf1ff56c25a85bf0665b2a931d022159fcfff0ee6a3f627c46619f63e4b20c410ca67602516252d94dcad27a74e95973dee20f30 WHIRLPOOL 4aaf2db03b9271e625f9f16c0cae617cde51ea6495a6429360741349196fa827a6a4c7f9edc2a46e5dc5a68e25159d5b518cdd01133200dc49616baa53cb845c +MISC metadata.xml 252 SHA256 0dd0e558bb7ccc4f24cb9c9c43790c108e559f3462861b2ff6eb267a345beaab SHA512 90798aff93ec7e3881b882e7b10bb1680e8cb7d82b0ef4280e562ab0c9e8a2daba8afe57333dc64697322267a4b651c00ee9b4fdeb56278ff70c073da7b91638 WHIRLPOOL c6c72f145f4ccc4863ad4c1a236eac601fb00f0e9550568f98d5e6f5eeb16f361b4c18eac8d80a1534e398fac595a6819a86297164be0818d04de6d643f01d7c diff --git a/games-action/heretic2/heretic2-1.06c-r1.ebuild b/games-action/heretic2/heretic2-1.06c-r1.ebuild new file mode 100644 index 000000000000..7d89ec0bbf32 --- /dev/null +++ b/games-action/heretic2/heretic2-1.06c-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker cdrom multilib games + +DESCRIPTION="Third-person classic magical action-adventure game" +HOMEPAGE="http://lokigames.com/products/heretic2/ + http://www.ravensoft.com/heretic2.html" +SRC_URI="mirror://lokigames/${PN}/${P/%?/b}-unified-x86.run + mirror://lokigames/${PN}/${P}-unified-x86.run + mirror://lokigames/${PN}/${PN}-maps-1.0.run" + +LICENSE="LOKI-EULA" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="strip" +QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/${PN}/base/*.so" + +DEPEND="games-util/loki_patch" +RDEPEND="virtual/opengl + amd64? ( + >=virtual/opengl-7.0-r1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + ) + x86? ( + x11-libs/libX11 + x11-libs/libXext + )" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds bin/x86/glibc-2.1/${PN} + mkdir ${A} + + local f + for f in * ; do + cd "${S}"/${f} + unpack_makeself ${f} + done +} + +src_install() { + has_multilib_profile && ABI=x86 + + local dir=${GAMES_PREFIX_OPT}/${PN} + + cd "${CDROM_ROOT}" + + insinto "${dir}" + doins -r base help Manual.html README README.more + + exeinto "${dir}" + doexe bin/x86/glibc-2.1/${PN} + + games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}" + sed -i \ + -e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \ + "${D}/${GAMES_BINDIR}/${PN}" || die + newicon icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Heretic II" + + cd "${D}/${dir}" + ln -s "${CDROM_ROOT}"/*.gz . + unpack ./*.gz + rm -f *.gz + + local d + for d in "${S}"/* ; do + pushd "${d}" > /dev/null + loki_patch patch.dat "${D}/${dir}" || die + popd > /dev/null + done + + rmdir gl_drivers + sed -i \ + "128i set gl_driver \"/usr/$(get_libdir)/libGL.so\"" \ + base/default.cfg || die + + prepgamesdirs +} diff --git a/games-action/heretic2/metadata.xml b/games-action/heretic2/metadata.xml new file mode 100644 index 000000000000..3c186688e265 --- /dev/null +++ b/games-action/heretic2/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + -- cgit v1.2.3