public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2011-03-28 21:19 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2011-03-28 21:19 UTC (permalink / raw
  To: gentoo-commits

commit:     b6a4930b5c9b5bb4984c7d9bee986c9b88392e77
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Mar 28 21:19:07 2011 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Mar 28 21:19:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=b6a4930b

[games-fps/redeclipse] Initial ebuild 1.0 from source code.

(Portage version: 2.1.9.42/git/Linux x86_64, unsigned Manifest commit)

---
 games-fps/redeclipse/metadata.xml          |   12 +++++
 games-fps/redeclipse/redeclipse-1.0.ebuild |   69 ++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+), 0 deletions(-)

diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml
new file mode 100644
index 0000000..7513f0b
--- /dev/null
+++ b/games-fps/redeclipse/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>azamat.hackimov@gmail.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+First-person ego-shooter, built as a total conversion of Cube Engine 2.
+</longdescription>
+</pkgmetadata>

diff --git a/games-fps/redeclipse/redeclipse-1.0.ebuild b/games-fps/redeclipse/redeclipse-1.0.ebuild
new file mode 100644
index 0000000..f29ac3f
--- /dev/null
+++ b/games-fps/redeclipse/redeclipse-1.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit games
+
+DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
+HOMEPAGE="http://www.redeclipse.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_linux.tar.bz2"
+
+# According to license.txt file
+LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated"
+
+DEPEND="!dedicated? (
+		media-libs/libsdl[opengl]
+		media-libs/sdl-image[jpeg,png]
+		media-libs/sdl-mixer[mp3,vorbis]
+		virtual/opengl
+		x11-libs/libX11
+	)
+	net-libs/enet:1.3
+	sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+	# Respect GAMES_DATADIR
+	sed -i -e "s:\(addpackagedir(\"\)data:\1${GAMES_DATADIR}/${PN}/data:" \
+		src/engine/server.cpp || die "sed failed"
+
+	# Unbundle enet
+	sed -i \
+		-e "s:\(client\)\: libenet:\1\::" \
+		-e   "s:\(server\)\: libenet:\1\::" \
+		src/Makefile || die "sed failed"
+
+	# Remove strip
+	sed -i "/STRIP=strip/d" src/Makefile || die "sed failed"
+}
+
+src_compile() {
+	cd src
+	if ! use dedicated ; then
+		emake CXXFLAGS="${CXXFLAGS}" client server || die "Make failed"
+	else
+		emake CXXFLAGS="${CXXFLAGS}" server
+	fi
+}
+
+src_install() {
+	newgamesbin src/reserver ${PN}-server || die
+	dodoc readme.txt
+	if ! use dedicated ; then
+		newgamesbin src/reclient ${PN} || die
+		insinto "${GAMES_DATADIR}"/${PN}
+		doins -r data
+		newicon src/site/bits/emblem.jpg ${PN}.jpg
+		make_desktop_entry ${PN} ${PN}
+	fi
+
+	prepgamesdirs
+}



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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2011-04-13  0:19 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2011-04-13  0:19 UTC (permalink / raw
  To: gentoo-commits

commit:     61062bb8f4f45594c1f98361b38f872355a32006
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Apr 13 00:19:41 2011 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Wed Apr 13 00:19:41 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=61062bb8

[games-fps/redeclipse] Change icon and desktop entry, minor fix.

(Portage version: 2.1.9.42/git/Linux x86_64, unsigned Manifest commit)

---
 games-fps/redeclipse/redeclipse-1.0.ebuild |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/redeclipse/redeclipse-1.0.ebuild b/games-fps/redeclipse/redeclipse-1.0.ebuild
index f29ac3f..bb04018 100644
--- a/games-fps/redeclipse/redeclipse-1.0.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.0.ebuild
@@ -61,8 +61,8 @@ src_install() {
 		newgamesbin src/reclient ${PN} || die
 		insinto "${GAMES_DATADIR}"/${PN}
 		doins -r data
-		newicon src/site/bits/emblem.jpg ${PN}.jpg
-		make_desktop_entry ${PN} ${PN}
+		newicon src/site/bits/favicon.png ${PN}.png || die
+		make_desktop_entry ${PN} "Red Eclipse" ${PN}
 	fi
 
 	prepgamesdirs



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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2011-07-26 14:32 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2011-07-26 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     00d22b1cce0a5aa3a3fa7e719ab747ca948dec32
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Jul 26 14:32:11 2011 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Tue Jul 26 14:32:11 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=00d22b1c

[games-fps/redeclipse] Bump to version 1.1.

(Portage version: 2.1.10.3/git/Linux x86_64, unsigned Manifest commit)

---
 ...redeclipse-1.0.ebuild => redeclipse-1.1.ebuild} |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/redeclipse/redeclipse-1.0.ebuild b/games-fps/redeclipse/redeclipse-1.1.ebuild
similarity index 95%
rename from games-fps/redeclipse/redeclipse-1.0.ebuild
rename to games-fps/redeclipse/redeclipse-1.1.ebuild
index bb04018..59ff1a0 100644
--- a/games-fps/redeclipse/redeclipse-1.0.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.1.ebuild
@@ -2,13 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=2
+EAPI=3
 
 inherit games
 
 DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
 HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_linux.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_linux_bsd.tar.bz2"
 
 # According to license.txt file
 LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"



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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2012-05-12 11:50 Michael Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Weber @ 2012-05-12 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     1a20ac20e2e643c3d23c672c84690a751ddab97c
Author:     Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Sat May 12 11:50:17 2012 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sat May 12 11:50:17 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=1a20ac20

[games-fps/redeclipse] Version bump (as suggested by Ian Stakenvicius on bug 363413), respect LDFLAGS

(Portage version: 2.1.10.49/git/Linux x86_64, signed Manifest commit with key 62EEF090)

---
 games-fps/redeclipse/ChangeLog                     |   11 ++++++
 games-fps/redeclipse/redeclipse-1.1.ebuild         |    4 +-
 ...redeclipse-1.1.ebuild => redeclipse-1.2.ebuild} |   33 ++++++++++++-------
 3 files changed, 34 insertions(+), 14 deletions(-)

