1 |
commit: 5d234dd26ba360a840e5f0a1adab777329ca8eac |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 29 17:55:07 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 17:55:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d234dd2 |
7 |
|
8 |
games-board/xmahjongg: 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 |
games-board/xmahjongg/xmahjongg-3.7-r1.ebuild | 32 +++++++++++++++++++++++++++ |
17 |
1 file changed, 32 insertions(+) |
18 |
|
19 |
diff --git a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 0000000..0bde359 |
22 |
--- /dev/null |
23 |
+++ b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild |
24 |
@@ -0,0 +1,32 @@ |
25 |
+# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=5 |
30 |
+inherit eutils |
31 |
+ |
32 |
+DESCRIPTION="friendly GUI version of xmahjongg" |
33 |
+HOMEPAGE="http://www.lcdf.org/xmahjongg/" |
34 |
+SRC_URI="http://www.lcdf.org/xmahjongg/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~mips ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
39 |
+IUSE="" |
40 |
+ |
41 |
+RDEPEND="x11-libs/libX11" |
42 |
+DEPEND="${RDEPEND} |
43 |
+ x11-libs/libXt" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ sed -i \ |
48 |
+ -e '/X_PRE_LIBS/s:-lSM -lICE::' \ |
49 |
+ configure || die |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ default |
54 |
+ newicon share/tiles/small.gif ${PN}.gif |
55 |
+ make_desktop_entry xmahjongg "Xmahjongg" /usr/share/pixmaps/${PN}.gif |
56 |
+} |