Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/mt_gtk_client/, games-board/mt_gtk_client/files/
Date: Fri, 05 Aug 2016 00:23:20
Message-Id: 1470356560.4de463410f1d3d8065cdd89f2a303918c8ed5692.wizardedit@gentoo
1 commit: 4de463410f1d3d8065cdd89f2a303918c8ed5692
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 4 18:57:56 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 5 00:22:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de46341
7
8 games-board/mt_gtk_client: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 .../mt_gtk_client-0.1.98-formatsecurity.patch | 4 +--
17 .../mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild | 31 ++++++++++++++++++++++
18 2 files changed, 33 insertions(+), 2 deletions(-)
19
20 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
21 index 869e0ea..edf3358 100644
22 --- a/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
23 +++ b/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
24 @@ -1,5 +1,5 @@
25 ---- src/player.c.old 2015-10-14 21:52:59.453971198 +0200
26 -+++ src/player.c 2015-10-14 21:53:36.375289009 +0200
27 +--- a/src/player.c 2015-10-14 21:52:59.453971198 +0200
28 ++++ b/src/player.c 2015-10-14 21:53:36.375289009 +0200
29 @@ -52,7 +52,7 @@
30 {
31 player->nick[0] = g_string_new (config->gui_player_name->str);
32
33 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
34 new file mode 100644
35 index 0000000..b58f938
36 --- /dev/null
37 +++ b/games-board/mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild
38 @@ -0,0 +1,31 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +
45 +DESCRIPTION="client for the french tarot game maitretarot"
46 +HOMEPAGE="http://www.nongnu.org/maitretarot/"
47 +SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="gnome"
53 +
54 +DEPEND="dev-libs/glib:2
55 + dev-libs/libxml2
56 + dev-games/libmaitretarot
57 + dev-games/libmt_client
58 + gnome-base/libgnomeui
59 + x11-libs/gtk+:2"
60 +RDEPEND="${DEPEND}
61 + dev-games/cardpics"
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${P}-formatsecurity.patch
65 +)
66 +
67 +src_configure() {
68 + econf $(use_enable gnome gnome2)
69 +}