diff --git a/games-fps/redeclipse/ChangeLog b/games-fps/redeclipse/ChangeLog
new file mode 100644
index 0000000..f120819
--- /dev/null
+++ b/games-fps/redeclipse/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-fps/redeclipse
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*redeclipse-1.2 (12 May 2012)
+
+  12 May 2012; Michael Weber <xmw@gentoo.org> redeclipse-1.1.ebuild,
+  +redeclipse-1.2.ebuild:
+  Version bump (as suggested by Ian Stakenvicius on bug 363413), respect
+  LDFLAGS
+

diff --git a/games-fps/redeclipse/redeclipse-1.1.ebuild b/games-fps/redeclipse/redeclipse-1.1.ebuild
index 59ff1a0..d934cb1 100644
--- a/games-fps/redeclipse/redeclipse-1.1.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -8,7 +8,7 @@ inherit games
 
 DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
 HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_linux_bsd.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}/${PN}_${PV}_linux_bsd.tar.bz2"
 
 # According to license.txt file
 LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"

diff --git a/games-fps/redeclipse/redeclipse-1.1.ebuild b/games-fps/redeclipse/redeclipse-1.2.ebuild
similarity index 57%
copy from games-fps/redeclipse/redeclipse-1.1.ebuild
copy to games-fps/redeclipse/redeclipse-1.2.ebuild
index 59ff1a0..0a199cd 100644
--- a/games-fps/redeclipse/redeclipse-1.1.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -8,7 +8,8 @@ inherit games
 
 DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
 HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_linux_bsd.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}/${PN}_${PV}_linux_bsd.tar.bz2
+	http://sourceforge.net/apps/trac/redeclipse/export/3683/src/site/bits/favicon.png -> ${P}-favicon.png"
 
 # According to license.txt file
 LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"
@@ -24,33 +25,41 @@ DEPEND="!dedicated? (
 		x11-libs/libX11
 	)
 	net-libs/enet:1.3
