public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-fps/sauerbraten: ChangeLog sauerbraten-2010.07.28.ebuild
@ 2012-02-08  2:01 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2012-02-08  2:01 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    12/02/08 02:01:36

  Modified:             ChangeLog
  Added:                sauerbraten-2010.07.28.ebuild
  Log:
  version bump (bug #366321) with contributions from at least Jon Severinsson, Petr Pisar, Tomáš Chvátal, and Paul Hartman (bug #111566)
  
  (Portage version: 2.1.10.44/cvs/Linux i686)

Revision  Changes    Path
1.12                 games-fps/sauerbraten/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	9 Mar 2009 18:33:04 -0000	1.11
+++ ChangeLog	8 Feb 2012 02:01:36 -0000	1.12
@@ -1,6 +1,15 @@
 # ChangeLog for games-fps/sauerbraten
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.11 2009/03/09 18:33:04 scarabeus Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.12 2012/02/08 02:01:36 mr_bones_ Exp $
+
+*sauerbraten-2010.07.28 (08 Feb 2012)
+
+  08 Feb 2012; Michael Sterrett <mr_bones_@gentoo.org>
+  +sauerbraten-2010.07.28.ebuild,
+  +files/sauerbraten-2010.07.28-system-enet.patch, +files/sauerbraten.conf,
+  +files/sauerbraten.init:
+  version bump (bug #366321) with contributions from at least Jon
+  Severinsson, Petr Pisar, Tomáš Chvátal, and Paul Hartman (bug #111566)
 
   09 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org>
   +files/sauerbraten_unix.patch, -files/wrapper,



1.1                  games-fps/sauerbraten/sauerbraten-2010.07.28.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/sauerbraten-2010.07.28.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/sauerbraten-2010.07.28.ebuild?rev=1.1&content-type=text/plain

Index: sauerbraten-2010.07.28.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/sauerbraten-2010.07.28.ebuild,v 1.1 2012/02/08 02:01:36 mr_bones_ Exp $

EAPI=2
inherit eutils flag-o-matic games

EDITION="justice_edition"
DESCRIPTION="Cube 2: Sauerbraten is an open source game engine (Cube 2) with freeware game data (Sauerbraten)"
HOMEPAGE="http://sauerbraten.org/"
SRC_URI="mirror://sourceforge/sauerbraten/2010_07_19/sauerbraten_${PV//./_}_${EDITION}_linux.tar.bz2"

LICENSE="ZLIB freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug dedicated"

DEPEND="
	sys-libs/zlib
	net-libs/enet:1.3
	!dedicated? (
		media-libs/libsdl[X,opengl]
		media-libs/sdl-mixer[vorbis]
		media-libs/sdl-image[png,jpeg]
		virtual/opengl
		virtual/glu )"

S=${WORKDIR}/${PN}

src_prepare() {
	ecvs_clean
	rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp}

	# Patch makefile to use system enet instead of bundled
	epatch "${FILESDIR}"/${P}-system-enet.patch

	# Fix links so they point to the correct directory
	sed -i \
		-e 's:docs/::' \
		README.html \
		|| die "sed failed"
	# Honor CXXFLAGS and LDFLAGS
	sed -i \
		-e 's/[[:space:]]*$//' \
		-e '/^CXXFLAGS=/d' \
		-e '/-o .*LIBS/s/$/ $(LDFLAGS)/' \
		src/Makefile \
		|| die "sed failed"
}

src_compile() {
	use debug && append-flags "-D_DEBUG"
	emake -C src master server $(use dedicated || echo client) \
		|| die "emake failed"
}

src_install() {
	local LIBEXECDIR="${GAMES_PREFIX}/lib"
	local DATADIR="${GAMES_DATADIR}/${PN}"
	local STATEDIR="${GAMES_STATEDIR}/${PN}"

	if ! use dedicated ; then
		# Install the game data
		insinto "${DATADIR}"
		doins -r data packages || die "doins -r failed"

		# Install the client executable
		exeinto "${LIBEXECDIR}"
		doexe src/sauer_client || die "doexe failed"

		# Install the client wrapper
		games_make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}"

		# Create menu entry
		insinto /usr/share/pixmaps
		newicon data/cube.png ${PN}.png
		make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten"
	fi

	# Install the server config files
	insinto "${STATEDIR}"
	doins "server-init.cfg" || die "doins failed"

	# Install the server executables
	exeinto "${LIBEXECDIR}"
	doexe src/sauer_{server,master} || die "doexe failed"

	games_make_wrapper "${PN}-server" \
		"${LIBEXECDIR}/sauer_server -k${DATADIR} -q${STATEDIR}"
	games_make_wrapper "${PN}-master" \
		"${LIBEXECDIR}/sauer_master ${STATEDIR}"

	# Install the server init script
	keepdir "${GAMES_STATEDIR}/run/${PN}"
	cp "${FILESDIR}"/${PN}.init "${T}"
	sed -i \
		-e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
		-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
		-e "s:%GAMES_STATEDIR%:${GAMES_STATEDIR}:g" \
		"${T}"/${PN}.init || die "sed failed"
	newinitd "${T}"/${PN}.init ${PN} || die "newinitd failed"
	cp "${FILESDIR}"/${PN}.conf "${T}"
	sed -i \
		-e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
		-e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
		-e "s:%GAMES_USER_DED%:${GAMES_USER_DED}:g" \
		-e "s:%GAMES_GROUP%:${GAMES_GROUP}:g" \
		"${T}"/${PN}.conf || die "sed failed"
	newconfd "${T}"/${PN}.conf ${PN} || die "newconfd failed"

	dodoc src/*.txt docs/dev/*.txt
	dohtml -r README.html docs/*

	prepgamesdirs
}

pkg_postinst() {
	games_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}"
}






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

* [gentoo-commits] gentoo-x86 commit in games-fps/sauerbraten: ChangeLog sauerbraten-2010.07.28.ebuild
@ 2014-07-28 18:35 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2014-07-28 18:35 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    14/07/28 18:35:29

  Modified:             ChangeLog
  Removed:              sauerbraten-2010.07.28.ebuild
  Log:
  old
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.22                 games-fps/sauerbraten/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/sauerbraten/ChangeLog?r1=1.21&r2=1.22

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog	17 Feb 2013 17:41:29 -0000	1.21
+++ ChangeLog	28 Jul 2014 18:35:28 -0000	1.22
@@ -1,6 +1,11 @@
 # ChangeLog for games-fps/sauerbraten
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.21 2013/02/17 17:41:29 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.22 2014/07/28 18:35:28 mr_bones_ Exp $
+
+  28 Jul 2014; Michael Sterrett <mr_bones_@gentoo.org>
+  -files/sauerbraten-2010.07.28-system-enet.patch,
+  -sauerbraten-2010.07.28.ebuild:
+  old
 
   17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> sauerbraten-2013.01.04.ebuild:
   Stable for x86, wrt bug #456060





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

end of thread, other threads:[~2014-07-28 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 18:35 [gentoo-commits] gentoo-x86 commit in games-fps/sauerbraten: ChangeLog sauerbraten-2010.07.28.ebuild Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2012-02-08  2:01 Michael Sterrett (mr_bones_)

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