From 4645b6f17f0da81e9fe84081fb126a37102ba153 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 8 May 2018 14:01:34 +0100 Subject: gentoo resync : 08.05.2018 --- games-fps/quake4-demo/Manifest | 2 +- games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild | 87 ------------------------- games-fps/quake4-demo/quake4-demo-1.0-r2.ebuild | 76 +++++++++++++++++++++ 3 files changed, 77 insertions(+), 88 deletions(-) delete mode 100644 games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild create mode 100644 games-fps/quake4-demo/quake4-demo-1.0-r2.ebuild (limited to 'games-fps/quake4-demo') diff --git a/games-fps/quake4-demo/Manifest b/games-fps/quake4-demo/Manifest index 8846472e4689..e57e9828b5f2 100644 --- a/games-fps/quake4-demo/Manifest +++ b/games-fps/quake4-demo/Manifest @@ -1,3 +1,3 @@ DIST quake4-linux-1.0-demo.x86.run 337276597 BLAKE2B 1fa657287210e717486955c5b6190e52665c2c8eb4faf44b1a4ba851347e934436f1153c9df2c3296e3e981c7cf981dbcf5bdb042b6eab1d36214f6937839161 SHA512 c7fa64ca9f95ab61fd02f2d7d3a85c718a5dea9f60a89ba8b46e7500f090fe45bbe498775e41541e33a0bb3483b75da10529755bef3a97d3e362d1c173a02abe -EBUILD quake4-demo-1.0-r1.ebuild 2482 BLAKE2B 273f21a1ec2ad111e37a16ac425bf9007ea79718b46a916ad0c7b6aada3321102425584459e5397e7c0d30d89d8dd6a4820cfe2295399cac060c061ddfec8b0d SHA512 e236f932419db3c5ee6b50c6103ee7c8d24cdc31c7dc154740ebd614243e740489bf739c0e2f18ccb0b727368719cf8e7a26878ed17046ad913c47965e5b8462 +EBUILD quake4-demo-1.0-r2.ebuild 1897 BLAKE2B aa7a681e68bcf05f42f660cfff2916c0accb0a91db2b297bd57deba6b4e123d2679a554c14d7b6f8b561ae881dfeb925b9f8717ac7388cbfc4cdb02bc2e9739f SHA512 743e53e31e2c88114e7ee02b5869447e3a0930006b6673f191895e89dec2113c56ef85d7e44ec76cf3b42955055b2449b5194ddc5dda9d897ddf6452ed3d7acb MISC metadata.xml 1090 BLAKE2B 0cef05f0bb46b9e1ddc0a2c30a3441d98bba5e5f16563b52eefccf1a7bcb4d4c5f2528413ed2ca4680c8bfe9bcbadf3a76c6f6efe26e84d663cec985e2add058 SHA512 d1e6906e94fb8a42f605310a3a2e18fdc99f7557ac7605116c2fa328838f624ff70d7e7f716b1b841de78a5e35067f2f6866d8f36feaf6fd36f8b4c964bbbc0f diff --git a/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild b/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild deleted file mode 100644 index 23bbec74432d..000000000000 --- a/games-fps/quake4-demo/quake4-demo-1.0-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# 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" -} diff --git a/games-fps/quake4-demo/quake4-demo-1.0-r2.ebuild b/games-fps/quake4-demo/quake4-demo-1.0-r2.ebuild new file mode 100644 index 000000000000..a576d70253bb --- /dev/null +++ b/games-fps/quake4-demo/quake4-demo-1.0-r2.ebuild @@ -0,0 +1,76 @@ +# 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" + +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? ( + || ( + virtual/opengl[abi_x86_32(-)] + x11-drivers/nvidia-drivers + ) + >=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 + fi + elog "To start the gameserver, run:" + elog " quake4-demo-ded" +} -- cgit v1.2.3