-	sys-libs/zlib
-"
+	sys-libs/zlib"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/${PN}
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+	unpack $A
+	einfo "Copying favicon.png into ${WORKDIR}"
+	cp "${DISTDIR}"/${P}-favicon.png "${WORKDIR}/favicon.png" || die
+}
 
 src_prepare() {
 	# Respect GAMES_DATADIR
 	sed -i -e "s:\(addpackagedir(\"\)data:\1${GAMES_DATADIR}/${PN}/data:" \
-		src/engine/server.cpp || die "sed failed"
+		src/engine/server.cpp || die
 
 	# Unbundle enet
 	sed -i \
 		-e "s:\(client\)\: libenet:\1\::" \
 		-e   "s:\(server\)\: libenet:\1\::" \
-		src/Makefile || die "sed failed"
+		src/Makefile || die
+	rm -r src/enet || die
 
-	# Remove strip
-	sed -i "/STRIP=strip/d" src/Makefile || die "sed failed"
+	#respect LDFLAGS
+	sed -e "/^client/,+1s:-o reclient:-o reclient \$(LDFLAGS):" \
+		-e "/^server/,+1s:-o reserver:-o reserver \$(LDFLAGS):" \
+		-i src/Makefile || die
 }
 
 src_compile() {
 	cd src
 	if ! use dedicated ; then
-		emake CXXFLAGS="${CXXFLAGS}" client server || die "Make failed"
+		emake CXXFLAGS="${CXXFLAGS}" STRIP= client server || die "Make failed"
 	else
-		emake CXXFLAGS="${CXXFLAGS}" server
+		emake CXXFLAGS="${CXXFLAGS}" STRIPT= server
 	fi
 }
 
@@ -61,7 +70,7 @@ src_install() {
 		newgamesbin src/reclient ${PN} || die
 		insinto "${GAMES_DATADIR}"/${PN}
 		doins -r data
-		newicon src/site/bits/favicon.png ${PN}.png || die
+		newicon ${WORKDIR}/favicon.png ${PN}.png || die
 		make_desktop_entry ${PN} "Red Eclipse" ${PN}
 	fi
 



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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2012-05-13 18:09 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2012-05-13 18:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4a1de7f046c4fe6a1e07475da6908c5991907222
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun May 13 18:09:08 2012 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sun May 13 18:09:08 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=4a1de7f0

[games-fps/redeclipse] Removed old 1.1, added man-pages and .desktop file.

(Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit)

---
 games-fps/redeclipse/ChangeLog             |    4 ++
 games-fps/redeclipse/metadata.xml          |    2 +-
 games-fps/redeclipse/redeclipse-1.1.ebuild |   69 ----------------------------
 games-fps/redeclipse/redeclipse-1.2.ebuild |   47 +++++++++++++------
 4 files changed, 38 insertions(+), 84 deletions(-)

diff --git a/games-fps/redeclipse/ChangeLog b/games-fps/redeclipse/ChangeLog
index f120819..ae41e31 100644
--- a/games-fps/redeclipse/ChangeLog
+++ b/games-fps/redeclipse/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 May 2012; Azamat H. Hackimov <azamat.hackimov@gmail.com>
+  -redeclipse-1.1.ebuild, redeclipse-1.2.ebuild, metadata.xml:
+  Removed old 1.1, added man-pages and .desktop file.
+
 *redeclipse-1.2 (12 May 2012)
 
   12 May 2012; Michael Weber <xmw@gentoo.org> redeclipse-1.1.ebuild,

diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml
index 7513f0b..d5c68c3 100644
--- a/games-fps/redeclipse/metadata.xml
+++ b/games-fps/redeclipse/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>no-herd</herd>
+<herd></herd>
 <maintainer>
 <email>azamat.hackimov@gmail.com</email>
 <name>Azamat H. Hackimov</name>

diff --git a/games-fps/redeclipse/redeclipse-1.1.ebuild b/games-fps/redeclipse/redeclipse-1.1.ebuild
deleted file mode 100644
index d934cb1..0000000
--- a/games-fps/redeclipse/redeclipse-1.1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit games
-
-DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
-HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}/${PN}_${PV}_linux_bsd.tar.bz2"
-
-# According to license.txt file
-LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dedicated"
-
-DEPEND="!dedicated? (
-		media-libs/libsdl[opengl]
-		media-libs/sdl-image[jpeg,png]
-		media-libs/sdl-mixer[mp3,vorbis]
-		virtual/opengl
-		x11-libs/libX11
-	)
-	net-libs/enet:1.3
-	sys-libs/zlib
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${PN}
-
-src_prepare() {
-	# Respect GAMES_DATADIR
-	sed -i -e "s:\(addpackagedir(\"\)data:\1${GAMES_DATADIR}/${PN}/data:" \
-		src/engine/server.cpp || die "sed failed"
-
-	# Unbundle enet
-	sed -i \
-		-e "s:\(client\)\: libenet:\1\::" \
-		-e   "s:\(server\)\: libenet:\1\::" \
-		src/Makefile || die "sed failed"
-
-	# Remove strip
-	sed -i "/STRIP=strip/d" src/Makefile || die "sed failed"
-}
-
-src_compile() {
-	cd src
-	if ! use dedicated ; then
-		emake CXXFLAGS="${CXXFLAGS}" client server || die "Make failed"
-	else
-		emake CXXFLAGS="${CXXFLAGS}" server
-	fi
-}
-
-src_install() {
-	newgamesbin src/reserver ${PN}-server || die
-	dodoc readme.txt
-	if ! use dedicated ; then
-		newgamesbin src/reclient ${PN} || die
-		insinto "${GAMES_DATADIR}"/${PN}
-		doins -r data
-		newicon src/site/bits/favicon.png ${PN}.png || die
-		make_desktop_entry ${PN} "Red Eclipse" ${PN}
-	fi
-
-	prepgamesdirs
-}

