diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/openra/ChangeLog | 5 | ||||
-rw-r--r-- | games-strategy/openra/openra-20130514.ebuild | 95 |
2 files changed, 4 insertions, 96 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog index 696073230161..a3ced08e5475 100644 --- a/games-strategy/openra/ChangeLog +++ b/games-strategy/openra/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/openra # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.20 2013/07/04 12:23:03 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.21 2013/07/04 12:42:06 hasufell Exp $ + + 04 Jul 2013; Julian Ospald <hasufell@gentoo.org> -openra-20130514.ebuild: + remove old 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> openra-20130514-r1.ebuild: Stable for x86, wrt bug #475670 diff --git a/games-strategy/openra/openra-20130514.ebuild b/games-strategy/openra/openra-20130514.ebuild deleted file mode 100644 index 0b2c608aab25..000000000000 --- a/games-strategy/openra/openra-20130514.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20130514.ebuild,v 1.5 2013/06/29 18:41:44 hasufell Exp $ - -EAPI=5 - -inherit eutils mono-env gnome2-utils vcs-snapshot games - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert" -HOMEPAGE="http://open-ra.org/" -SRC_URI="https://github.com/OpenRA/OpenRA/tarball/release-${PV} -> ${P}.tar.gz" - -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}" - -pkg_setup() { - mono-env_pkg_setup - games_pkg_setup -} - -src_unpack() { - vcs-snapshot_src_unpack -} - -src_prepare() { - # register game-version - sed \ - -e "/Version/s/{DEV_VERSION}/release-${PV}/" \ - -i mods/{ra,cnc,d2k}/mod.yaml || die -} - -src_compile() { - emake all -} - -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} Game.Mods=d2k Graphics.Renderer=${myrenderer}" \ - "OpenRA Dune2k" ${PN} - make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN} - - dodoc "${FILESDIR}"/README.gentoo README.md 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 "to Graphics.Renderer=Cg in openra*.desktop or manually" - elog "run:" - elog "${PN} Game.Mods=\$mod Graphics.Renderer=Cg" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update -} |