public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2016-01-03 15:16 Michael Sterrett
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Sterrett @ 2016-01-03 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     33e30c2c6d360019912a398d3ce0b702cee2bfc3
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  3 15:13:02 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Jan  3 15:13:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e30c2c

games-fps/sauerbraten: remove unneeded nonfatal (bug #551172)

Package-Manager: portage-2.2.24

 games-fps/sauerbraten/sauerbraten-2013.01.04.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/sauerbraten/sauerbraten-2013.01.04.ebuild b/games-fps/sauerbraten/sauerbraten-2013.01.04.ebuild
index c15a4d5..053d913 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.01.04.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.01.04.ebuild
@@ -103,8 +103,8 @@ src_install() {
 		"${T}"/${PN}.conf || die
 	newconfd "${T}"/${PN}.conf ${PN}
 
-	nonfatal dodoc src/*.txt docs/dev/*.txt
-	nonfatal dohtml -r README.html docs/*
+	dodoc src/*.txt docs/dev/*.txt
+	dohtml -r README.html docs/*
 
 	prepgamesdirs
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2016-03-06 12:58 Agostino Sarubbo
  0 siblings, 0 replies; 7+ messages in thread
From: Agostino Sarubbo @ 2016-03-06 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f8c2bf9c7dde81bccd9b413f44b4b40618e4b8dd
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 12:57:08 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 12:58:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c2bf9c

games-fps/sauerbraten: amd64 stable wrt bug #574834

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

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

diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
index bdde508..1e01cc2 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten/2013_02_03/sauerbraten_${P
 
 LICENSE="ZLIB freedist"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="debug dedicated server"
 
 RDEPEND="


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2017-12-01 19:31 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2017-12-01 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     8139ea8ecd9b9301bca85a83cbcc5d140e2bbcd5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  1 18:56:45 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec  1 19:28:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8139ea8e

games-fps/sauerbraten: [QA] Fix DESCRIPTION.toolong

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

diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
index edfb69774e3..4bb7c3603b5 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 inherit eutils flag-o-matic gnome2-utils games
 
 EDITION="collect_edition"
-DESCRIPTION="Cube 2: Sauerbraten is an open source game engine (Cube 2) with freeware game data (Sauerbraten)"
+DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)"
 HOMEPAGE="http://sauerbraten.org/"
 SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten/2013_02_03/sauerbraten_${PV//./_}_${EDITION}_linux.tar.bz2"
 


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2020-02-12 18:06 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2020-02-12 18:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7e39f169c0bf4a8d57d3df856b1f4b96228a0952
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 18:02:41 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 18:02:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e39f169

games-fps/sauerbraten: [QA] inherit vcs-clean.eclass directly

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
index 4bb7c3603b5..6671f8f3e87 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit eutils flag-o-matic gnome2-utils games
+inherit eutils flag-o-matic gnome2-utils games vcs-clean
 
 EDITION="collect_edition"
 DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)"


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2021-04-09 19:33 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-04-09 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     b52b1da637c1ec394643490302fb7c11403a2aff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  9 19:05:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  9 19:31:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52b1da6

games-fps/sauerbraten: port to EAPI 7, games.eclass--, respect CXX

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ....03.ebuild => sauerbraten-2013.02.03-r1.ebuild} | 49 ++++++++++++----------
 1 file changed, 27 insertions(+), 22 deletions(-)

diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild
similarity index 75%
rename from games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
rename to games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild
index 6671f8f3e87..0db7d6e2ff9 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils flag-o-matic gnome2-utils games vcs-clean
+EAPI=7
+
+inherit desktop flag-o-matic gnome2-utils toolchain-funcs vcs-clean wrapper
 
 EDITION="collect_edition"
 DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)"
 HOMEPAGE="http://sauerbraten.org/"
 SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten/2013_02_03/sauerbraten_${PV//./_}_${EDITION}_linux.tar.bz2"
+S="${WORKDIR}"/${PN}
 
 LICENSE="ZLIB freedist"
 SLOT="0"
@@ -26,29 +28,33 @@ RDEPEND="
 		x11-libs/libX11 )"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
+PATCHES=(
+	# Patch makefile to use system enet instead of bundled
+	# respect CXXFLAGS, LDFLAGS
+	"${FILESDIR}"/${P}-{system-enet,QA}.patch
+)
 
 src_prepare() {
 	ecvs_clean
-	rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp}
+	rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp} || die
 
-	# Patch makefile to use system enet instead of bundled
-	# respect CXXFLAGS, LDFLAGS
-	epatch "${FILESDIR}"/${P}-{system-enet,QA}.patch
+	default
 
 	# Fix links so they point to the correct directory
 	sed -i -e 's:docs/::' README.html || die
 }
 
 src_compile() {
+	tc-export CXX
+
 	use debug && append-cppflags -D_DEBUG
 	emake -C src master $(usex dedicated "server" "$(usex server "server client" "client")")
 }
 
 src_install() {
-	local LIBEXECDIR="${GAMES_PREFIX}/lib"
-	local DATADIR="${GAMES_DATADIR}/${PN}"
-	local STATEDIR="${GAMES_STATEDIR}/${PN}"
+	local LIBEXECDIR="/usr/lib"
+	local DATADIR="/usr/share/${PN}"
+	local STATEDIR="/var/lib/${PN}"
 
 	if ! use dedicated ; then
 		# Install the game data
@@ -60,7 +66,7 @@ src_install() {
 		doexe src/sauer_client
 
 		# Install the client wrapper
-		games_make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}"
+		make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}"
 
 		# Create menu entry
 		newicon -s 256 data/cube.png ${PN}.png
@@ -76,42 +82,41 @@ src_install() {
 	doexe src/sauer_master
 	use dedicated || use server && doexe src/sauer_server
 
-	games_make_wrapper "${PN}-server" \
+	make_wrapper "${PN}-server" \
 		"${LIBEXECDIR}/sauer_server -k${DATADIR} -q${STATEDIR}"
-	games_make_wrapper "${PN}-master" \
+	make_wrapper "${PN}-master" \
 		"${LIBEXECDIR}/sauer_master ${STATEDIR}"
 
 	# Install the server init script
-	keepdir "${GAMES_STATEDIR}/run/${PN}"
+	keepdir /var/run/${PN}
 	cp "${FILESDIR}"/${PN}.init "${T}" || die
 	sed -i \
 		-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
 		-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
-		-e "s:%GAMES_STATEDIR%:${GAMES_STATEDIR}:g" \
+		-e "s:%/var/lib/%:/var/run:g" \
 		"${T}"/${PN}.init || die
+
 	newinitd "${T}"/${PN}.init ${PN}
 	cp "${FILESDIR}"/${PN}.conf "${T}" || die
 	sed -i \
 		-e "s:%SYSCONFDIR%:${STATEDIR}:g" \
 		-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
-		-e "s:%GAMES_USER_DED%:${GAMES_USER_DED}:g" \
-		-e "s:%GAMES_GROUP%:${GAMES_GROUP}:g" \
+		-e "s:%GAMES_USER_DED%:sauerbraten:g" \
+		-e "s:%GAMES_GROUP%:sauerbraten:g" \
 		"${T}"/${PN}.conf || die
 	newconfd "${T}"/${PN}.conf ${PN}
 
 	dodoc src/*.txt docs/dev/*.txt
-	dohtml -r README.html docs/*
 
-	prepgamesdirs
+	docinto html
+	dodoc -r README.html docs/*
 }
 
 pkg_preinst() {
-	games_pkg_preinst
 	gnome2_icon_savelist
 }
 
 pkg_postinst() {
-	games_pkg_postinst
 	gnome2_icon_cache_update
 
 	elog "If you plan to use map editor feature copy all map data from ${DATADIR}"


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/
@ 2021-04-09 20:14 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-04-09 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     f62e8f4769f0d6f9e66ccc1db71d49e6450cc8d2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  9 20:02:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  9 20:02:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62e8f47

games-fps/sauerbraten: add user/group RDEPEND

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...2013.02.03-r1.ebuild => sauerbraten-2013.02.03-r2.ebuild} | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild
similarity index 96%
rename from games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild
rename to games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild
index 0db7d6e2ff9..c2efbc863d5 100644
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03-r1.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug dedicated server"
 
-RDEPEND="
+DEPEND="
 	sys-libs/zlib
 	>=net-libs/enet-1.3.6:1.3
 	!dedicated? (
@@ -25,8 +25,14 @@ RDEPEND="
 		media-libs/sdl-image[png,jpeg]
 		virtual/opengl
 		virtual/glu
-		x11-libs/libX11 )"
-DEPEND="${RDEPEND}"
+		x11-libs/libX11
+	)
+"
+RDEPEND="
+	${DEPEND}
+	acct-group/sauerbraten
+	dedicated? ( acct-user/sauerbraten )
+"
 
 PATCHES=(
 	# Patch makefile to use system enet instead of bundled


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

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

commit:     85cd9a92fa14d71b2bbbd6ab503086b0560df006
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 14:57:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 14:57:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85cd9a92

games-fps/sauerbraten: gnome2-utils -> xdg.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
index 46c1e22b18e..8b66fceccde 100644
--- a/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2020.12.27.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic gnome2-utils toolchain-funcs wrapper
+inherit desktop flag-o-matic toolchain-funcs wrapper xdg
 
 DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)"
 HOMEPAGE="http://sauerbraten.org/"
@@ -129,17 +129,9 @@ src_install() {
 	dodoc -r README.html docs/*
 }
 
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
 pkg_postinst() {
-	gnome2_icon_cache_update
+	xdg_pkg_postinst
 
 	elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
 	elog "to corresponding folder in your HOME/.${PN}"
 }
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


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

end of thread, other threads:[~2021-04-22 15:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-03 15:16 [gentoo-commits] repo/gentoo:master commit in: games-fps/sauerbraten/ Michael Sterrett
  -- strict thread matches above, loose matches on Subject: below --
2016-03-06 12:58 Agostino Sarubbo
2017-12-01 19:31 David Seifert
2020-02-12 18:06 David Seifert
2021-04-09 19:33 Sam James
2021-04-09 20:14 Sam James
2021-04-22 15:04 Sam James

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