summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-09-23 18:56:49 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-09-23 18:56:49 +0000
commit5189df611ed2c871e68fda680372ab032764acc8 (patch)
tree85127309abb34313e2a0d3a19812221842f05a1f /games-strategy/openra
parentUpdate hardened amd64 and x86 to eapi 5 (diff)
downloadhistorical-5189df611ed2c871e68fda680372ab032764acc8.tar.gz
historical-5189df611ed2c871e68fda680372ab032764acc8.tar.bz2
historical-5189df611ed2c871e68fda680372ab032764acc8.zip
version bump
Package-Manager: portage-2.2.6/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-strategy/openra')
-rw-r--r--games-strategy/openra/ChangeLog8
-rw-r--r--games-strategy/openra/Manifest19
-rw-r--r--games-strategy/openra/files/openra-20130915-make.patch25
-rw-r--r--games-strategy/openra/openra-20130915.ebuild97
4 files changed, 140 insertions, 9 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog
index 65f247fbdb7c..ec782aa343d9 100644
--- a/games-strategy/openra/ChangeLog
+++ b/games-strategy/openra/ChangeLog
@@ -1,6 +1,12 @@
# 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.22 2013/07/05 17:19:10 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.23 2013/09/23 18:56:43 hasufell Exp $
+
+*openra-20130915 (23 Sep 2013)
+
+ 23 Sep 2013; Julian Ospald <hasufell@gentoo.org> +openra-20130915.ebuild,
+ +files/openra-20130915-make.patch:
+ version bump
05 Jul 2013; Julian Ospald <hasufell@gentoo.org>
files/openra-20130514-makefile.patch:
diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest
index c777fddaa176..14c0b07fe0ed 100644
--- a/games-strategy/openra/Manifest
+++ b/games-strategy/openra/Manifest
@@ -4,22 +4,25 @@ Hash: SHA256
AUX README.gentoo 4754 SHA256 fe5d3a65472701fdfa44fe3e27aad694a13881932f75dbbba5c1fc3464ca006f SHA512 423c2682c3a9e69ccb078399ffec2ed2cb4bf1445c86db730756457e65f90d6f56c80e09b4f5e0b0eb0501a2a692d7d2add3847f77794aaf7555574a76c75392 WHIRLPOOL 1b3a698506170f86926548ee28cd9bccb3438f39baa961a47e26dad2c3f18c31df609c7dfbb46a89237c134c264c886417143fc5cfd1dccaaedf4b931f1d0b2e
AUX openra-20120630-sound.patch 616 SHA256 6270dee1ead19c3abefdd1f3742cffbc0af9675f50d8fbcef5a0fb1a856ce16a SHA512 a6d04128fa53cdb70bb6d5de0b529ed283349c3748b3d3d455462f9ec6e3e5defeb49dede887072f52ffe4025b5f43ade42c66708a2deeacd82f06e1b1d68f1c WHIRLPOOL ff14e623e1e0daba621ab9eb701c3665bef32ef2bd838ddf22e181885ab1245f02b5c6f4fca3de95c12bc250ff1588eb1b0becd3897df8a2261d1ab66be9de65
AUX openra-20130514-makefile.patch 12143 SHA256 7426f60ebac6cd0130d1fb0e05785c2d71dd8ac6a66d7f7f06c6e9e00a69839f SHA512 2c071d2dcb7c8af9983d3c66cf2a0d522e313256250b36b4928abb734db52b18b0636746b466cc5b09b0527560979d05aac905f5ef5e213150a0cc5dc60e0447 WHIRLPOOL 921c4fda40ccbfb5e107b236abd9241ba438b4b6095377525795b636dcb315545e639fa2dfe20e45d6152cc582f74a26a01d19c2095e73ead5bbbffd47a4e0c2
+AUX openra-20130915-make.patch 830 SHA256 95ec85eab0c80ef038507eabaa1a22069289d3b1c012ed357e915dad63836dd1 SHA512 ce6277a6f9c03cca8111a6f605b66a48b35350481a21ca9a104efa2a5a02352ca78f38de018f712862af3b8fab4afad53c546ba97914fd10aca9ac583d89b736 WHIRLPOOL 7e91801eeb3f993d5fbb4f3645d28065a33120ee922d29f4e6e06984bb6362f41a079168014ca3dff89ea13c396f78c2b49f36b80851f4a850a6b8a93ab24f5c
DIST openra-20120630.tar.gz 10330304 SHA256 f95b9d41ea4b4094ea61519f6fb0185fa242af156e2ec26dc1f2d55197470a3c SHA512 ab5996a3f48d8be227edc029d3fa7948a80756a64bca65d1936c3f4480ef5258cb62365d079cc28ba2be59796db91326c4f8c8d500ea4d2bbf3a8439d783fceb WHIRLPOOL 390b5fa57ef322e6204a23006fc3a7755178d28e115fd52fa4ca5b46ecf58f8df61b44a90ba2fe143a7fadd0be42aaf3488c3b938eaea11171636b562dfe344d
DIST openra-20121019.tar.gz 11338976 SHA256 016dd79f759c539889c290e7bd90b3faa92e88c35c6cd20789803b30135978e9 SHA512 199a88b2a34c05787e1d5ebced15975c76b2fb45d70c613db679e7faaa158942a7ddc842ff8e0f912e4e70beb3dab4f281e62dee76899fc67582ec8c067b3556 WHIRLPOOL bf694d4e94d35dd31343b127e7c4855b3bcf56cd6559d5f6a3c3f4ee9e40f627880e79ba599d5929d8c5b49643b93c09ee9d55f35c426d08526736190a9029a2
DIST openra-20130514.tar.gz 12592295 SHA256 0912303c7a02cf3907f618405c3605c56bcf30f053dcbbd110aba7dbad012210 SHA512 a9efddffb74b215cc9f5319f6b4613aa23116d328226c0cb428e8d2be97b03dfe45024c532c34e91d959434700a6170faa91a56b324aa2bfe1f1ce7ce96d46c4 WHIRLPOOL d91b911b76a7e3f6286f50d4d33beb6a7cb3e0035ef8b3331e6033e2487a13be8e8aac70fde30b7cbc139b71bd8bf5259a97ce0a642fcb386a3e5136223322ea
+DIST openra-20130915.tar.gz 10425357 SHA256 b15b41dfdf0356f32760d89f731aa2bf81ddab149ee06f4ac61802a3f4390ce0 SHA512 3aff1d6c30d361b72f7270e014dee3886eb48dac0017e1e813aead7af9d8f94fe73e3852cfa888697d853f883c234fcdd5f282c6807e3f6632db2da95a85d185 WHIRLPOOL d23231fc9b940333a468049f577bdaec1d29cf2f55975f41ad325715db721858466a090419dff105d0ae496d52b6b3583f1f4dabe7734cadc724923e931cf384
EBUILD openra-20120630.ebuild 2040 SHA256 b3c3891ad26a81d27d4c8a68eed507026d4ce5f47eaae9fb4f485de8be114aad SHA512 a2c9fad65e1791464d6c40da95680eca2c11d745598ca2572d24783fdaf2b6d70b5a142b6938d2407b49415dad46ca53049aae15bf77c820e29bcf947afc6ed2 WHIRLPOOL 0eaf9e7aac412df5cc8d284bbe36e191c6d954dfc8fe610177b894572f7c508f2dedc7c5d5ec8e9a8ffee5e54e4f81acce4d4bc9959380447c7e6a85d5de4baf
EBUILD openra-20121019.ebuild 2107 SHA256 13e09c553eefe18ab63a4adfc1bf8b5e7bf8d761d6a7b1c3f911a630e62ab887 SHA512 594822765e56ee6507f2bec899638736ea664bfd8bc7428608a7fc5fec0ec5cf88f912c9e5ea653a56d52eda753a9e537d589ef8b7aeaf308cc22641068d5c5b WHIRLPOOL 02a73b867ea0f10069fd9626d5a9a10e529302710e0b7749bb12db3b9c56428751ddf9e20aa1ef695395be124601ce2c125211f6ab169ec7000336057bc8aac0
EBUILD openra-20130514-r1.ebuild 2262 SHA256 65bf2d2f008397df715bc0a94de699c981b6c26305f1ac473a5d0a97c176640c SHA512 8248264cd229d14a5a2525fde21fcad997d0ea9190f27dc4b1ebca98fee2558bc07f9ee22a5f4e9314300c6a5467cd9bb2284c186b038bf8ccc540d853abf781 WHIRLPOOL 461e7b838beb2051d8b4f6b4c197bff1f9ed9b8400f0042e87da354be69e83e8804d554b895801ebdda204cbee4c0d356a5705427998cb4e2c1191e20c0744cb
-MISC ChangeLog 2930 SHA256 256c96fc2729e00bf36e5418b8bf88300fe92bab844deb38c1aac74ab6c78ef0 SHA512 f3bd694c8454afd93f912b4182081cc4544b634bed62f06758068a6e92c1685e8f759b26c1526ec1af4f3a8e21d230748bfe8c74c9ea80f6b8a7115315eb839a WHIRLPOOL 7cd5db037f37722c3cb815711a3f2713f76a924b5ecf91cca4f4ef1f0ad2dc03c05ae12acddbf01a42463bfdd083c8e7755464365362e8f5d500bc74cd63cfd5
+EBUILD openra-20130915.ebuild 2262 SHA256 fde755dabb70dcf02f2298f14665d3fbd98643f6694f414ca37bed10d7deea45 SHA512 7db0e1a6e511b7fb9235f3654fb6c6ab0ba94b17e207e6a509ed690169ae346172c3b58303459240dc6512778a225b7e2eb582ab16fc023fa72f8fc9d25f7f3e WHIRLPOOL 64da89a431c826b765aded3247ffed405be6c619c34c1ba873a26c77e1996fdda4faceec368d37b4184112d60f78e00d731936bd516a4ac94f3ba35c1f70dedd
+MISC ChangeLog 3091 SHA256 acc2a3da5fa64927b55be57da76143880b903d846206ac477bba6dd2cdbd2248 SHA512 5ddafc129acdc21e1ebed0c02acb9fb0afa65e9ab035b10f3e8b5dc5679899f4ce859913eb5d65e45228d9c557b9bd9f7ce22d7f20a51f0a1e846553374629b9 WHIRLPOOL b10df643727d4c9fbfe2b36808b52abbf2df9510cb5b432a1f9495f946a188ffbd0279d3eea4a550bfedd003b41f9050ecddf2d71835355ebec5bbfc37f3160f
MISC metadata.xml 814 SHA256 d2ef2dd5e230dd87190de36198e86a1cd368837e1c71de2212b63d0c18831d81 SHA512 1712ccc1d0f096de8da71119e21060586c2b7e232b21b85a4a34df3d5682116abf784be03cd753a64b6f34277e1e347b0295ead2cee8d8ac0aa5468421156379 WHIRLPOOL f5aa621739cd3506a768e405d9c57ef3095237c10bbe0d5fcba05ad8616307f012101928b7985c507af1f8bbffaf88b2431615cc2db5d0af2c74ab97c2c1c433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJR1wASAAoJEFpvPKfnPDWz5YkIAJjIntRZIgajzV1DN4txegjm
-bztDS5cD8Wq8wxlwP5c16zZ8Lztxe8GDrEeC6AqgMG6e+SPkprnJ0D90UuFgHUep
-RprcInTd2U1wJpMfT1uYOBZ5FlW/kF5Q8q3iTJq55ImKTLGQv03WhWENl6F0nKvf
-iw9RdrSRPNQuT75F/9PCcX2ZO4wYW1cTOcu9OXgunrF5mrARQq/spk4cRcGp/yeA
-PaWyB0h/nsPXsgAwq9y4c/O2B/leM1IL9edYvnY+TcSTaf+YmQ6uw/jUEg5z2jvb
-/fOyiSf/H+S6Cf3FVQH/Cy1yjD5rOcDnfGST28M4RcK0odgWVS+3lF2EFKVnCGQ=
-=heTo
+iQEcBAEBCAAGBQJSQI7wAAoJEFpvPKfnPDWzXlEH+waxl6Dc+XROzTd59imf6bzH
+JTxjlP3Ac+2UUMMvEKd0EFvbL8E2U5Z+TB0U9DTZ1c4o+Biz3s9BqD9r8Je7JrxT
+rEa+I7M/gXwf84dFPAJsI7zpfIuuz+MrFND1Egufjf0RHTmor0pBPNJT/AH4QRXN
+eWUcQYPLaBFt9nmWk69wvhEUDTtWyu0hukX/GJGXQvBIWTSTAb8s0hsa1G60KDdl
+a5puZ2+oIWIFLnAbdn4BciKDOgO7UtmTqWijN96cOhl/h+QaY2lc8t8xp3oY1W+U
+2fDhANNV7mLK+hwopBdEDvJ12AGa4ZHQjUBkZajGttwVMQzuF+dTykgJqDCwW6I=
+=CCRx
-----END PGP SIGNATURE-----
diff --git a/games-strategy/openra/files/openra-20130915-make.patch b/games-strategy/openra/files/openra-20130915-make.patch
new file mode 100644
index 000000000000..0f54ea72c238
--- /dev/null
+++ b/games-strategy/openra/files/openra-20130915-make.patch
@@ -0,0 +1,25 @@
+From 0f3212f65b6672b58feaed98d2fecca01f4c25ab Mon Sep 17 00:00:00 2001
+From: Christoph Korn <c_korn@gmx.de>
+Date: Sun, 15 Sep 2013 15:34:09 +0200
+Subject: [PATCH] Makefile: Add geoip so it gets installed
+
+Without adding it to CORE it does not get installed and the game crashes.
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index e23ac09..41078e5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -54,7 +54,7 @@ INSTALL_PROGRAM = $(INSTALL) -m755
+ INSTALL_DATA = $(INSTALL) -m644
+
+ # program targets
+-CORE = fileformats rcg rgl rsdl rnull game utility
++CORE = fileformats rcg rgl rsdl rnull game utility geoip
+ TOOLS = editor tsbuild ralint
+
+ VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
+--
+1.8.4
diff --git a/games-strategy/openra/openra-20130915.ebuild b/games-strategy/openra/openra-20130915.ebuild
new file mode 100644
index 000000000000..d06056c96d42
--- /dev/null
+++ b/games-strategy/openra/openra-20130915.ebuild
@@ -0,0 +1,97 @@
+# 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-20130915.ebuild,v 1.1 2013/09/23 18:56:43 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 tools"
+
+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() {
+ epatch "${FILESDIR}"/${P}-make.patch
+
+ # register game-version
+ sed \
+ -e "/Version/s/{DEV_VERSION}/release-${PV}/" \
+ -i mods/{ra,cnc,d2k}/mod.yaml || die
+}
+
+src_compile() {
+ emake $(usex tools "all" "")
+}
+
+src_install() {
+ emake \
+ datadir="${GAMES_DATADIR}" \
+ bindir="${GAMES_BINDIR}" \
+ libdir="$(games_get_libdir)/${PN}" \
+ DESTDIR="${D}" \
+ $(usex tools "install-all" "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
+}