* [gentoo-commits] gentoo-x86 commit in games-strategy/openra: metadata.xml ChangeLog openra-20120504.ebuild Manifest
@ 2012-05-04 0:20 Julian Ospald (hasufell)
0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2012-05-04 0:20 UTC (permalink / raw
To: gentoo-commits
hasufell 12/05/04 00:20:14
Added: metadata.xml ChangeLog openra-20120504.ebuild
Manifest
Log:
initial commit wrt #372029 with help from diamond
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Revision Changes Path
1.1 games-strategy/openra/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
<maintainer>
<email>hasufell@gentoo.org</email>
<name>Julian Ospald</name>
<description>Maintainer, assign bugs to him</description>
</maintainer>
<maintainer>
<email>diamond@hi-net.ru</email>
<description>Proxy maintainer. CC him on bugs</description>
</maintainer>
<upstream>
<changelog>http://openra.res0l.net/news/</changelog>
<doc lang="en">https://github.com/OpenRA/OpenRA/wiki</doc>
<bugs-to>https://github.com/OpenRA/OpenRA/issues</bugs-to>
</upstream>
<use>
<flag name="cg">NVIDIA toolkit plugin</flag>
</use>
</pkgmetadata>
1.1 games-strategy/openra/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for games-strategy/openra
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.1 2012/05/04 00:20:14 hasufell Exp $
*openra-20120504 (04 May 2012)
04 May 2012; Julian Ospald <hasufell@gentoo.org> +openra-20120504.ebuild,
+metadata.xml:
initial commit wrt #372029 with help from diamond
1.1 games-strategy/openra/openra-20120504.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/openra-20120504.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/openra-20120504.ebuild?rev=1.1&content-type=text/plain
Index: openra-20120504.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20120504.ebuild,v 1.1 2012/05/04 00:20:14 hasufell Exp $
EAPI=3
inherit eutils mono gnome2-utils games
DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert"
HOMEPAGE="http://open-ra.org/"
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cg"
DEPEND="dev-dotnet/libgdiplus
dev-lang/mono
media-libs/freetype:2[X]
media-libs/libsdl[X,opengl,video]
media-libs/openal
virtual/jpeg
virtual/opengl
cg? ( >=media-gfx/nvidia-cg-toolkit-2.1.0017 )"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
# register game-version
sed \
-e "/Version/s/{DEV_VERSION}/release-${PV}/" \
-i mods/{ra,cnc}/mod.yaml || die
}
src_install() {
emake \
datadir="${GAMES_DATADIR}" \
bindir="${GAMES_BINDIR}" \
libdir="$(games_get_libdir)/${PN}" \
DESTDIR="${D}" \
install
# icons
insinto /usr/share/icons/
doins -r packaging/linux/hicolor
# desktop entries
local myrenderer=$(usex cg Cg Gl)
make_desktop_entry "${PN} Game.Mods=cnc Graphics.Renderer=${myrenderer}" \
"OpenRA CNC" ${PN}
make_desktop_entry "${PN} Game.Mods=ra Graphics.Renderer=${myrenderer}" \
"OpenRA RA" ${PN}
make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN}
dodoc "${FILESDIR}"/README.gentoo README HACKING CHANGELOG
# file permissions
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
if use cg ; then
elog "If you have problems starting the game consider switching"
elog "back to Graphics.Renderer=Gl in openra*.desktop or manually"
elog "run:"
elog "${PN} Game.Mods=\$mod Graphics.Renderer=Gl"
fi
}
pkg_postrm() {
gnome2_icon_cache_update
}
1.1 games-strategy/openra/Manifest
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/Manifest?rev=1.1&content-type=text/plain
Index: Manifest
===================================================================
DIST openra-20120504.tar.xz 6655756 RMD160 3d334e5ba4dd5e63a6b30c5dc2202f48ea99ca3b SHA1 0e29c3c4eff6b2422b4a449662b5a8d5e0b2faba SHA256 3d210d237d5f9f7cec5f0584cbe6919c946873dd8d3ed14f18f61907d413e75e
EBUILD openra-20120504.ebuild 1839 RMD160 dc62950d8db7999d960bd0e3b26acdc60beea07f SHA1 328c77125840f175babb328896e066b90a2cd7b6 SHA256 b71bf7ffe1330b2eda8802ce9fdd793ed8d97a2846894c437b72d504ea8e6df3
MISC ChangeLog 300 RMD160 6e597ee619c274bba59f4eb4585f89afb2fa11ea SHA1 6b6dd5f099f596475113d957925dea584b8b9afb SHA256 f58a1ff82286041097d964b2c57e16a1061a3e7850777af165d250a58f3cae51
MISC metadata.xml 704 RMD160 3a1ba4408c9b262f8a197a55899adba5c660f483 SHA1 faa6823554688d7fa821e6477e7248a6b57667e2 SHA256 ffa6beb55a8b860f6e487cd8cb6bcba42a1af4b582358b210c803d299e616555
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-04 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 0:20 [gentoo-commits] gentoo-x86 commit in games-strategy/openra: metadata.xml ChangeLog openra-20120504.ebuild Manifest Julian Ospald (hasufell)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox