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-fps/quake3-demo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-fps/quake3-demo')
-rw-r--r-- | games-fps/quake3-demo/Manifest | 5 | ||||
-rw-r--r-- | games-fps/quake3-demo/metadata.xml | 11 | ||||
-rw-r--r-- | games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild | 63 |
3 files changed, 79 insertions, 0 deletions
diff --git a/games-fps/quake3-demo/Manifest b/games-fps/quake3-demo/Manifest new file mode 100644 index 000000000000..f27e2a3b8363 --- /dev/null +++ b/games-fps/quake3-demo/Manifest @@ -0,0 +1,5 @@ +DIST linuxq3ademo-1.11-6.x86.gz.sh 49289300 SHA256 64dee3f69b6e792d1da4fe0ac98fedc7eb1e37ea1027fb609a9fadd06150a4ec SHA512 aa74f8e1e8b5036fd68761e5f38cbc3d771e9bd0d5c3cc1f5d89d7eba8fd4fda8108dfd4f31d2b846114e4ec89f6aa15849b95232e0570181a104563ec0faeb5 WHIRLPOOL 558a84cf97c142befa4585eeeeca609f3b5c1880f6fda32a79de415d28779cbe2f69e9c901f4a7d8e0f60acd6279a7a9be69834cb6acded7d31ad630ffd3847f +EBUILD quake3-demo-1.11-r1.ebuild 1453 SHA256 50ffaf708a24fa71253ae8b1392c2d117e9c6f93f05755adcef153e2b05881a7 SHA512 48798ebeadf0a3d36a68b5cbc4e3292a22d712aa9716d584fe5923f66d4da0c3935eb5bce65736bb288d50d5df5050490d72fa2601b75270e1ebca9f685a102e WHIRLPOOL f523d0100edfe1c5524f6404bd9267299812108363364d161d901ad7f118159338afbc1032f866837b4e2fe280bd74ece647a3a093091f59a5de31120ebad59c +MISC ChangeLog 2837 SHA256 f96edc413e410b582e9ad5b9108b0df31a5701f663a7ffd7ebd597651854881d SHA512 b09ce7c4beadc56c6864394fa76f91251cff672015855a82412d284ebc28bb7c8e0474c47e36d240fe677ecf214afea5c45810be012c841c25caaadd22e5d252 WHIRLPOOL 7d441c6366b346859f7a405a18275f548c52464c9fdd75ddfca28e334429a487388b9c7757ac4c2190fc92595ed0ece9776f75fcb9bbb4012941e8de1a8cd3fd +MISC ChangeLog-2015 4301 SHA256 0b97e49b0313b9c397991f988f1d07a30fdc6dc004086ce8299b0c0188520bc2 SHA512 c9f5f97c221b8e4fefe4b4deb7e82c2d80ff79496983ed4c7d7048dd1f7ae01e665accc36f165068c19e7f7bbbe2fcddf93f2469bb835767bf6305f16d4348a6 WHIRLPOOL e048282563bffb87467f2b878c96e7ee44b989bd6821b8ce1b5d3e84ec14e2de12b52b89fa7e5bb80eaa8993b156985df2e33be5ad712a814246d7430f23d687 +MISC metadata.xml 332 SHA256 da68f23825dc9c6ebdddc17710e42f23203493f3508417a94f14a2d3c9bdf52d SHA512 0852d9f223e893d40f4376708c32ceb59b5df65c5cb345a3ba81700ec4198c6bb7396be42910aa3c406df40b8bc4d97d777624ced523cd8de56f4dd406a89d01 WHIRLPOOL 7f8f2bdac24594f369e64984e99223f891badf773f254d2aaa5cace605a1c09f6e440eb26d76b35a42889f7ff0893144f460f1b5ad6b94335b77cc200e0b78e4 diff --git a/games-fps/quake3-demo/metadata.xml b/games-fps/quake3-demo/metadata.xml new file mode 100644 index 000000000000..b8a2e88c3c6c --- /dev/null +++ b/games-fps/quake3-demo/metadata.xml @@ -0,0 +1,11 @@ +<?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> +<use> + <flag name="dedicated">install only as a dedicated game serer</flag> +</use> +</pkgmetadata> diff --git a/games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild b/games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild new file mode 100644 index 000000000000..6096e3f9f8ce --- /dev/null +++ b/games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker games + +DESCRIPTION="the playable demo of Quake III Arena by Id Software" +HOMEPAGE="http://www.idsoftware.com/games/quake/quake3-arena/" +SRC_URI="mirror://idsoftware/quake3/linux/linuxq3ademo-${PV}-6.x86.gz.sh + mirror://3dgamers/quake3arena/linuxq3ademo-${PV}-6.x86.gz.sh" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="dedicated" +RESTRICT="strip" + +RDEPEND="sys-libs/glibc + amd64? ( sys-libs/glibc[multilib] ) + dedicated? ( app-misc/screen ) + !dedicated? ( + >=virtual/opengl-7.0-r1[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} +QA_PREBUILT="${dir:1}/q3ded.x86 + ${dir:1}/q3demo.x86" + +src_unpack() { + unpack_makeself +} + +src_install() { + insinto "${dir}" + doins -r Help demoq3 + doins README icon.* + + exeinto "${dir}" + newexe bin/x86/glibc-2.0/q3ded q3ded.x86 + games_make_wrapper q3ded ./q3ded.x86 "${dir}" "${dir}" + if ! use dedicated; then + newexe bin/x86/glibc-2.0/q3demo q3demo.x86 + games_make_wrapper q3demo ./q3demo.x86 "${dir}" "${dir}" + make_desktop_entry q3demo "Quake III (Demo)" + fi + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! use dedicated; then + elog "To play the game run:" + elog " q3demo" + fi + echo + elog "To start the gameserver, run:" + elog " q3ded" +} |