games-board/mt_gtk_client: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Thu, 4 Aug 2016 18:57:56 +0000 (13:57 -0500)
committerAustin English <wizardedit@gentoo.org>
Fri, 5 Aug 2016 00:22:40 +0000 (19:22 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
games-board/mt_gtk_client/mt_gtk_client-0.1.98-r1.ebuild [new file with mode: 0644]

index 869e0ea8220ba638f6b0de9559588ad540319e87..edf33585b810d565fec834c7c1377b61f014e962 100644 (file)
@@ -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 (file)
index 0000000..b58f938
--- /dev/null
@@ -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)
+}