public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julian Ospald" <hasufell@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/openra/
Date: Mon, 10 Aug 2015 00:01:53 +0000 (UTC)	[thread overview]
Message-ID: <1439164906.c1537bbcee03d1319b059a84a90f51931ec32212.hasufell@gentoo> (raw)

commit:     c1537bbcee03d1319b059a84a90f51931ec32212
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 00:01:30 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 00:01:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1537bbc

games-strategy/openra: version bump to 20150424, wrt #547684

Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=547684

 games-strategy/openra/Manifest               |  1 +
 games-strategy/openra/openra-20150424.ebuild | 92 ++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest
index e6a6a9f..432ef0a 100644
--- a/games-strategy/openra/Manifest
+++ b/games-strategy/openra/Manifest
@@ -4,3 +4,4 @@ DIST openra-20131223.tar.gz 10770453 SHA256 408943991ffbba3ac1269cdb88c6080bfd4a
 DIST openra-20140608.tar.gz 13536365 SHA256 cacfc1d96f856e63516263922e2c669e549358477d286f33f0828b0815502f96 SHA512 c13ea559b026a308eea6d1190633e25abee6f8272d23f97bf5edb02dfa82d1a65acea2927bf5e1090ab42cc260613aa9612cce4f118f4bbacd254b6cd5f070a6 WHIRLPOOL 4f5b9c8a5477eada39bc920d4d6f3271acc0dfb35f55d6a75509fd2e19570fad571aab45aa74a5addcb8f1f7a3d0c172f7aa1607804963dc510d52cd51b1bd48
 DIST openra-20140722.tar.gz 13894070 SHA256 55dbfdd2ab11f22d9618c15d874f4ab381185dd99d830f03982fc284c71b9dd4 SHA512 d85345057da1b1dc02a47b5923b0bd28d57713d0e8b180aee113d956559850751f0b8c4a900d0802b2f1992039d3b6a55f51d4a64392b7ba554f5f1fe3ad1fda WHIRLPOOL 6ee575d74b2fdc83bd7ad3c5f75d3bde45490bc398fb22a7981794b3bce65c18200d3cd6252eb4a8f9af81bc9126fb5a99f260feaf5f23e4833147dfed3387dc
 DIST openra-20141029.tar.gz 15340674 SHA256 4c3f8224a7ad9d3cb78c3ce2696850246ba0d9703cbd91bf5a42806b09c26a36 SHA512 44594ec3c3a590ae29b0291fdf2292c72ba920dff7892cc269e729a161505c4bc0c5c682bf3c6d3cabb0cdebfa3cac5975eeeeec3f5a673e948ed28132c4a313 WHIRLPOOL 39e4585500c9963b02e42d62829bbc258d83b0050e56f56a90da8292d0c31b0c2d5d68c8eefb8bba22ac1dc719671cee7b7ffe9909bbd9d4d146982108c6e530
+DIST openra-20150424.tar.xz 12507176 SHA256 f6ed73693f1d6defce61f0fcf86deae9505cb2f798eb7844e71a3d70acafdfb7 SHA512 e720459f0882c4eadf7dcfee18968e8f4e9759f7e0c463b06efe2b68001a69c5d41b4d2c5aa43e974e00e66074a6d3efd110e588e1c49c38ce555cb7a9d18dca WHIRLPOOL 9aa16803386eeadfc5b15dcb0075bf351f633c249d58fc21aab9a4e46d349aac933c0bec64cc0df12003a06ac8f03f486579c3b93cf830e28135c6ef97349264

diff --git a/games-strategy/openra/openra-20150424.ebuild b/games-strategy/openra/openra-20150424.ebuild
new file mode 100644
index 0000000..38e937e
--- /dev/null
+++ b/games-strategy/openra/openra-20150424.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils mono-env gnome2-utils fdo-mime vcs-snapshot games
+
+DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert"
+HOMEPAGE="http://www.openra.net/"
+SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tools"
+
+LUA_V=5.1.5
+DEPEND="dev-dotnet/libgdiplus
+	~dev-lang/lua-${LUA_V}:0
+	dev-lang/mono
+	media-libs/freetype:2
+	media-libs/libsdl2[opengl,video]
+	media-libs/openal
+	virtual/opengl"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	mono-env_pkg_setup
+	games_pkg_setup
+}
+
+src_unpack() {
+	vcs-snapshot_src_unpack
+}
+
+src_configure() { :; }
+
+src_prepare() {
+	# register game-version
+	emake VERSION="${PV}" version
+	sed \
+		-e "s/@LIBLUA51@/liblua.so.${LUA_V}/" \
+		thirdparty/Eluant.dll.config.in > Eluant.dll.config || die
+}
+
+src_compile() {
+	emake VERSION="${PV}" $(usex tools "all" "")
+	emake VERSION="${PV}" docs
+}
+
+src_install() {
+	emake \
+		datadir="/usr/share" \
+		bindir="${GAMES_BINDIR}" \
+		libdir="$(games_get_libdir)" \
+		VERSION="${PV}" \
+		DESTDIR="${D}" \
+		$(usex tools "install-all" "install") install-linux-scripts install-linux-mime install-linux-icons
+
+	exeinto "$(games_get_libdir)/openra"
+	doexe Eluant.dll.config
+
+	# desktop entries
+	make_desktop_entry "${PN} Game.Mods=cnc" "OpenRA CNC" ${PN}
+	make_desktop_entry "${PN} Game.Mods=ra" "OpenRA RA" ${PN}
+	make_desktop_entry "${PN} Game.Mods=d2k" "OpenRA Dune2k" ${PN}
+	make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN}
+
+	dodoc "${FILESDIR}"/README.gentoo README.md CONTRIBUTING.md AUTHORS \
+		DOCUMENTATION.md Lua-API.md
+
+	prepgamesdirs
+}
+
+pkg_preinst() {
+	games_pkg_preinst
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	games_pkg_postinst
+	gnome2_icon_cache_update
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+}


             reply	other threads:[~2015-08-10  0:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10  0:01 Julian Ospald [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-10 18:49 [gentoo-commits] repo/gentoo:master commit in: games-strategy/openra/ Julian Ospald
2015-08-11  0:48 Julian Ospald
2015-08-11  0:48 Julian Ospald
2015-10-18 17:04 Julian Ospald
2016-05-24 19:52 Michael Sterrett
2016-11-20  8:53 Michael Palimaka
2017-12-21  1:57 David Seifert
2019-12-28 23:43 James Le Cuirot
2021-01-17  7:49 Sam James
2021-01-17  7:51 Sam James
2021-03-26 19:46 Conrad Kostecki
2021-04-12 22:50 Sam James
2023-10-26 13:48 Maciej Barć
2023-12-27  1:20 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439164906.c1537bbcee03d1319b059a84a90f51931ec32212.hasufell@gentoo \
    --to=hasufell@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox