summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/openra/ChangeLog7
-rw-r--r--games-strategy/openra/Manifest18
-rw-r--r--games-strategy/openra/openra-20121019.ebuild86
3 files changed, 102 insertions, 9 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog
index 38774fe5f8a3..565cda878fb0 100644
--- a/games-strategy/openra/ChangeLog
+++ b/games-strategy/openra/ChangeLog
@@ -1,6 +1,11 @@
# 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.8 2012/07/29 11:57:32 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.9 2012/10/21 00:09:36 hasufell Exp $
+
+*openra-20121019 (21 Oct 2012)
+
+ 21 Oct 2012; Julian Ospald <hasufell@gentoo.org> +openra-20121019.ebuild:
+ version bump
29 Jul 2012; Julian Ospald <hasufell@gentoo.org> openra-20120630.ebuild:
minor fix to elog
diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest
index 687b4cc635c4..5f79b8dd16e8 100644
--- a/games-strategy/openra/Manifest
+++ b/games-strategy/openra/Manifest
@@ -4,17 +4,19 @@ Hash: SHA256
AUX README.gentoo 4754 SHA256 fe5d3a65472701fdfa44fe3e27aad694a13881932f75dbbba5c1fc3464ca006f SHA512 423c2682c3a9e69ccb078399ffec2ed2cb4bf1445c86db730756457e65f90d6f56c80e09b4f5e0b0eb0501a2a692d7d2add3847f77794aaf7555574a76c75392 WHIRLPOOL 1b3a698506170f86926548ee28cd9bccb3438f39baa961a47e26dad2c3f18c31df609c7dfbb46a89237c134c264c886417143fc5cfd1dccaaedf4b931f1d0b2e
AUX openra-20120630-sound.patch 616 SHA256 6270dee1ead19c3abefdd1f3742cffbc0af9675f50d8fbcef5a0fb1a856ce16a SHA512 a6d04128fa53cdb70bb6d5de0b529ed283349c3748b3d3d455462f9ec6e3e5defeb49dede887072f52ffe4025b5f43ade42c66708a2deeacd82f06e1b1d68f1c WHIRLPOOL ff14e623e1e0daba621ab9eb701c3665bef32ef2bd838ddf22e181885ab1245f02b5c6f4fca3de95c12bc250ff1588eb1b0becd3897df8a2261d1ab66be9de65
DIST openra-20120630.tar.gz 10330304 SHA256 f95b9d41ea4b4094ea61519f6fb0185fa242af156e2ec26dc1f2d55197470a3c SHA512 ab5996a3f48d8be227edc029d3fa7948a80756a64bca65d1936c3f4480ef5258cb62365d079cc28ba2be59796db91326c4f8c8d500ea4d2bbf3a8439d783fceb WHIRLPOOL 390b5fa57ef322e6204a23006fc3a7755178d28e115fd52fa4ca5b46ecf58f8df61b44a90ba2fe143a7fadd0be42aaf3488c3b938eaea11171636b562dfe344d
+DIST openra-20121019.tar.gz 11338976 SHA256 016dd79f759c539889c290e7bd90b3faa92e88c35c6cd20789803b30135978e9 SHA512 199a88b2a34c05787e1d5ebced15975c76b2fb45d70c613db679e7faaa158942a7ddc842ff8e0f912e4e70beb3dab4f281e62dee76899fc67582ec8c067b3556 WHIRLPOOL bf694d4e94d35dd31343b127e7c4855b3bcf56cd6559d5f6a3c3f4ee9e40f627880e79ba599d5929d8c5b49643b93c09ee9d55f35c426d08526736190a9029a2
EBUILD openra-20120630.ebuild 2012 SHA256 efc3d45808ea5b8ea60313940c185344a86e954675018e5eebef5eb87814d8a3 SHA512 2d950f0bb367d35fcd3c1e49bd8b9a56bce250f88e0625fbcf1f49bdc86e51b32be21733688321d8cf835f0ee5b2a64ec9bbccf2c335b93e94c3bacb7b211dff WHIRLPOOL eb8e5dd7226f1f454b3ec5ec532310e50dfa72a75bff44e6805ed21b2f5d75201d10742d247345713011ad9c6fc3ef789390c80d13781078df690b16c4022ceb
-MISC ChangeLog 1247 SHA256 e1e25b1a5b3672cd9d755295f9b924684523bf4dd627f96194cc94d85a9df8d9 SHA512 0c0b656da792056a80b81fe2d17d03614db256ca54ffdf309dfc9e2d814175ce75b31f6de3d38d2abb2d69ecd88870d9cc8fc96215c86513aa080482b1bc963c WHIRLPOOL f1a378aef8e384a586256e90ce8f0e33cecdedbc5264e29ee15febc8b1ee37314f9ea8e09abe87025710382099046271834e40fe4b053d9d9c6e2699b482c766
+EBUILD openra-20121019.ebuild 2077 SHA256 e3b410082afc149df0178fe3d8df1641228b3d3e43bff0bf06947111ce88c924 SHA512 cbb4718867630383d9a5507967767f75821f2c4a98a3e578cacfec8d672b99ea1535b6701aa4ea32f8c7c0e2eba88a26f7ef6d86a0d4fa862cd48748c4b3e73d WHIRLPOOL 04693e8f80b3186249cdfcdc49c0f840ff17445ebaa991eb223ef04919ab0414ed203e053506fd5f1c35b0d4997b98808106ae13bb959175e1fb5cc41c76a579
+MISC ChangeLog 1371 SHA256 5827690576e89002940cc7ab7be967e448cd9b19f1888ddb9dc6b759e0b8f834 SHA512 a2733fbb57b98b280ea4485278a85e9611bc5405fc4d7e2303c1656d5cce87dc6e1803aa3ad0c5e88f2786c0d651c5da2d5b5b952f3201147a4bd742963405bd WHIRLPOOL 6484231c723a8446b7b4e5ba8e5fe3a9d2ccc4d712030f94112c45dac58d21b5a36d5da1fbc2c832135d09c2908317ef5444dbcff30e29fd1dc7a318e041c821
MISC metadata.xml 704 SHA256 ffa6beb55a8b860f6e487cd8cb6bcba42a1af4b582358b210c803d299e616555 SHA512 732c93ca0d1232c0ae94838cde14fc062a4ec946ddb4ad0016980dfed8cc9cb619d4a5bfdaad137fe9b0d258aa49d1f730e291c66b85b8e2855afb6f4b678567 WHIRLPOOL a99de5811e0e10f9bdf4056d8a42bacc6d412be4d98053ec3e2bb9410abbe155dd083fe0ec9fd4c6682e5d4e5d3994768436c35299b9c204e683c7580e075e56
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQFSQxAAoJEFpvPKfnPDWzq7MH/3jAUhrbKF/46MG++/yytwF3
-3wt182KU9xmG47BAMeG4Z9DnndW2OzjuD0pXXYZt8xSQgTtnUJuzFld0CIx9t6a4
-KNWOeKMFRn9I5vXbzDAzIgD8wePaEWS8cS1Df1pHnZ4QAdbNT1RJviKRsX30diAK
-i61N3VZWt529tPRTnakrxSeVbLSbg+awHGC1b3GQ23y0/uDUPxdSBfu/7Z+TP/IL
-WL1IyauF9wq/WD5eVNjIcN2E8VDGmoSNJFA/7om6AgVBUTpvghCL1+A4nQEBO+tK
-wKAEs/GRUW6HiZId+QTeyQKbp9CoM1KzCPBI+mnPku6PoBhdNz1br9J0nGftcx0=
-=3V3D
+iQEcBAEBCAAGBQJQgz1EAAoJEFpvPKfnPDWzYC0H/2AZwU4euxdrGc9gfDtw9wvm
+6EwLQMIL3PxxdVdwLaiRejhzl2HQjpRAmAZIixQmmoHyw+W3StVOOuK4Wfdz/Jhn
+6ZfrpG+YKJhSNK7hNPX6mHl3kQqLxFn9ULvxW9QD5BiA/jXDzsHcJk/m05U503I1
+ScRvpYQhrapzmjXUEBGesHNAaqHT+uzUWtxA8LTnA6WaMVh6EsYJuGqC4AgwSpCR
+HOh2KHhzyLiYDtGNlVihSkoXKY1yvNVD03DSbf9dRY3lpa17YTPV4OHYCXrUKNIC
+/+tIkzyrwpWPxs2LjOtD7ZuApYNVXrcJH58IXIoJYuyx/qHyYakZBQubO9kjXgQ=
+=cNJv
-----END PGP SIGNATURE-----
diff --git a/games-strategy/openra/openra-20121019.ebuild b/games-strategy/openra/openra-20121019.ebuild
new file mode 100644
index 000000000000..98596cf8e56f
--- /dev/null
+++ b/games-strategy/openra/openra-20121019.ebuild
@@ -0,0 +1,86 @@
+# 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-20121019.ebuild,v 1.1 2012/10/21 00:09:36 hasufell Exp $
+
+EAPI=4
+
+inherit eutils mono 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}"
+
+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_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 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
+}