public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2015-12-18  0:47 Michael Sterrett
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Sterrett @ 2015-12-18  0:47 UTC (permalink / raw
  To: gentoo-commits

commit:     79203113b032f1769e97cba33ddacca1c3de9576
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 00:12:30 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 00:39:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79203113

add slot dep for virtual/jpeg

Package-Manager: portage-2.2.24

 games-fps/nexuiz/nexuiz-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2.ebuild b/games-fps/nexuiz/nexuiz-2.5.2.ebuild
index a6cd784..bffa660 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2.ebuild
@@ -38,7 +38,7 @@ UIDEPEND="x11-proto/xextproto
 	x11-proto/xf86dgaproto
 	x11-proto/xf86vidmodeproto
 	x11-proto/xproto"
-RDEPEND="virtual/jpeg
+RDEPEND="virtual/jpeg:0
 	net-misc/curl
 	opengl? ( ${UIRDEPEND} )
 	!dedicated? ( !opengl? ( ${UIRDEPEND} ) )"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2015-12-18  0:47 Michael Sterrett
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Sterrett @ 2015-12-18  0:47 UTC (permalink / raw
  To: gentoo-commits

commit:     55ef67d1375b93a6fb3f645a67e3f68b8bcf5ea7
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 00:16:30 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 00:39:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ef67d1

add slot dep for media-libs/libpng

Package-Manager: portage-2.2.24

 games-fps/nexuiz/nexuiz-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2.ebuild b/games-fps/nexuiz/nexuiz-2.5.2.ebuild
index bffa660..93787b4 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2.ebuild
@@ -22,7 +22,7 @@ IUSE="alsa dedicated maps opengl sdl"
 UIRDEPEND="media-libs/libogg
 	media-libs/libvorbis
 	media-libs/libtheora
-	>=media-libs/libpng-1.4
+	>=media-libs/libpng-1.4:0
 	media-libs/libmodplug
 	x11-libs/libX11
 	x11-libs/libXau


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2017-02-07  0:51 Austin English
  0 siblings, 0 replies; 8+ messages in thread
From: Austin English @ 2017-02-07  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     00e629e08d3634bf51c2fbcf11eda0026be3bf23
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  7 00:50:33 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 00:51:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e629e0

games-fps/nexuiz: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 137 ++++++++++++++++++++++++++++++++
 1 file changed, 137 insertions(+)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
new file mode 100644
index 00000000..6e29066
--- /dev/null
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+MY_PN=Nexuiz
+MY_P=${PN}-${PV//./}
+MAPS=nexmappack_r2
+DESCRIPTION="Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine"
+HOMEPAGE="http://www.nexuiz.com/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip
+	maps? ( mirror://sourceforge/${PN}/${MAPS}.zip )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa dedicated maps opengl sdl"
+
+# no headers for libpng needed
+UIRDEPEND="
+	media-libs/libmodplug
+	media-libs/libogg
+	>=media-libs/libpng-1.4:0
+	media-libs/libtheora
+	media-libs/libvorbis
+	x11-libs/libX11
+	x11-libs/libXau
+	x11-libs/libXdmcp
+	x11-libs/libXext
+	x11-libs/libXpm
+	x11-libs/libXxf86dga
+	x11-libs/libXxf86vm
+	virtual/opengl
+	alsa? ( media-libs/alsa-lib )
+	sdl? ( media-libs/libsdl[joystick,opengl,video] )"
+UIDEPEND="x11-proto/xextproto
+	x11-proto/xf86dgaproto
+	x11-proto/xf86vidmodeproto
+	x11-proto/xproto"
+RDEPEND="virtual/jpeg:0
+	net-misc/curl
+	opengl? ( ${UIRDEPEND} )
+	!dedicated? ( !opengl? ( ${UIRDEPEND} ) )"
+DEPEND="${RDEPEND}
+	app-arch/unzip
+	opengl? ( ${UIDEPEND} )
+	!dedicated? ( !opengl? ( ${UIDEPEND} ) )"
+
+S=${WORKDIR}/darkplaces
+
+PATCHES=(
+	"${FILESDIR}"/${P}-libpng-1.4.patch
+)
+
+src_unpack() {
+	unpack ${MY_P}.zip
+
+	local f
+	for f in "${MY_PN}"/sources/*.zip ; do
+		unpack ./${f}
+	done
+
+	if use maps ; then
+		cd "${WORKDIR}"/${MY_PN}
+		unpack ${MAPS}.zip
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Make the game automatically look in the correct data directory
+	sed -i \
+		-e "/^CC=/d" \
+		-e "s:-O2:${CFLAGS}:" \
+		-e "/-lm/s:$: ${LDFLAGS}:" \
+		-e '/^STRIP/s/strip/true/' \
+		makefile.inc || die
+
+	sed -i \
+		-e '1i DP_LINK_TO_LIBJPEG=1' \
+		-e "s:ifdef DP_.*:DP_FS_BASEDIR=/usr/share/${PN}\n&:" \
+		makefile || die
+
+	if ! use alsa ; then
+		sed -i \
+			-e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
+			makefile || die
+	fi
+}
+
+src_compile() {
+	if use opengl || ! use dedicated ; then
+		emake cl-${PN}
+		if use sdl ; then
+			emake sdl-${PN}
+		fi
+	fi
+
+	if use dedicated ; then
+		emake sv-${PN}
+	fi
+}
+
+src_install() {
+	if use opengl || ! use dedicated ; then
+		dobin ${PN}-glx
+		doicon ${PN}.xpm
+		make_desktop_entry ${PN}-glx "Nexuiz (GLX)"
+		if use sdl ; then
+			dobin ${PN}-sdl
+			make_desktop_entry ${PN}-sdl "Nexuiz (SDL)"
+			dosym ${PN}-sdl /usr/bin/${PN}
+		else
+			dosym ${PN}-glx /usr/bin/${PN}
+		fi
+	fi
+
+	if use dedicated ; then
+		dobin ${PN}-dedicated
+	fi
+
+	cd "${WORKDIR}"/${MY_PN} || die
+
+	dodoc Docs/*.txt
+	dodoc -r readme.html Docs
+
+	insinto /usr/share/${PN}
+
+	if use dedicated ; then
+		doins -r server
+	fi
+
+	doins -r data havoc
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2020-11-16 21:46 David Seifert
  0 siblings, 0 replies; 8+ messages in thread
From: David Seifert @ 2020-11-16 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     c22ae24873595b3730a2f9013c01ee8577c9275e
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Mon Nov 16 21:45:54 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 21:45:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22ae248

games-fps/nexuiz: fix prefix

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
index e23daea87d6..f5906fa0e09 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -76,7 +76,7 @@ src_prepare() {
 
 	sed -i \
 		-e '1i DP_LINK_TO_LIBJPEG=1' \
-		-e "s:ifdef DP_.*:DP_FS_BASEDIR=/usr/share/${PN}\n&:" \
+		-e "s:ifdef DP_.*:DP_FS_BASEDIR=${EPREFIX}/usr/share/${PN}\n&:" \
 		makefile || die
 
 	if ! use alsa ; then


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2020-11-16 21:46 David Seifert
  0 siblings, 0 replies; 8+ messages in thread
From: David Seifert @ 2020-11-16 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     26bb54471ac2c096fef160d3eb68fbb3fd0eb9b6
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Mon Nov 16 21:45:51 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 21:45:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26bb5447

games-fps/nexuiz: correctly pass flags and compiler

Closes: https://bugs.gentoo.org/739288
Closes: https://bugs.gentoo.org/710826
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
index 2778fcff0c0..e23daea87d6 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils
+inherit eutils toolchain-funcs
 
 MY_PN=Nexuiz
 MY_P=${PN}-${PV//./}
@@ -69,9 +69,8 @@ src_prepare() {
 
 	# Make the game automatically look in the correct data directory
 	sed -i \
-		-e "/^CC=/d" \
-		-e "s:-O2:${CFLAGS}:" \
-		-e "/-lm/s:$: ${LDFLAGS}:" \
+		-e 's:-O2:$(CFLAGS):' \
+		-e '/-lm/s:$: $(LDFLAGS):' \
 		-e '/^STRIP/s/strip/true/' \
 		makefile.inc || die
 
@@ -88,6 +87,7 @@ src_prepare() {
 }
 
 src_compile() {
+	tc-export CC
 	if use opengl || ! use dedicated ; then
 		emake cl-${PN}
 		if use sdl ; then


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2020-11-16 21:46 David Seifert
  0 siblings, 0 replies; 8+ messages in thread
From: David Seifert @ 2020-11-16 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     770d11a6a24b61fdf001e97b1a33e52be7a8be09
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Mon Nov 16 21:45:57 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 21:45:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770d11a6

games-fps/nexuiz: stop using eutils eclass

Closes: https://github.com/gentoo/gentoo/pull/18288
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
index f5906fa0e09..68bb3ae1edc 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+inherit desktop toolchain-funcs
 
 MY_PN=Nexuiz
 MY_P=${PN}-${PV//./}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2021-04-25 22:01 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-04-25 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     6958d869845a99bc183b642ea88d4ba53fbaa4bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 21:34:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 22:00:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6958d869

games-fps/nexuiz: avoid stripping files

Closes: https://bugs.gentoo.org/739294
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
index 68bb3ae1edc..f9054d23eec 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit desktop toolchain-funcs
 
 MY_PN=Nexuiz
@@ -87,7 +88,13 @@ src_prepare() {
 }
 
 src_compile() {
+	# Unset STRIP because the build system by default will not strip
+	# If users express a preference, this triggers strip
+	# bug #739294
+	unset STRIP
+
 	tc-export CC
+
 	if use opengl || ! use dedicated ; then
 		emake cl-${PN}
 		if use sdl ; then


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/
@ 2022-02-19  7:27 Arthur Zamarin
  0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2022-02-19  7:27 UTC (permalink / raw
  To: gentoo-commits

commit:     67d362490fa9e2cabc821bc37c5276e5b4f1c075
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 19 07:27:24 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 19 07:27:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d36249

games-fps/nexuiz: Keyword 2.5.2-r1 arm64, #833563

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
index f9054d23eec3..00e77d1f5b27 100644
--- a/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
+++ b/games-fps/nexuiz/nexuiz-2.5.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="alsa dedicated maps opengl sdl"
 
 # no headers for libpng needed


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-19  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-18  0:47 [gentoo-commits] repo/gentoo:master commit in: games-fps/nexuiz/ Michael Sterrett
  -- strict thread matches above, loose matches on Subject: below --
2022-02-19  7:27 Arthur Zamarin
2021-04-25 22:01 Sam James
2020-11-16 21:46 David Seifert
2020-11-16 21:46 David Seifert
2020-11-16 21:46 David Seifert
2017-02-07  0:51 Austin English
2015-12-18  0:47 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox