diff options
author | Michael Weber <michael@xmw.de> | 2012-05-12 13:50:17 +0200 |
---|---|---|
committer | Michael Weber <michael@xmw.de> | 2012-05-12 13:50:17 +0200 |
commit | 1a20ac20e2e643c3d23c672c84690a751ddab97c (patch) | |
tree | aa535cb0e40629c995200b7b342d1a57125128a2 /games-fps | |
parent | [games-simulation/flightgear-9999] larcsim/UIUC FDMs depend on each other. so... (diff) | |
download | gamerlay-1a20ac20e2e643c3d23c672c84690a751ddab97c.tar.gz gamerlay-1a20ac20e2e643c3d23c672c84690a751ddab97c.tar.bz2 gamerlay-1a20ac20e2e643c3d23c672c84690a751ddab97c.zip |
[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)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/redeclipse/ChangeLog | 11 | ||||
-rw-r--r-- | games-fps/redeclipse/Manifest | 16 | ||||
-rw-r--r-- | games-fps/redeclipse/redeclipse-1.1.ebuild | 4 | ||||
-rw-r--r-- | games-fps/redeclipse/redeclipse-1.2.ebuild | 78 |
4 files changed, 106 insertions, 3 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/Manifest b/games-fps/redeclipse/Manifest index 4b28253..9607cea 100644 --- a/games-fps/redeclipse/Manifest +++ b/games-fps/redeclipse/Manifest @@ -1,3 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST redeclipse-1.2-favicon.png 3448 RMD160 c87023939b349c7015c48d80d63fd37aa52f06d2 SHA1 64163a7d53c6adedc452b13a7c39da0e8bc95159 SHA256 b33dafd95150ac043dbf7ae8c26c68b052a4762d9414601211dd78f7beed63e4 DIST redeclipse_1.1_linux_bsd.tar.bz2 454066621 RMD160 bb336de8b165e6c3213999203edc2bfca180e551 SHA1 3e3bc3571e4f7f1b601cad71aa4ae1e4c2e690b3 SHA256 cc7f7e9da51b0e5f0df1a7a3f041586ef82683b3bd2d428f2e9c7075f302a32a -EBUILD redeclipse-1.1.ebuild 1570 RMD160 ee07faebf23614e2e63ae97eda8053e0a5ac4c40 SHA1 e9dd28712b84548471e8130186068d5cf2a4a57e SHA256 6cb54626a6324628ca6c24456d5858b3250c09cc1b7b972e06654d547c6ab132 +DIST redeclipse_1.2_linux_bsd.tar.bz2 475330904 RMD160 a4bc97fe0ec15305e26ee61dc1f172d2c81cfcc7 SHA1 761be6ad087e7cd538d75ccdead9807b6de3a82b SHA256 5fb3e74711011404fa09f4fda26d343e67fda74b515b844bf36b4a39010dc308 +EBUILD redeclipse-1.1.ebuild 1582 RMD160 05ea065400d960ccf3c85ab7289cd1d46ca12440 SHA1 7dcddc5ffd18bc5f948fd182f81cfcbb7d3fe846 SHA256 ec8a3ee26a82efe0cfe9a93c212920779970d21d0eb351262cdf3a5fe1ce70cc +EBUILD redeclipse-1.2.ebuild 1923 RMD160 fcf6ded67098b8653c65f51351f6697f84a6be56 SHA1 45c7b12b92e3addd79c24e8cc42c2008558e7b6b SHA256 71d7a6248d89143f3102d5fa02aa4d28f294e81adf7d1dc49981ed30fa7e5758 +MISC ChangeLog 331 RMD160 beda6186fdae2c6d0ce715c02b7e2d96f1c48141 SHA1 9140476956737f51c04be7937d7dec81e0a4c1bc SHA256 2f89aa7f5b8ae9e4d04dd308328ccc3dafbae19d726845a8dc71d901a0701845 MISC metadata.xml 379 RMD160 1594f0e4bd96845669b1cb7a6d0a640fa67bb356 SHA1 0fc49ba6173cfaf6addda306cf66fddf1836e389 SHA256 59c7a3843898c1ce75f356d2ac15693d453d7a9dec8c00804a2499caed989cee +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk+uTnkACgkQknrdDGLu8JCNpAD/Yn7i15u/UceoNmXNyatJGzAX +OOf4z/lH5uzJhMKplDIBAIDZiB8aFi78i3z51ZXIN+cjnbC0keF8+pPBI74JvSlH +=Q8Lf +-----END PGP SIGNATURE----- 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.2.ebuild b/games-fps/redeclipse/redeclipse-1.2.ebuild new file mode 100644 index 0000000..0a199cd --- /dev/null +++ b/games-fps/redeclipse/redeclipse-1.2.ebuild @@ -0,0 +1,78 @@ +# 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 + 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" +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_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 + 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 +} + +src_compile() { + cd src + if ! use dedicated ; then + emake CXXFLAGS="${CXXFLAGS}" STRIP= client server || die "Make failed" + else + emake CXXFLAGS="${CXXFLAGS}" STRIPT= 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 ${WORKDIR}/favicon.png ${PN}.png || die + make_desktop_entry ${PN} "Red Eclipse" ${PN} + fi + + prepgamesdirs +} |