1 |
commit: cb7fa0cc7dd9a151f5d2fd7aad4e00206cd16306 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 4 19:06:46 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 00:22:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7fa0cc |
7 |
|
8 |
games-board/maitretarot: 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 |
.../files/maitretarot-0.1.98-format.patch | 4 ++-- |
17 |
.../maitretarot/maitretarot-0.1.98-r1.ebuild | 27 ++++++++++++++++++++++ |
18 |
2 files changed, 29 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/games-board/maitretarot/files/maitretarot-0.1.98-format.patch b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch |
21 |
index b3ff1fe..d7b5ca5 100644 |
22 |
--- a/games-board/maitretarot/files/maitretarot-0.1.98-format.patch |
23 |
+++ b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch |
24 |
@@ -1,5 +1,5 @@ |
25 |
---- src/game.c.old 2015-12-16 21:59:49.400430743 +0100 |
26 |
-+++ src/game.c 2015-12-16 21:59:11.085058332 +0100 |
27 |
+--- a/src/game.c 2015-12-16 21:59:49.400430743 +0100 |
28 |
++++ b/src/game.c 2015-12-16 21:59:11.085058332 +0100 |
29 |
@@ -642,7 +642,7 @@ |
30 |
(game, prev_winner, c, ((i + prev_winner) % 4), |
31 |
game->players[((i + prev_winner) % 4)]->turn, &err)) |
32 |
|
33 |
diff --git a/games-board/maitretarot/maitretarot-0.1.98-r1.ebuild b/games-board/maitretarot/maitretarot-0.1.98-r1.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..8d4c976 |
36 |
--- /dev/null |
37 |
+++ b/games-board/maitretarot/maitretarot-0.1.98-r1.ebuild |
38 |
@@ -0,0 +1,27 @@ |
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="server 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="" |
53 |
+ |
54 |
+DEPEND="dev-libs/glib:2 |
55 |
+ dev-libs/libxml2 |
56 |
+ dev-games/libmaitretarot" |
57 |
+RDEPEND=${DEPEND} |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-format.patch |
61 |
+) |
62 |
+ |
63 |
+src_configure() { |
64 |
+ econf --with-default-config-file="/etc/maitretarotrc.xml" |
65 |
+} |