[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: fd775754aed3240ace5d0fc3c9676ed691db6aab Author: Sam James gentoo org> AuthorDate: Wed Mar 6 06:11:44 2024 + Commit: Sam James gentoo org> CommitDate: Wed Mar 6 06:11:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd775754 games-fps/darkplaces: add github upstream metadata Signed-off-by: Sam James gentoo.org> games-fps/darkplaces/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games-fps/darkplaces/metadata.xml b/games-fps/darkplaces/metadata.xml index feb0bf1abb63..9ccc2564b2fb 100644 --- a/games-fps/darkplaces/metadata.xml +++ b/games-fps/darkplaces/metadata.xml @@ -11,4 +11,7 @@ Install and setup the updated light maps Install and setup the updated textures + +DarkPlacesEngine/darkplaces +
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 036ffaac92fed0a29389e8b04ea13f9f8320ec97 Author: Sam James gentoo org> AuthorDate: Wed Mar 6 06:13:19 2024 + Commit: Sam James gentoo org> CommitDate: Wed Mar 6 06:13:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036ffaac games-fps/darkplaces: filter LTO, no SA There's a lot of SA fixes in git, add a comment in the ebuild about that to revisit later. But not going to backport them right now. Closes: https://bugs.gentoo.org/858740 Signed-off-by: Sam James gentoo.org> games-fps/darkplaces/darkplaces-20140513-r2.ebuild | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild index 80635bac833c..5f728ab6f31e 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -127,6 +127,11 @@ src_compile() { # bug #739194 unset STRIP + # Strict aliasing violations (bug #858740), but they seem to be fixed in git. + # Check on next release (>20140513) / snapshot. + append-flags -fno-strict-aliasing + filter-lto + tc-export CC # Preferred sound is alsa
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 760be1568439f150100a7016af8eb26f4b0393a7 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Sep 12 19:25:02 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Sun Sep 12 20:19:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760be156 games-fps/darkplaces: toolchain-funcs++ for IndirectInherits Signed-off-by: Ionen Wolkens gentoo.org> games-fps/darkplaces/darkplaces-20140513-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild index 5c2d846cf63..80635bac833 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop flag-o-matic wrapper unpacker +inherit desktop flag-o-matic toolchain-funcs wrapper unpacker # Latest versions are in http://icculus.org/twilight/darkplaces/files/ MY_PV="${PV/_beta/beta}"
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: c3c1909d4a27cd939239b3ef11401ec18fe2e98a Author: Sam James gentoo org> AuthorDate: Thu Aug 19 00:09:26 2021 + Commit: Sam James gentoo org> CommitDate: Thu Aug 19 00:38:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c1909d games-fps/darkplaces: add missing libsdl[joystick] dependency Closes: https://bugs.gentoo.org/738226 Signed-off-by: Sam James gentoo.org> .../{darkplaces-20140513-r1.ebuild => darkplaces-20140513-r2.ebuild}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild similarity index 99% rename from games-fps/darkplaces/darkplaces-20140513-r1.ebuild rename to games-fps/darkplaces/darkplaces-20140513-r2.ebuild index 4ac04b2d8f3..5c2d846cf63 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild @@ -32,7 +32,7 @@ UIRDEPEND=" media-libs/libvorbis virtual/opengl alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl ) + sdl? ( media-libs/libsdl[joystick] ) x11-libs/libX11 x11-libs/libXpm x11-libs/libXxf86dga
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/, games-fps/darkplaces/files/
commit: bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jun 13 18:51:51 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jun 13 18:51:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc2ba1cd games-fps/darkplaces: tweak for gcc-11 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/786288 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 2 + .../files/darkplaces-20140513-gcc-11.patch | 43 ++ 2 files changed, 45 insertions(+) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild index 7934dcbe22d..4ac04b2d8f3 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -68,6 +68,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=("${FILESDIR}"/${P}-gcc-11.patch) + dir="/usr/share/quake1" opengl_client() { diff --git a/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch b/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch new file mode 100644 index 000..5670b053cef --- /dev/null +++ b/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch @@ -0,0 +1,43 @@ +https://bugs.gentoo.org/786288 + +Attach alignment annotation to strict, not it's typedef alias. +--- a/dpsoftrast.c b/dpsoftrast.c +@@ -177,7 +177,7 @@ typedef ALIGN(struct DPSOFTRAST_State_Triangle_s + float w[3]; + ALIGN(float attribs[DPSOFTRAST_ARRAY_TOTAL][3][4]); + } +-DPSOFTRAST_State_Triangle); ++) DPSOFTRAST_State_Triangle; + + #define DPSOFTRAST_CALCATTRIB(triangle, span, data, slope, arrayindex) { \ + slope = _mm_load_ps((triangle)->attribs[arrayindex][0]); \ +@@ -209,7 +209,7 @@ typedef ALIGN(struct DPSOFTRAST_State_Span_s + int depthbase; // depthbuffer value at x (add depthslope*startx to get first pixel's depthbuffer value) + int depthslope; // depthbuffer value pixel delta + } +-DPSOFTRAST_State_Span); ++) DPSOFTRAST_State_Span; + + #define DPSOFTRAST_DRAW_MAXSPANS 1024 + #define DPSOFTRAST_DRAW_MAXTRIANGLES 128 +@@ -299,8 +299,8 @@ typedef ALIGN(struct DPSOFTRAST_State_Thread_s + DPSOFTRAST_State_Span spans[DPSOFTRAST_DRAW_MAXSPANS]; + DPSOFTRAST_State_Triangle triangles[DPSOFTRAST_DRAW_MAXTRIANGLES]; + unsigned char pixelmaskarray[DPSOFTRAST_DRAW_MAXSPANLENGTH+4]; // LordHavoc: padded to allow some termination bytes +-} +-DPSOFTRAST_State_Thread); ++}) ++DPSOFTRAST_State_Thread; + + typedef ALIGN(struct DPSOFTRAST_State_s + { +@@ -358,7 +358,7 @@ typedef ALIGN(struct DPSOFTRAST_State_s + + DPSOFTRAST_State_Command_Pool commandpool; + } +-DPSOFTRAST_State); ++) DPSOFTRAST_State; + + DPSOFTRAST_State dpsoftrast; +
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: a2e31969d6f9d9297d6eedd63477400c599e8762 Author: Sam James gentoo org> AuthorDate: Sun Apr 25 20:59:28 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 21:01:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e31969 games-fps/darkplaces: unset STRIP from environment The build system defaults to noop unless one is set from the environment. Closes: https://bugs.gentoo.org/785718 Signed-off-by: Sam James gentoo.org> games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild index 171eaa03f68..7934dcbe22d 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -123,7 +123,7 @@ src_compile() { # Protect against people choosing a strip implementation # bug #739194 - opts+="STRIP=true" + unset STRIP tc-export CC
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: e97bb8a8a1c7d14bf1f42cd397b8065c8a9c9849 Author: Sam James gentoo org> AuthorDate: Sun Apr 25 19:04:12 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 19:13:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97bb8a8 games-fps/darkplaces: fix pre-stripped files, respecting CC Can't reproduce CFLAGS issue right now. Closes: https://bugs.gentoo.org/739194 Closes: https://bugs.gentoo.org/739200 Signed-off-by: Sam James gentoo.org> games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 23 +- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild index c0fafee1498..171eaa03f68 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils flag-o-matic unpacker +EAPI=7 + +inherit desktop flag-o-matic wrapper unpacker # Latest versions are in http://icculus.org/twilight/darkplaces/files/ MY_PV="${PV/_beta/beta}" @@ -18,6 +19,7 @@ SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} lights? ( http://www.fuhquake.net/files/extras/${MY_LIGHTS} http://www.kgbsyndicate.com/romi/id1.pk3 )" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" @@ -60,14 +62,17 @@ DEPEND="lights? ( || ( !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ${UIDEPEND} ) ) ) - virtual/pkgconfig +" +BDEPEND=" app-arch/unzip + virtual/pkgconfig " -S="${WORKDIR}/${PN}" dir="/usr/share/quake1" -opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) } +opengl_client() { + use opengl || ( ! use dedicated && ! use sdl ) +} src_unpack() { if use lights ; then @@ -76,6 +81,7 @@ src_unpack() { mv *.lit maps/ || die mv ReadMe.txt rtlights.txt fi + unpack "${MY_ENGINE}" unpack ./${PN}*.zip } @@ -115,6 +121,12 @@ src_prepare() { src_compile() { local opts="DP_FS_BASEDIR=\"${dir}\" DP_LINK_TO_LIBJPEG=1" + # Protect against people choosing a strip implementation + # bug #739194 + opts+="STRIP=true" + + tc-export CC + # Preferred sound is alsa local sound_api="NULL" use oss && sound_api="OSS" @@ -168,6 +180,7 @@ src_install() { if use lights ; then insinto "${dir}"/id1 doins -r "${WORKDIR}"/{cubemaps,maps} + if use demo ; then # Set up symlinks, for the demo levels to include the lights local d
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: c909bc83e96d909b50264bc4103988830f8f2dbe Author: Sam James gentoo org> AuthorDate: Wed Apr 7 05:12:22 2021 + Commit: Sam James gentoo org> CommitDate: Tue Apr 13 00:26:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c909bc83 games-fps/darkplaces: call pkg-config via toolchain-funcs.eclass helper This ensures we call the correct pkg-config in e.g. cross. Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild index 7ba3bcdb4ce..c0fafee1498 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -92,7 +92,7 @@ src_prepare() { # Only additional CFLAGS optimization is the -march flag local march=$(get-flag -march) sed -i \ - -e "s:-lasound:$(pkg-config --libs alsa):" \ + -e "s:-lasound:$($(tc-getPKG_CONFIG) --libs alsa):" \ -e "/^CPUOPTIMIZATIONS/d" \ -e '/^OPTIM_RELEASE/s/=.*/=$(CFLAGS)/' \ -e '/^OPTIM_DEBUG/s/=.*/=$(CFLAGS)/' \
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: df4af61b9c941b08174a238588639fd45eb5c9af Author: Alexander Tsoy tsoy me> AuthorDate: Mon Apr 30 17:44:45 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Mon Apr 30 18:00:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df4af61b games-fps/darkplaces: fix typo games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild index dc66236c626..303d09082be 100644 --- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -186,7 +186,7 @@ pkg_postinst() { elog "Place pak0.pak and pak1.pak in ${dir}/id1" fi - if use sdl $$ ! use alsa ; then + if use sdl && ! use alsa ; then ewarn "Select opengl with alsa, instead of sdl USE flag, for better audio latency." fi }
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 697582508d33a926eea7239ec64ab6617c0b1016 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 16:45:45 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 17:13:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69758250 games-fps/darkplaces: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-fps/darkplaces/darkplaces-20140513.ebuild | 186 1 file changed, 186 deletions(-) diff --git a/games-fps/darkplaces/darkplaces-20140513.ebuild b/games-fps/darkplaces/darkplaces-20140513.ebuild deleted file mode 100644 index 1e154b7074f..000 --- a/games-fps/darkplaces/darkplaces-20140513.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit unpacker eutils flag-o-matic games - -# Latest versions are in http://icculus.org/twilight/darkplaces/files/ -MY_PV=${PV/_beta/beta} -MY_ENGINE="${PN}engine${MY_PV}.zip" - -# Different Quake 1 engines expect the lights in different directories -# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/ -MY_LIGHTS="fuhquake-lits.rar" - -DESCRIPTION="Enhanced engine for iD Software's Quake 1" -HOMEPAGE="http://icculus.org/twilight/darkplaces/; -SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} - lights? ( - http://www.fuhquake.net/files/extras/${MY_LIGHTS} - http://www.kgbsyndicate.com/romi/id1.pk3 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" - -UIRDEPEND="virtual/jpeg:0 - media-libs/libogg - media-libs/libvorbis - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl ) - x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXxf86dga - x11-libs/libXxf86vm" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="net-misc/curl - cdinstall? ( games-fps/quake1-data ) - demo? ( games-fps/quake1-demodata ) - textures? ( >=games-fps/quake1-textures-20050820 ) - opengl? ( ${UIRDEPEND} ) - !opengl? ( sdl? ( ${UIRDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )" -DEPEND="lights? ( || ( - app-arch/unrar - app-arch/rar ) ) - opengl? ( - ${UIRDEPEND} - ${UIDEPEND} ) - !opengl? ( sdl? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) ) - virtual/pkgconfig - app-arch/unzip" - -S=${WORKDIR}/${PN} -dir=${GAMES_DATADIR}/quake1 - -opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) } - -src_unpack() { - if use lights ; then - unpack "${MY_LIGHTS}" - unpack_zip "${DISTDIR}"/id1.pk3 - mv *.lit maps/ || die - mv ReadMe.txt rtlights.txt - fi - unpack "${MY_ENGINE}" - unpack ./${PN}*.zip -} - -src_prepare() { - rm "${WORKDIR}"/README-SDL.txt - cd "${S}" - rm mingw_note.txt - - strip-flags - - # Only additional CFLAGS optimization is the -march flag - local march=$(get-flag -march) - sed -i \ - -e "s:-lasound:$(pkg-config --libs alsa):" \ - -e "/^CPUOPTIMIZATIONS/d" \ - -e '/^OPTIM_RELEASE/s/=.*/=$(CFLAGS)/' \ - -e '/^OPTIM_DEBUG/s/=.*/=$(CFLAGS)/' \ - -e '/^LDFLAGS_DEBUG/s/$/ $(LDFLAGS)/' \ - -e '/^LDFLAGS_RELEASE/s/$/ $(LDFLAGS)/' \ - -e "s:strip:true:" \ - makefile.inc || die - - if ! use cdsound ; then - # Turn the CD accesses off - sed -i \ - -e "s:/dev/cdrom:/dev/null:" \ - cd_linux.c || die - sed -i \ - -e 's:COM_CheckParm("-nocdaudio"):1:' \ - cd_shared.c || die - fi -} - -src_compile() { - local opts="DP_FS_BASEDIR=\"${dir}\" DP_LINK_TO_LIBJPEG=1" - - # Preferred sound is alsa - local sound_api="NULL" - use oss && sound_api="OSS" - use alsa && sound_api="ALSA" - opts="${opts} DP_SOUND_API=${sound_api}" - - local type="release" - use debug && type="debug" - - # Only compile a maximum of 1 client - if use sdl ; then - emake ${opts} "sdl-${type}" - elif opengl_client ; then - emake ${opts} "cl-${type}" - fi - - if use dedicated ; then - emake ${opts} "sv-${type}" - fi -} - -src_install() { - if opengl_client || use sdl ; then - local type=glx - - use sdl && type=sdl - -
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 04cc0b1d9dbb62f88fa09761be0d61aac9857169 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 16:45:30 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 17:13:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cc0b1d games-fps/darkplaces: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 192 + 1 file changed, 192 insertions(+) diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild new file mode 100644 index 000..dc66236c626 --- /dev/null +++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild @@ -0,0 +1,192 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic unpacker + +# Latest versions are in http://icculus.org/twilight/darkplaces/files/ +MY_PV="${PV/_beta/beta}" +MY_ENGINE="${PN}engine${MY_PV}.zip" + +# Different Quake 1 engines expect the lights in different directories +# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/ +MY_LIGHTS="fuhquake-lits.rar" + +DESCRIPTION="Enhanced engine for iD Software's Quake 1" +HOMEPAGE="http://icculus.org/twilight/darkplaces/; +SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} + lights? ( + http://www.fuhquake.net/files/extras/${MY_LIGHTS} + http://www.kgbsyndicate.com/romi/id1.pk3 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" + +UIRDEPEND=" + virtual/jpeg:0 + media-libs/libogg + media-libs/libvorbis + virtual/opengl + alsa? ( media-libs/alsa-lib ) + sdl? ( media-libs/libsdl ) + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXxf86dga + x11-libs/libXxf86vm +" +UIDEPEND=" + x11-proto/xextproto + x11-proto/xf86dgaproto + x11-proto/xf86vidmodeproto + x11-proto/xproto +" +RDEPEND=" + net-misc/curl + cdinstall? ( games-fps/quake1-data ) + demo? ( games-fps/quake1-demodata ) + textures? ( >=games-fps/quake1-textures-20050820 ) + opengl? ( ${UIRDEPEND} ) + !opengl? ( sdl? ( ${UIRDEPEND} ) ) + !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) ) +" +DEPEND="lights? ( || ( + app-arch/unrar + app-arch/rar ) ) + opengl? ( + ${UIRDEPEND} + ${UIDEPEND} ) + !opengl? ( sdl? ( + ${UIRDEPEND} + ${UIDEPEND} ) ) + !opengl? ( !sdl? ( !dedicated? ( + ${UIRDEPEND} + ${UIDEPEND} ) ) ) + virtual/pkgconfig + app-arch/unzip +" + +S="${WORKDIR}/${PN}" +dir="/usr/share/quake1" + +opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) } + +src_unpack() { + if use lights ; then + unpack "${MY_LIGHTS}" + unpack_zip "${DISTDIR}"/id1.pk3 + mv *.lit maps/ || die + mv ReadMe.txt rtlights.txt + fi + unpack "${MY_ENGINE}" + unpack ./${PN}*.zip +} + +src_prepare() { + default + + rm "${WORKDIR}"/README-SDL.txt + cd "${S}" + rm mingw_note.txt + + strip-flags + + # Only additional CFLAGS optimization is the -march flag + local march=$(get-flag -march) + sed -i \ + -e "s:-lasound:$(pkg-config --libs alsa):" \ + -e "/^CPUOPTIMIZATIONS/d" \ + -e '/^OPTIM_RELEASE/s/=.*/=$(CFLAGS)/' \ + -e '/^OPTIM_DEBUG/s/=.*/=$(CFLAGS)/' \ + -e '/^LDFLAGS_DEBUG/s/$/ $(LDFLAGS)/' \ + -e '/^LDFLAGS_RELEASE/s/$/ $(LDFLAGS)/' \ + -e "s:strip:true:" \ + makefile.inc || die + + if ! use cdsound ; then + # Turn the CD accesses off + sed -i \ + -e "s:/dev/cdrom:/dev/null:" \ + cd_linux.c || die + sed -i \ + -e 's:COM_CheckParm("-nocdaudio"):1:' \ + cd_shared.c || die + fi +} + +src_compile() { + local opts="DP_FS_BASEDIR=\"${dir}\" DP_LINK_TO_LIBJPEG=1" + + # Preferred sound is alsa + local sound_api="NULL" + use oss && sound_api="OSS" + use alsa && sound_api="ALSA" + opts="${opts} DP_SOUND_API=${sound_api}" + + local type="release" + use debug && type="debug" + + # Only compile a maximum of 1 client + if use sdl ; then + emake ${opts} "sdl-${type}" + elif opengl_client ; then + emake ${opts} "cl-${type}" + fi + + if use dedicated ; then + emake ${opts} "sv-${type}" + fi +} + +src_install() { + if opengl_client || use sdl ; then +
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: df890970e8b419f8d39e6fbc2158c22a37be Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 01:03:25 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:46 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df890970 games-fps/darkplaces: clean old Package-Manager: portage-2.2.26 games-fps/darkplaces/Manifest | 1 - games-fps/darkplaces/darkplaces-20110628.ebuild | 188 2 files changed, 189 deletions(-) diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest index 3c5e0cf..1f2c110 100644 --- a/games-fps/darkplaces/Manifest +++ b/games-fps/darkplaces/Manifest @@ -1,4 +1,3 @@ -DIST darkplacesengine20110628.zip 23377408 SHA256 d2464c681e3fdcc66cb090e79c44c0c173a43b6f181a12e500b0b1fd7d73ffce SHA512 bf44933470be2856a80ebd73a0cb531c6d22e69da5be24bc52175998ab687b4112c88423a6b42a9a4ed746e0f96c1bb39e188a037a98ea596cf7b6183e390038 WHIRLPOOL b4214be8a9c9aadf02a92c9b7e54d508df38f9e38f650f839a8ea43d9c0768641dbf59c71b210d337f591fac2d77a21a14e7900a3038d1af828f064bf3368071 DIST darkplacesengine20140513.zip 28113487 SHA256 69e5a50991884196e403bd6aab4a33bba553a934a167be366672ab4e223b06c9 SHA512 45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c WHIRLPOOL 0fca6d87c9d3482112992965b70f829dfd6ecd926d940ad66f5f75aec4438c2b5b33fb6ac51f69c5199f06d53fbc16f1c8d0780db40b8cbd71c7ceb0e67a4048 DIST fuhquake-lits.rar 8388829 SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c SHA512 6e59f5e08a6c401b329b86b0cd677a04b1a5aee11f24973c77c9e7ea50cab9dedf4fc15c4f3d6b73bdc87bacdc9612a3c244d0a4ceceef943abb6e256ac23925 WHIRLPOOL d398b57c03d02c8180f8ca93f6964ac2118ef50cace3ecbc9da9113b1e91ed3a7b7e5473ebb9ad2f5198828eb8565c7c0470aea2095152b2898335562bef821d DIST id1.pk3 350470 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc SHA512 d4d7233bc1e5049e89d09448818219b0ce7941fecde5381cd95933e4c96ebc9b4e34ff7eae5eb5d0d1e3cc2ceb4f5254f4d600aded7dda373713149817621331 WHIRLPOOL 30fe7e6d6ac6408c54e704586d4f4e15d139c0330e4f3e758651bfc2e6582eadae08c590e87264cfb26faae56a7033b383d51f93bf54ddfce7db38e47d569280 diff --git a/games-fps/darkplaces/darkplaces-20110628.ebuild b/games-fps/darkplaces/darkplaces-20110628.ebuild deleted file mode 100644 index 5c7aa76..000 --- a/games-fps/darkplaces/darkplaces-20110628.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 -inherit unpacker eutils flag-o-matic games - -# Latest versions are in http://icculus.org/twilight/darkplaces/files/ -MY_PV=${PV/_beta/beta} -MY_ENGINE="${PN}engine${MY_PV}.zip" - -# Different Quake 1 engines expect the lights in different directories -# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/ -MY_LIGHTS="fuhquake-lits.rar" - -DESCRIPTION="Enhanced engine for iD Software's Quake 1" -HOMEPAGE="http://icculus.org/twilight/darkplaces/; -SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} - lights? ( - http://www.fuhquake.net/files/extras/${MY_LIGHTS} - http://www.kgbsyndicate.com/romi/id1.pk3 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" - -UIRDEPEND="virtual/jpeg - media-libs/libogg - media-libs/libvorbis - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl ) - x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXxf86dga - x11-libs/libXxf86vm" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="net-misc/curl - cdinstall? ( games-fps/quake1-data ) - demo? ( games-fps/quake1-demodata ) - textures? ( >=games-fps/quake1-textures-20050820 ) - opengl? ( ${UIRDEPEND} ) - !opengl? ( sdl? ( ${UIRDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )" -DEPEND="lights? ( || ( - app-arch/unrar - app-arch/rar ) ) - opengl? ( - ${UIRDEPEND} - ${UIDEPEND} ) - !opengl? ( sdl? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) ) - virtual/pkgconfig - app-arch/unzip" - -S=${WORKDIR}/${PN} -dir=${GAMES_DATADIR}/quake1 - -opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) } - -src_unpack() { - if use lights ; then - unpack "${MY_LIGHTS}" - unpack_zip "${DISTDIR}"/id1.pk3 - mv *.lit maps/ || die - mv ReadMe.txt rtlights.txt - fi - unpack "${MY_ENGINE}" - - unpack
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 53dd6154de5d8fc460f638a5e14e6353c4fd909a Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 15 09:03:07 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 15 09:03:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53dd6154 games-fps/darkplaces: amd64 stable wrt bug #571626 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> games-fps/darkplaces/darkplaces-20140513.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-fps/darkplaces/darkplaces-20140513.ebuild b/games-fps/darkplaces/darkplaces-20140513.ebuild index a879159..4ca3ca9 100644 --- a/games-fps/darkplaces/darkplaces-20140513.ebuild +++ b/games-fps/darkplaces/darkplaces-20140513.ebuild @@ -22,7 +22,7 @@ SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" UIRDEPEND="virtual/jpeg:0
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 849349fa869f0730bcc2e94d4b1cff49a3adfdb1 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 07:13:50 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 07:41:00 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849349fa games-fps/darkplaces: old Package-Manager: portage-2.2.24 games-fps/darkplaces/Manifest | 1 - games-fps/darkplaces/darkplaces-20130304.ebuild | 187 2 files changed, 188 deletions(-) diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest index 5dcaeae..3c5e0cf 100644 --- a/games-fps/darkplaces/Manifest +++ b/games-fps/darkplaces/Manifest @@ -1,5 +1,4 @@ DIST darkplacesengine20110628.zip 23377408 SHA256 d2464c681e3fdcc66cb090e79c44c0c173a43b6f181a12e500b0b1fd7d73ffce SHA512 bf44933470be2856a80ebd73a0cb531c6d22e69da5be24bc52175998ab687b4112c88423a6b42a9a4ed746e0f96c1bb39e188a037a98ea596cf7b6183e390038 WHIRLPOOL b4214be8a9c9aadf02a92c9b7e54d508df38f9e38f650f839a8ea43d9c0768641dbf59c71b210d337f591fac2d77a21a14e7900a3038d1af828f064bf3368071 -DIST darkplacesengine20130304.zip 29427833 SHA256 e1858dcba033b1dfc6e685482745b7137ceb23dfd710671971cd5e34529a9f44 SHA512 6672160ad6ed34bb45262f03b7a7671d65aa88ca44abab616f54cd1a8e5240dcb7b8a3a7c364fc8de3e9e2acf458e5c129311a0c52b8c6b29d9a4cafa5188b15 WHIRLPOOL 5566c7de789735fb984c5b64cf7ece2e948b87e170e16f434d5015f70baad901aadc251bb25a32926f43ced903daaa914a51024c08a64f4edcf1a9003aab1261 DIST darkplacesengine20140513.zip 28113487 SHA256 69e5a50991884196e403bd6aab4a33bba553a934a167be366672ab4e223b06c9 SHA512 45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c WHIRLPOOL 0fca6d87c9d3482112992965b70f829dfd6ecd926d940ad66f5f75aec4438c2b5b33fb6ac51f69c5199f06d53fbc16f1c8d0780db40b8cbd71c7ceb0e67a4048 DIST fuhquake-lits.rar 8388829 SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c SHA512 6e59f5e08a6c401b329b86b0cd677a04b1a5aee11f24973c77c9e7ea50cab9dedf4fc15c4f3d6b73bdc87bacdc9612a3c244d0a4ceceef943abb6e256ac23925 WHIRLPOOL d398b57c03d02c8180f8ca93f6964ac2118ef50cace3ecbc9da9113b1e91ed3a7b7e5473ebb9ad2f5198828eb8565c7c0470aea2095152b2898335562bef821d DIST id1.pk3 350470 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc SHA512 d4d7233bc1e5049e89d09448818219b0ce7941fecde5381cd95933e4c96ebc9b4e34ff7eae5eb5d0d1e3cc2ceb4f5254f4d600aded7dda373713149817621331 WHIRLPOOL 30fe7e6d6ac6408c54e704586d4f4e15d139c0330e4f3e758651bfc2e6582eadae08c590e87264cfb26faae56a7033b383d51f93bf54ddfce7db38e47d569280 diff --git a/games-fps/darkplaces/darkplaces-20130304.ebuild b/games-fps/darkplaces/darkplaces-20130304.ebuild deleted file mode 100644 index bfbc882..000 --- a/games-fps/darkplaces/darkplaces-20130304.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit unpacker eutils flag-o-matic games - -# Latest versions are in http://icculus.org/twilight/darkplaces/files/ -MY_PV=${PV/_beta/beta} -MY_ENGINE="${PN}engine${MY_PV}.zip" - -# Different Quake 1 engines expect the lights in different directories -# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/ -MY_LIGHTS="fuhquake-lits.rar" - -DESCRIPTION="Enhanced engine for iD Software's Quake 1" -HOMEPAGE="http://icculus.org/twilight/darkplaces/; -SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} - lights? ( - http://www.fuhquake.net/files/extras/${MY_LIGHTS} - http://www.kgbsyndicate.com/romi/id1.pk3 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" - -UIRDEPEND="virtual/jpeg - media-libs/libogg - media-libs/libvorbis - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl ) - x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXxf86dga - x11-libs/libXxf86vm" -UIDEPEND="x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="net-misc/curl - cdinstall? ( games-fps/quake1-data ) - demo? ( games-fps/quake1-demodata ) - textures? ( >=games-fps/quake1-textures-20050820 ) - opengl? ( ${UIRDEPEND} ) - !opengl? ( sdl? ( ${UIRDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )" -DEPEND="lights? ( || ( - app-arch/unrar - app-arch/rar ) ) - opengl? ( - ${UIRDEPEND} - ${UIDEPEND} ) - !opengl? ( sdl? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) - !opengl? ( !sdl? ( !dedicated? ( - ${UIRDEPEND} - ${UIDEPEND} ) ) ) - virtual/pkgconfig - app-arch/unzip" -
[gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
commit: 8d3fa310a1b02a179b71c4a224a2435dd9d7132a Author: Michael Sterrett gentoo org> AuthorDate: Fri Dec 18 00:30:20 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Fri Dec 18 00:39:35 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3fa310 version bump (bug #553736) Package-Manager: portage-2.2.24 games-fps/darkplaces/Manifest | 1 + games-fps/darkplaces/darkplaces-20140513.ebuild | 187 2 files changed, 188 insertions(+) diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest index 1ab1250..5dcaeae 100644 --- a/games-fps/darkplaces/Manifest +++ b/games-fps/darkplaces/Manifest @@ -1,4 +1,5 @@ DIST darkplacesengine20110628.zip 23377408 SHA256 d2464c681e3fdcc66cb090e79c44c0c173a43b6f181a12e500b0b1fd7d73ffce SHA512 bf44933470be2856a80ebd73a0cb531c6d22e69da5be24bc52175998ab687b4112c88423a6b42a9a4ed746e0f96c1bb39e188a037a98ea596cf7b6183e390038 WHIRLPOOL b4214be8a9c9aadf02a92c9b7e54d508df38f9e38f650f839a8ea43d9c0768641dbf59c71b210d337f591fac2d77a21a14e7900a3038d1af828f064bf3368071 DIST darkplacesengine20130304.zip 29427833 SHA256 e1858dcba033b1dfc6e685482745b7137ceb23dfd710671971cd5e34529a9f44 SHA512 6672160ad6ed34bb45262f03b7a7671d65aa88ca44abab616f54cd1a8e5240dcb7b8a3a7c364fc8de3e9e2acf458e5c129311a0c52b8c6b29d9a4cafa5188b15 WHIRLPOOL 5566c7de789735fb984c5b64cf7ece2e948b87e170e16f434d5015f70baad901aadc251bb25a32926f43ced903daaa914a51024c08a64f4edcf1a9003aab1261 +DIST darkplacesengine20140513.zip 28113487 SHA256 69e5a50991884196e403bd6aab4a33bba553a934a167be366672ab4e223b06c9 SHA512 45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c WHIRLPOOL 0fca6d87c9d3482112992965b70f829dfd6ecd926d940ad66f5f75aec4438c2b5b33fb6ac51f69c5199f06d53fbc16f1c8d0780db40b8cbd71c7ceb0e67a4048 DIST fuhquake-lits.rar 8388829 SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c SHA512 6e59f5e08a6c401b329b86b0cd677a04b1a5aee11f24973c77c9e7ea50cab9dedf4fc15c4f3d6b73bdc87bacdc9612a3c244d0a4ceceef943abb6e256ac23925 WHIRLPOOL d398b57c03d02c8180f8ca93f6964ac2118ef50cace3ecbc9da9113b1e91ed3a7b7e5473ebb9ad2f5198828eb8565c7c0470aea2095152b2898335562bef821d DIST id1.pk3 350470 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc SHA512 d4d7233bc1e5049e89d09448818219b0ce7941fecde5381cd95933e4c96ebc9b4e34ff7eae5eb5d0d1e3cc2ceb4f5254f4d600aded7dda373713149817621331 WHIRLPOOL 30fe7e6d6ac6408c54e704586d4f4e15d139c0330e4f3e758651bfc2e6582eadae08c590e87264cfb26faae56a7033b383d51f93bf54ddfce7db38e47d569280 diff --git a/games-fps/darkplaces/darkplaces-20140513.ebuild b/games-fps/darkplaces/darkplaces-20140513.ebuild new file mode 100644 index 000..a879159 --- /dev/null +++ b/games-fps/darkplaces/darkplaces-20140513.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit unpacker eutils flag-o-matic games + +# Latest versions are in http://icculus.org/twilight/darkplaces/files/ +MY_PV=${PV/_beta/beta} +MY_ENGINE="${PN}engine${MY_PV}.zip" + +# Different Quake 1 engines expect the lights in different directories +# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/ +MY_LIGHTS="fuhquake-lits.rar" + +DESCRIPTION="Enhanced engine for iD Software's Quake 1" +HOMEPAGE="http://icculus.org/twilight/darkplaces/; +SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE} + lights? ( + http://www.fuhquake.net/files/extras/${MY_LIGHTS} + http://www.kgbsyndicate.com/romi/id1.pk3 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures" + +UIRDEPEND="virtual/jpeg:0 + media-libs/libogg + media-libs/libvorbis + virtual/opengl + alsa? ( media-libs/alsa-lib ) + sdl? ( media-libs/libsdl ) + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXxf86dga + x11-libs/libXxf86vm" +UIDEPEND="x11-proto/xextproto + x11-proto/xf86dgaproto + x11-proto/xf86vidmodeproto + x11-proto/xproto" +RDEPEND="net-misc/curl + cdinstall? ( games-fps/quake1-data ) + demo? ( games-fps/quake1-demodata ) + textures? ( >=games-fps/quake1-textures-20050820 ) + opengl? ( ${UIRDEPEND} ) + !opengl? ( sdl? ( ${UIRDEPEND} ) ) + !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )" +DEPEND="lights? ( || ( + app-arch/unrar + app-arch/rar ) ) + opengl? ( + ${UIRDEPEND} + ${UIDEPEND} ) + !opengl? ( sdl? ( + ${UIRDEPEND} + ${UIDEPEND} ) ) + !opengl? ( !sdl? ( !dedicated? ( + ${UIRDEPEND} + ${UIDEPEND} ) ) ) + virtual/pkgconfig + app-arch/unzip" +