commit:     4de463410f1d3d8065cdd89f2a303918c8ed5692
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 18:57:56 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 00:22:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de46341

games-board/mt_gtk_client: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 .../mt_gtk_client-0.1.98-formatsecurity.patch      |  4 +--
 .../mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild   | 31 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git 
a/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch 
b/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
index 869e0ea..edf3358 100644
--- a/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
+++ b/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
@@ -1,5 +1,5 @@
---- src/player.c.old   2015-10-14 21:52:59.453971198 +0200
-+++ src/player.c       2015-10-14 21:53:36.375289009 +0200
+--- a/src/player.c     2015-10-14 21:52:59.453971198 +0200
++++ b/src/player.c     2015-10-14 21:53:36.375289009 +0200
 @@ -52,7 +52,7 @@
  {
    player->nick[0] = g_string_new (config->gui_player_name->str);

diff --git a/games-board/mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild 
b/games-board/mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild
new file mode 100644
index 0000000..b58f938
--- /dev/null
+++ b/games-board/mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="client for the french tarot game maitretarot"
+HOMEPAGE="http://www.nongnu.org/maitretarot/";
+SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+DEPEND="dev-libs/glib:2
+       dev-libs/libxml2
+       dev-games/libmaitretarot
+       dev-games/libmt_client
+       gnome-base/libgnomeui
+       x11-libs/gtk+:2"
+RDEPEND="${DEPEND}
+       dev-games/cardpics"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-formatsecurity.patch
+)
+
+src_configure() {
+       econf $(use_enable gnome gnome2)
+}

Reply via email to