diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2014-07-08 21:21:11 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2014-07-08 21:21:11 +0000 |
commit | 54c8ff58ddf5e890da1d9fbbc3aad3fbd844f64f (patch) | |
tree | 48833d3d29a6f0542084943a0a1869ab078f7a92 /games-fps | |
parent | bumped EAPI to 5, adjustd deps for gx86-multilib, dropped useless use flags, ... (diff) | |
download | gentoo-2-54c8ff58ddf5e890da1d9fbbc3aad3fbd844f64f.tar.gz gentoo-2-54c8ff58ddf5e890da1d9fbbc3aad3fbd844f64f.tar.bz2 gentoo-2-54c8ff58ddf5e890da1d9fbbc3aad3fbd844f64f.zip |
bumped EAPI to 5, adjustd deps for gx86-multilib, dropped useless use flags, made USE=dedicated install only the dedicated server, as it should
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/quake3-demo/ChangeLog | 11 | ||||
-rw-r--r-- | games-fps/quake3-demo/metadata.xml | 3 | ||||
-rw-r--r-- | games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild | 70 |
3 files changed, 82 insertions, 2 deletions
diff --git a/games-fps/quake3-demo/ChangeLog b/games-fps/quake3-demo/ChangeLog index 9713b38de876..79bf6c304b7e 100644 --- a/games-fps/quake3-demo/ChangeLog +++ b/games-fps/quake3-demo/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-fps/quake3-demo -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.25 2012/12/25 19:07:03 tupone Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.26 2014/07/08 21:21:11 axs Exp $ + +*quake3-demo-1.11-r1 (08 Jul 2014) + + 08 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org> + +quake3-demo-1.11-r1.ebuild, metadata.xml: + bumped EAPI to 5, adjustd deps for gx86-multilib, dropped useless use flags, + made USE=dedicated install only the dedicated server, as it should 25 Dec 2012; Tupone Alfredo <tupone@gentoo.org> quake3-demo-1.11.ebuild: Use QA_PREBUILT. Bug #430374 by Diego Elio Pettenò diff --git a/games-fps/quake3-demo/metadata.xml b/games-fps/quake3-demo/metadata.xml index d3c2cc926f0b..69805c6e0030 100644 --- a/games-fps/quake3-demo/metadata.xml +++ b/games-fps/quake3-demo/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> +<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..a2a41dc4ed64 --- /dev/null +++ b/games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11-r1.ebuild,v 1.1 2014/07/08 21:21:11 axs Exp $ + +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(-)] + ) + ( + app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] + app-emulation/emul-linux-x86-opengl[-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" +} |