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-action/descent3-demo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/descent3-demo')
-rw-r--r-- | games-action/descent3-demo/Manifest | 6 | ||||
-rw-r--r-- | games-action/descent3-demo/descent3-demo-1.4.0a-r1.ebuild | 73 | ||||
-rw-r--r-- | games-action/descent3-demo/descent3-demo-1.4.0a.ebuild | 62 | ||||
-rw-r--r-- | games-action/descent3-demo/metadata.xml | 15 |
4 files changed, 156 insertions, 0 deletions
diff --git a/games-action/descent3-demo/Manifest b/games-action/descent3-demo/Manifest new file mode 100644 index 000000000000..06679cd3d597 --- /dev/null +++ b/games-action/descent3-demo/Manifest @@ -0,0 +1,6 @@ +DIST descent3-demo.run 45118289 SHA256 9304dff200a062bb5bd1fa69517b5cc6c19db0a63c06b2084f05c98c9eca786c SHA512 8f5e790257d0477e4238aae8fb5b4b1f21e23f188775cb53a5197baf0c174017d821e3a8dd696f9c0fd27838e08cff4bde0d6f5a9dca87a7e8af29cdc627d29c WHIRLPOOL 42d4aabadf185fe88e9e2dff91595a8895a2f51e212e7efbdcaccb9b55d380c10a3fbb0e4c5c2814d3017e0d90ba46c70a2d770bc7a8cbe25b6fc210a0a4204c +EBUILD descent3-demo-1.4.0a-r1.ebuild 1702 SHA256 8383973ec87e05d0c19c3cda28a2b1bc79e22a8384c3089da0470bfd98f90b0d SHA512 38e25044e6afc983f0e3ee4762b2f6c1b623362c2c87d72c54cb6af7c7e95c23394dd14126bde41ce5bdd08e0c68690cb173cb48d62c5fa71e12a7ff5c8371c9 WHIRLPOOL 707dc2ce9cccab5818f98d9410696b1b3ea4dc6f63a59e38089e50b60c326f9646846675c4b29ad91969bc41d7faac86371a2af3c7e9fdf0afb15006334cf95c +EBUILD descent3-demo-1.4.0a.ebuild 1398 SHA256 2de5e3b992a52d453b902f8fb5de63a8fa2670ec8ac7f0928ef11de52fb5895f SHA512 02fe3f1f3b190c11acc80d4c0344e42f7623545187cac13f8f105156d960f5253a4c0dec5d30fd6b921c6333804e3ada2f8320f854a94b7875ea386ccb2d3c85 WHIRLPOOL 035587518dcc28f8f93748f77a334f38167fbcb2517654e9ed936a1c8d9ff2e12a053b1ddb8d3470a83798a0c24dc47e261a699fb465564f7b9ed5419c3d1592 +MISC ChangeLog 2451 SHA256 ae3e7fa654f14df32d6c92e1f4c039dc914cc7c69e4b5d3db29c864060bc84f8 SHA512 babb48ed605f7d802bae528e5be4fe7809abea212c296678c83ca770c50902b112a5fa8fd8c5d121706029ad9a6cf9498ac4c38361f7602eb3df4aa138468868 WHIRLPOOL 869d66a438dd3101ade59bbb8c3652a30a236b87d394b45a72af8128e64fe66a8da9ec336bcb0afac62e3af5b4abc5a62a757c50941d969a2d2e31d33b41e523 +MISC ChangeLog-2015 2264 SHA256 1d11dd3353634d3f4825d07866beed740611b5a4cdc8d67b21af637d4ce7b555 SHA512 5f305c6b7a426502729f4ce7d581471c130954b9ab5faaa6cabd2f016164f006ef2662d4977c47789bfb31c2cce73f76956d116bb2cecf8e15634759dbed09af WHIRLPOOL d41a81068d2db36a78ebf5cda80146ac8c7916d997cba77ceeab3d033080d8a9f9e3a2ba877a9a0595649c7f16fbff862909bff7fd52579b1e9e3324c0ddaed6 +MISC metadata.xml 674 SHA256 35072bdb4c71735d8cffb8fde5e3fac921dfdea99ac9f53961ecf8165c99bd66 SHA512 44cd0adf66a791a20af8eda38f8a7adef9aaeaf74b5a3db388d33efaec4bc14781ad9c8697fdbd18a2ff2188f848601409631b02537589bbae9eb9d8d0c5792f WHIRLPOOL 8d9e5578264caaef0b16c3e5df8782b6844f0b165cc1184408ac6af9a4170ec161eafe4d21f242ba3643704c4118b338833f0b5e0f5a062a4b0d16d8967e4377 diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a-r1.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a-r1.ebuild new file mode 100644 index 000000000000..cad5192149ca --- /dev/null +++ b/games-action/descent3-demo/descent3-demo-1.4.0a-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils unpacker xdg + +DESCRIPTION="Indoor/outdoor 3D combat with evil robotic mining spacecraft" +HOMEPAGE="http://www.lokigames.com/products/descent3/" +SRC_URI="mirror://lokigames/loki_demos/${PN}.run" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa pulseaudio" +REQUIRED_USE="?? ( alsa pulseaudio )" +RESTRICT="bindist mirror strip" + +DEPEND="games-util/loki_patch" +RDEPEND="sys-libs/glibc + >=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(-)] + alsa? ( media-libs/alsa-oss[abi_x86_32(-)] ) + pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] )" + +dir="/opt/${PN}" +QA_PREBUILT="${dir:1}/descent3_demo.x86 + ${dir:1}/netgames/*.d3m" + +S="${WORKDIR}" + +src_install() { + local \ + snd= \ + demo="data/demos/descent3_demo" \ + exe="descent3_demo.x86" + + loki_patch patch.dat data/ || die + + insinto "${dir}" + exeinto "${dir}" + doins -r "${demo}"/* + doexe "${demo}/${exe}" + + # Required directory + keepdir "${dir}"/missions + + # Fix for 2.6 kernel crash, bug #151148 + dosym ppics.hog "${dir}"/PPics.Hog + + if use alsa; then + snd="aoss " + elif use pulseaudio; then + snd="env LD_PRELOAD=\"${EPREFIX}/usr/$(ABI=x86 get_libdir)/pulseaudio/libpulsedsp.so\" " + fi + + make_wrapper ${PN} "${snd}./${exe} -G -o" "${dir}" + newicon "${demo}"/launch/box.png ${PN}.png + make_desktop_entry ${PN} "Descent 3 (Demo)" +} + +pkg_postinst() { + xdg_pkg_postinst + + echo + elog "To play the game run:" + elog " descent3-demo" + elog + elog "If the game appears blank, then run it windowed with:" + elog " descent3-demo -w" + echo +} diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild new file mode 100644 index 000000000000..5e6e949e73ae --- /dev/null +++ b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker games + +DESCRIPTION="Indoor/outdoor 3D combat with evil robotic mining spacecraft" +HOMEPAGE="http://www.lokigames.com/products/descent3/" +SRC_URI="mirror://lokigames/loki_demos/${PN}.run" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="mirror bindist strip" + +DEPEND="games-util/loki_patch" +RDEPEND="sys-libs/glibc + >=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(-)]" + +dir="${GAMES_PREFIX_OPT}/${PN}" +QA_PREBUILT="${dir:1}/descent3_demo.x86 + ${dir:1}/netgames/*.d3m" + +S=${WORKDIR} + +src_install() { + local demo="data/demos/descent3_demo" + local exe="descent3_demo.x86" + + loki_patch patch.dat data/ || die + + insinto "${dir}" + exeinto "${dir}" + doins -r "${demo}"/* + doexe "${demo}/${exe}" + + # Required directory + keepdir "${dir}"/missions + + # Fix for 2.6 kernel crash + cd "${Ddir}" + ln -sf ppics.hog PPics.Hog + + games_make_wrapper ${PN} "./${exe}" "${dir}" + newicon "${demo}"/launch/box.png ${PN}.png + make_desktop_entry ${PN} "Descent 3 (Demo)" ${PN} + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "To play the game run:" + elog " descent3-demo" + elog + elog "If the game appears blank, then run it windowed with:" + elog " descent3-demo -w" + echo +} diff --git a/games-action/descent3-demo/metadata.xml b/games-action/descent3-demo/metadata.xml new file mode 100644 index 000000000000..27cdd4f34a28 --- /dev/null +++ b/games-action/descent3-demo/metadata.xml @@ -0,0 +1,15 @@ +<?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> +<longdescription> +Descent 3 is a first-person 3-D action flight-sim which takes place in both +indoor and outdoor arenas. The game was ported to Linux by the now defunct Loki +Entertainment and is commercial software. You can still pick up a copy from +Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher +is no longer in business. This is the free demo version of the full game. +</longdescription> +</pkgmetadata> |