summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2012-04-01 17:22:58 +0000
committerThomas Sachau <tommy@gentoo.org>2012-04-01 17:22:58 +0000
commit85a33e31a3755cd0d8c93805bbd4720478aaabd6 (patch)
tree6220322a6c69da7fdc81392cb0a36d10d45bcb8f /games-strategy
parentapp-misc/shelr: Change header back to default license (diff)
downloadsunrise-85a33e31a3755cd0d8c93805bbd4720478aaabd6.tar.gz
sunrise-85a33e31a3755cd0d8c93805bbd4720478aaabd6.tar.bz2
sunrise-85a33e31a3755cd0d8c93805bbd4720478aaabd6.zip
games-strategy/openra: hasufell: add a sed-call otherwise the game does not report any version when creating a server
svn path=/sunrise/; revision=12899
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/openra/ChangeLog5
-rw-r--r--games-strategy/openra/Manifest4
-rw-r--r--games-strategy/openra/openra-0_pre20120304.ebuild7
3 files changed, 14 insertions, 2 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog
index 269738ec7..e8b406ea4 100644
--- a/games-strategy/openra/ChangeLog
+++ b/games-strategy/openra/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 01 Apr 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ openra-0_pre20120304.ebuild:
+ hasufell: add a sed-call otherwise the game does not report any version when
+ creating a server
+
31 Mar 2012; hasufell <julian.ospald@googlemail.com>
files/openra-0_pre20120304-makefile.patch:
fix typo
diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest
index 5edb9cdb0..08367d3e6 100644
--- a/games-strategy/openra/Manifest
+++ b/games-strategy/openra/Manifest
@@ -3,6 +3,6 @@ AUX openra-cnc.desktop 179 RMD160 37515323230b95ea3f9ae55b8583a6b485eb84f4 SHA1
AUX openra-editor.desktop 147 RMD160 1b71e5a6d3c67349c874bd62d2884249fbe6573f SHA1 03c302358840fb2e7988dcae5b5d5d2639c3e65d SHA256 be65ea2c5548662ce0ee5d9863f26fac0c0626dc712bb1c1e6ff6a6af064621d
AUX openra-ra.desktop 169 RMD160 c625dc42ef786f4fab61f510b495459ecf18f8aa SHA1 264747729e1c83bd24ea4b7cd884c3ea1479ddad SHA256 f6ca60a25bc66619d83a0bf93d990f338299ef42e54a4c3eb237239057b08686
DIST openra-0_pre20120304.tar.gz 10302208 RMD160 6806fc50ec48b91da48b51b349d45976e89e59c0 SHA1 0561e3725af61a10ee0ff0bc1b542e3a24feb9df SHA256 4713db425c817ff9addbbc20c8d37f48f57ad0df6796707b75c27bd1b62d0aea
-EBUILD openra-0_pre20120304.ebuild 1835 RMD160 55f42e096fdd241c6b77d455dba6b7ec3e6dbfe7 SHA1 c5e344c5e9a2e8fd946f5068d79371e2cd5c212d SHA256 379d4ae86f2342127c5566066106fe85456195316733ccf85bf401babe160c72
-MISC ChangeLog 533 RMD160 fd23544f297a8393fc85a8199a54f19b56fde360 SHA1 31f46f47415797cdb70cbf9c36e5ecc31afec4bb SHA256 bba12b516b23ce988495452852608f08cfb4d0595437e2d666a1444625143d72
+EBUILD openra-0_pre20120304.ebuild 1974 RMD160 17b04486061993816c128297b90916fcd07abcad SHA1 dd5dc6bc60e141fbb46fdba6b1db78756376c129 SHA256 b52d52c1ca118129ab1f256126910f28b50b9fad759ec3990a7f01ce6960aff7
+MISC ChangeLog 723 RMD160 6f875166003d295393f8bf3d8d272e63c4f21b8f SHA1 beac6b26264547f98470e6fab017d11736162ca8 SHA256 2c37190e603f66a58778077de14f61c6f9a3dbcefa33b2c1b7b756de9c0e0a67
MISC metadata.xml 277 RMD160 deef251b1089c0d0655fdbf52772c18f013c3786 SHA1 0c0b2d64253140602f55f3a9f253d15bf3feac45 SHA256 3706bb4995873a3063e6224888dee01cde0df6f2522f745b2d38ebcc7db0cd2f
diff --git a/games-strategy/openra/openra-0_pre20120304.ebuild b/games-strategy/openra/openra-0_pre20120304.ebuild
index cea21e198..352a307ec 100644
--- a/games-strategy/openra/openra-0_pre20120304.ebuild
+++ b/games-strategy/openra/openra-0_pre20120304.ebuild
@@ -6,6 +6,8 @@ EAPI=3
inherit eutils mono gnome2-utils games
+MY_PV=${PV#*pre}
+
DESCRIPTION="A Libre/Free RTS engine supporting early Westwood games like Command & Conquer and Red Alert"
HOMEPAGE="http://open-ra.org/"
SRC_URI="http://badading.googlecode.com/files/${P}.tar.gz"
@@ -36,6 +38,11 @@ src_prepare() {
-i ${PN}-{cnc,ra}.desktop \
|| die "setting default renderer in desktop file failed"
fi
+
+ # register game-version
+ sed \
+ -e "/Version/s/{DEV_VERSION}/release-${MY_PV}/" \
+ -i mods/{ra,cnc}/mod.yaml || die
}
src_install() {