diff --git a/games-fps/redeclipse/redeclipse-1.2.ebuild b/games-fps/redeclipse/redeclipse-1.2.ebuild
index 0a199cd..a6cbfa9 100644
--- a/games-fps/redeclipse/redeclipse-1.2.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.2.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="dedicated"
 
 DEPEND="!dedicated? (
+		media-libs/freetype:2
 		media-libs/libsdl[opengl]
 		media-libs/sdl-image[jpeg,png]
 		media-libs/sdl-mixer[mp3,vorbis]
@@ -30,28 +31,41 @@ RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}
 
-src_unpack() {
-	unpack $A
-	einfo "Copying favicon.png into ${WORKDIR}"
-	cp "${DISTDIR}"/${P}-favicon.png "${WORKDIR}/favicon.png" || die
-}
-
 src_prepare() {
 	# Respect GAMES_DATADIR
 	sed -i -e "s:\(addpackagedir(\"\)data:\1${GAMES_DATADIR}/${PN}/data:" \
 		src/engine/server.cpp || die
 
 	# Unbundle enet
-	sed -i \
-		-e "s:\(client\)\: libenet:\1\::" \
-		-e   "s:\(server\)\: libenet:\1\::" \
-		src/Makefile || die
+	sed	-e "s:\(client\)\: libenet:\1\::" \
+		-e "s:\(server\)\: libenet:\1\::" \
+		-i src/Makefile || die
 	rm -r src/enet || die
 
 	#respect LDFLAGS
 	sed -e "/^client/,+1s:-o reclient:-o reclient \$(LDFLAGS):" \
 		-e "/^server/,+1s:-o reserver:-o reserver \$(LDFLAGS):" \
 		-i src/Makefile || die
+
+	# Menu and mans
+	sed -e "s:@REDECLIPSE@:${PN}:" \
+		src/install/nix/redeclipse.desktop.am \
+		> src/install/nix/redeclipse.desktop || die
+
+	sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
+		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
+		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
+		-e "s:@REDECLIPSE@:${PN}:g" \
+		src/install/nix/redeclipse.6.am \
+		> src/install/nix/redeclipse.6 || die
+
+	sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
+		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
+		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
+		-e "s:@REDECLIPSE@:${PN}:g" \
+		src/install/nix/redeclipse-server.6.am \
+		> src/install/nix/redeclipse-server.6 || die
+
 }
 
 src_compile() {
@@ -59,19 +73,24 @@ src_compile() {
 	if ! use dedicated ; then
 		emake CXXFLAGS="${CXXFLAGS}" STRIP= client server || die "Make failed"
 	else
-		emake CXXFLAGS="${CXXFLAGS}" STRIPT= server
+		emake CXXFLAGS="${CXXFLAGS}" STRIP= server || die "Make failed"
 	fi
 }
 
 src_install() {
 	newgamesbin src/reserver ${PN}-server || die
-	dodoc readme.txt
+	doman src/install/nix/redeclipse-server.6 || die
+	dodoc readme.txt data/examples/servexec.cfg data/examples/servinit.cfg
 	if ! use dedicated ; then
 		newgamesbin src/reclient ${PN} || die
+
+		# Don't include examples into datadir
+		rm data/examples/servexec.cfg data/examples/servinit.cfg
 		insinto "${GAMES_DATADIR}"/${PN}
 		doins -r data
-		newicon ${WORKDIR}/favicon.png ${PN}.png || die
-		make_desktop_entry ${PN} "Red Eclipse" ${PN}
+		newicon "${DISTDIR}/${P}-favicon.png" ${PN}.png || die
+		domenu src/install/nix/redeclipse.desktop
+		doman src/install/nix/redeclipse.6
 	fi
 
 	prepgamesdirs



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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2012-09-30 11:09 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2012-09-30 11:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4f3e85c0443b6803c1063d68abcc82d0d0714d90
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Sep 30 11:09:29 2012 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sun Sep 30 11:09:29 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=4f3e85c0

[games-fps/redeclipse] Version bump to 1.3.1.

(Portage version: 2.1.11.9/git/Linux x86_64, unsigned Manifest commit)

---
 ...declipse-1.2.ebuild => redeclipse-1.3.1.ebuild} |   47 ++++++++++----------
 1 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/games-fps/redeclipse/redeclipse-1.2.ebuild b/games-fps/redeclipse/redeclipse-1.3.1.ebuild
similarity index 59%
rename from games-fps/redeclipse/redeclipse-1.2.ebuild
rename to games-fps/redeclipse/redeclipse-1.3.1.ebuild
index a6cbfa9..23e4dbb 100644
--- a/games-fps/redeclipse/redeclipse-1.2.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.3.1.ebuild
@@ -2,14 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
-inherit games
+inherit games versionator
+
+MAJOR_VERSION=$(get_version_component_range 1-2)
 
 DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2"
 HOMEPAGE="http://www.redeclipse.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}/${PN}_${PV}_linux_bsd.tar.bz2
-	http://sourceforge.net/apps/trac/redeclipse/export/3683/src/site/bits/favicon.png -> ${P}-favicon.png"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${MAJOR_VERSION}/${PN}_${PV}_nix_bsd.tar.bz2"
 
 # According to license.txt file
 LICENSE="as-is ZLIB CCPL-Attribution-ShareAlike-3.0"
@@ -34,63 +35,61 @@ S=${WORKDIR}/${PN}
 src_prepare() {
 	# Respect GAMES_DATADIR
 	sed -i -e "s:\(addpackagedir(\"\)data:\1${GAMES_DATADIR}/${PN}/data:" \
-		src/engine/server.cpp || die
+		src/engine/server.cpp
 
 	# Unbundle enet
 	sed	-e "s:\(client\)\: libenet:\1\::" \
 		-e "s:\(server\)\: libenet:\1\::" \
-		-i src/Makefile || die
-	rm -r src/enet || die
+		-i src/Makefile
+	rm -r src/enet
 
 	#respect LDFLAGS
 	sed -e "/^client/,+1s:-o reclient:-o reclient \$(LDFLAGS):" \
 		-e "/^server/,+1s:-o reserver:-o reserver \$(LDFLAGS):" \
-		-i src/Makefile || die
+		-i src/Makefile
 
 	# Menu and mans
-	sed -e "s:@REDECLIPSE@:${PN}:" \
+	sed -e "s:@APPNAME@:${PN}:" \
 		src/install/nix/redeclipse.desktop.am \
-		> src/install/nix/redeclipse.desktop || die
+		> src/install/nix/redeclipse.desktop
 
 	sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
 		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
 		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
 		-e "s:@REDECLIPSE@:${PN}:g" \
-		src/install/nix/redeclipse.6.am \
-		> src/install/nix/redeclipse.6 || die
+		doc/man/redeclipse.6.am \
+		> doc/man/redeclipse.6
 
 	sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \
 		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
 		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
 		-e "s:@REDECLIPSE@:${PN}:g" \
-		src/install/nix/redeclipse-server.6.am \
-		> src/install/nix/redeclipse-server.6 || die
+		doc/man/redeclipse-server.6.am \
+		> doc/man/redeclipse-server.6
 
 }
 
 src_compile() {
 	cd src
 	if ! use dedicated ; then
-		emake CXXFLAGS="${CXXFLAGS}" STRIP= client server || die "Make failed"
+		emake CXXFLAGS="${CXXFLAGS}" STRIP= client server
 	else
-		emake CXXFLAGS="${CXXFLAGS}" STRIP= server || die "Make failed"
+		emake CXXFLAGS="${CXXFLAGS}" STRIP= server
 	fi
 }
 
 src_install() {
-	newgamesbin src/reserver ${PN}-server || die
-	doman src/install/nix/redeclipse-server.6 || die
-	dodoc readme.txt data/examples/servexec.cfg data/examples/servinit.cfg
+	newgamesbin src/reserver ${PN}-server
+	doman doc/man/redeclipse-server.6
+	dodoc readme.txt doc/examples/serv{exec,init}.cfg
 	if ! use dedicated ; then
-		newgamesbin src/reclient ${PN} || die
+		newgamesbin src/reclient ${PN}
 
-		# Don't include examples into datadir
-		rm data/examples/servexec.cfg data/examples/servinit.cfg
 		insinto "${GAMES_DATADIR}"/${PN}
 		doins -r data
-		newicon "${DISTDIR}/${P}-favicon.png" ${PN}.png || die
+		newicon src/install/nix/${PN}_x128.png ${PN}.png
 		domenu src/install/nix/redeclipse.desktop
-		doman src/install/nix/redeclipse.6
+		doman doc/man/redeclipse.6
 	fi
 
 	prepgamesdirs


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

* [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/
@ 2016-03-21 17:51 Azamat H. Hackimov
  0 siblings, 0 replies; 7+ messages in thread
From: Azamat H. Hackimov @ 2016-03-21 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     f8a9a7244a87d29a16c638fb114eeb033bc91472
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Mar 21 17:49:03 2016 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Mar 21 17:49:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f8a9a724

[games-fps/redeclipse] Min req libenet is 1.3.9

Thanks to post from maillist.

 games-fps/redeclipse/redeclipse-1.5.3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-fps/redeclipse/redeclipse-1.5.3.ebuild b/games-fps/redeclipse/redeclipse-1.5.3.ebuild
index 325466e..50b4f9d 100644
--- a/games-fps/redeclipse/redeclipse-1.5.3.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.5.3.ebuild
@@ -26,7 +26,7 @@ DEPEND="!dedicated? (
 		virtual/opengl
 		x11-libs/libX11
 	)
-	net-libs/enet:1.3
+	>=net-libs/enet-1.3.9:1.3
 	sys-libs/zlib"
 RDEPEND="${DEPEND}"
 
@@ -45,6 +45,8 @@ src_prepare() {
 		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
 		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
 		-e "s:@REDECLIPSE@:${PN}:g" \
+		-e "s:@APPNAME@:${PN}:g" \
+		-e "s:@CAPPNAME@:REDECLIPSE:g" \
 		doc/man/redeclipse.6.am \
 		> doc/man/redeclipse.6
 
@@ -52,6 +54,8 @@ src_prepare() {
 		-e "s:@DATADIR@:${GAMES_DATADIR}:g" \
 		-e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \
 		-e "s:@REDECLIPSE@:${PN}:g" \
+		-e "s:@APPNAME@:${PN}:g" \
+		-e "s:@CAPPNAME@:REDECLIPSE:g" \
 		doc/man/redeclipse-server.6.am \
 		> doc/man/redeclipse-server.6
 }


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

end of thread, other threads:[~2016-03-21 17:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 21:19 [gentoo-commits] proj/gamerlay:master commit in: games-fps/redeclipse/ Azamat H. Hackimov
  -- strict thread matches above, loose matches on Subject: below --
2011-04-13  0:19 Azamat H. Hackimov
2011-07-26 14:32 Azamat H. Hackimov
2012-05-12 11:50 Michael Weber
2012-05-13 18:09 Azamat H. Hackimov
2012-09-30 11:09 Azamat H. Hackimov
2016-03-21 17:51 Azamat H. Hackimov

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