public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/openmortal/, games-arcade/openmortal/files/
@ 2018-04-22 19:48 Pacho Ramos
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2018-04-22 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     b43b5a0f17af85035c37ba39871b1907fe839c2c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 19:47:56 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 19:48:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43b5a0f

games-arcade/openmortal: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../openmortal/files/openmortal-0.7-gcc41.patch    |  4 +--
 games-arcade/openmortal/openmortal-0.7-r2.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch
index 1c10ce2ba3d..2620c153e83 100644
--- a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch
+++ b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch
@@ -1,5 +1,5 @@
---- src/OnlineChat.cpp.old
-+++ src/OnlineChat.cpp
+--- a/src/OnlineChat.cpp.old
++++ b/src/OnlineChat.cpp
 @@ -56,7 +56,7 @@
  class CChallengeMenu: public Menu
  {

diff --git a/games-arcade/openmortal/openmortal-0.7-r2.ebuild b/games-arcade/openmortal/openmortal-0.7-r2.ebuild
new file mode 100644
index 00000000000..025e21b639f
--- /dev/null
+++ b/games-arcade/openmortal/openmortal-0.7-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools desktop
+
+DESCRIPTION="A spoof of the famous Mortal Kombat game"
+HOMEPAGE="http://openmortal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]
+	media-libs/sdl-image
+	media-libs/sdl-mixer
+	media-libs/sdl-ttf
+	media-libs/sdl-net
+	>=media-libs/freetype-2.4.0:2
+	dev-lang/perl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eapply \
+		"${FILESDIR}/${P}"-gcc41.patch \
+		"${FILESDIR}/${P}"-freetype.patch
+	mv configure.{in,ac} || die
+	eautoreconf
+}
+
+src_install() {
+	default
+	newicon data/gfx/icon.png ${PN}.png
+	make_desktop_entry ${PN} OpenMortal
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-22 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 19:48 [gentoo-commits] repo/gentoo:master commit in: games-arcade/openmortal/, games-arcade/openmortal/files/ Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox