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-fps/quake4-demo/Manifest | 5 ++ games-fps/quake4-demo/metadata.xml | 24 +++++++ games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild | 87 +++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 games-fps/quake4-demo/Manifest create mode 100644 games-fps/quake4-demo/metadata.xml create mode 100644 games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild (limited to 'games-fps/quake4-demo') diff --git a/games-fps/quake4-demo/Manifest b/games-fps/quake4-demo/Manifest new file mode 100644 index 000000000000..28f9f92d0d23 --- /dev/null +++ b/games-fps/quake4-demo/Manifest @@ -0,0 +1,5 @@ +DIST quake4-linux-1.0-demo.x86.run 337276597 SHA256 69e69e8cb22dd1496bcc98dc63f244d35c516c2e770aba64c72275827814bc73 SHA512 c7fa64ca9f95ab61fd02f2d7d3a85c718a5dea9f60a89ba8b46e7500f090fe45bbe498775e41541e33a0bb3483b75da10529755bef3a97d3e362d1c173a02abe WHIRLPOOL 96103978541635dbc5c24718debbc0e2b631a54f2e61ed4960f6c73cc3c10309827c1be7f9d10994e69699956eca77c5ebfc20d612d9f7968cdb16068fcfb6dd +EBUILD quake4-demo-1.0-r1.ebuild 2482 SHA256 afdb917c063a0e05e5aec8ac32aa90c759eef1b0096025d506f3a0351e627ab7 SHA512 e236f932419db3c5ee6b50c6103ee7c8d24cdc31c7dc154740ebd614243e740489bf739c0e2f18ccb0b727368719cf8e7a26878ed17046ad913c47965e5b8462 WHIRLPOOL a61aeb037a24fa235039d9b5a2df483b9cc2be3c5168e331962b9dab531b3694b863fcbbaa20dfc95a00670d1675bccae340808d25ad70eaa6e117e9d8aefafd +MISC ChangeLog 2442 SHA256 71ccdf40ebf5be3729621d7366ffb7010e3c56a4408f65db826de85ebd476e65 SHA512 116026c731167483ab6e210485553a1cd33b56bf203bc499f6dbdfbeba24950691129f7e232ce9e45b944bfee4abb6c9d968ae1a9797c10b47a5b878d0f153ab WHIRLPOOL b924f16d82634469ad6c08d74b1048a0123ab6f3b429e1650683172fe73dc30bc9863a31a38bd5090046c151ff9f3b59d89d7fd30985650d20747545687a7257 +MISC ChangeLog-2015 3414 SHA256 6388cbdb57b88a88b62d7114d9ca9aa3367100b75e950e7c2dd1badc252b7403 SHA512 7239581b3c93d9ff7b81357df04d76fdabd0c26840852761bc8192dd9a14af35002e7cf6b4687117aa0f263637f61ab53bb541c8587a55924043fa3f71ba625f WHIRLPOOL ee2c6e5df2686b46b61ed7e932ba9f82658781c92620ef57a071a4b396a022696a7de7f67fc10482874a1a60e95c00b8e36f2652e7c69c305e20364157ef1b90 +MISC metadata.xml 1090 SHA256 eb2fb70c43b75431ab5a2fa63a488b49afb0ce72664c4c258e8a21e60a93a2c8 SHA512 d1e6906e94fb8a42f605310a3a2e18fdc99f7557ac7605116c2fa328838f624ff70d7e7f716b1b841de78a5e35067f2f6866d8f36feaf6fd36f8b4c964bbbc0f WHIRLPOOL eda27531dd1ed946bf5595211cabdff05f8cadf3f24de4c542334214261f4d1a9f99cb683ce5816dc560c24770afbac0078b2d49ae651665945a2aa9defc3eed diff --git a/games-fps/quake4-demo/metadata.xml b/games-fps/quake4-demo/metadata.xml new file mode 100644 index 000000000000..c4e94c39a17d --- /dev/null +++ b/games-fps/quake4-demo/metadata.xml @@ -0,0 +1,24 @@ + + + + + games@gentoo.org + Gentoo Games Project + + +In a desparate war for Earth's survival against and unrelenting alient enemy, +the only way to defeat them is to become one of them. + +Earth is under seige by the Strogg, a barbaric alien race moving through the +universe consuming, recycling and annihilating any civilization in their path. +In a deperate attempt to survive, an armada of Earth's finest warriors is sent +to take the battle to the Strogg home planet. + +You are Matthow Kane, an elite member of Rhino Squad and Eath's valiant invasion +force. Fight alone, with your squad, or in hover tanks and mechanized walkers +as you engage in a heroic mission the the heart of the Strogg war machine. + +Quake 4 is the fourth installment of the extremely popular and successful Quake +series by id software. This is the demo version of the commercial game. + + diff --git a/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild b/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild new file mode 100644 index 000000000000..23bbec74432d --- /dev/null +++ b/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker games + +MY_P="quake4-linux-${PV}-demo" +DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter" +HOMEPAGE="http://www.quake4game.com/" +SRC_URI="mirror://idsoftware/quake4/demo/${MY_P}.x86.run + http://www.3ddownloads.com/Action/Quake%204/Demos/${MY_P}.x86.run + mirror://3dgamers/quake4/${MY_P}.x86.run + http://filebase.gmpf.de/quake4/${MY_P}.x86.run + http://www.holarse.de/mirror/${MY_P}.x86.run + http://sonic-lux.net/data/mirror/quake4/${MY_P}.x86.run" + +LICENSE="QUAKE4" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="dedicated" +RESTRICT="strip" + +# QUAKE4 NEEDS s3tc support, which can be obtained for OSS drivers via +# media-libs/libtxc_dxtn and is built into the proprietary drivers. +# depend optionally on them but elog too, in case a user has both +# proprietary and OSS drivers installed and sees the segfault. + +RDEPEND="sys-libs/glibc + sys-libs/libstdc++-v3:5 + amd64? ( sys-libs/glibc[multilib] sys-libs/libstdc++-v3:5[multilib] ) + dedicated? ( app-misc/screen ) + !dedicated? ( + || ( + >=media-libs/libtxc_dxtn-1.0.1-r1[abi_x86_32(-)] + x11-drivers/nvidia-drivers + >=x11-drivers/ati-drivers-8.8.25-r1 + ) + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=media-libs/libsdl-1.2.15-r4[X,opengl,sound,abi_x86_32(-)] + )" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +QA_PREBUILT="${dir:1}/quake4.x86 + ${dir:1}/q4ded.x86" + +src_install() { + insinto "${dir}" + doins License.txt q4icon.bmp version.info + dodoc README + + exeinto "${dir}" + doexe openurl.sh bin/Linux/x86/q4ded.x86 + games_make_wrapper ${PN}-ded ./q4ded.x86 "${dir}" "${dir}" + + insinto "${dir}"/q4base + doins q4base/* + + if ! use dedicated ; then + doexe bin/Linux/x86/quake4.x86 + games_make_wrapper ${PN} ./quake4.x86 "${dir}" "${dir}" + newicon q4icon.bmp ${PN}.bmp || die + make_desktop_entry ${PN} "Quake IV (Demo)" /usr/share/applications/${PN}.bmp + fi + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + if ! use dedicated; then + elog "To play the game run:" + elog " quake4-demo" + echo + elog "If you get a segmentation fault or an error regarding" + elog "'GL_EXT_texture_compression_s3tc', you can obtain the" + elog "necessary support for your mesa drivers by installing" + elog "media-libs/libtxc_dxtn (for abi_x86_32 if multilib)." + echo + fi + elog "To start the gameserver, run:" + elog " quake4-demo-ded" +} -- cgit v1.2.3