1 |
commit: 437277baea869281de79cba4936a15ff0388bb86 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 11 15:46:32 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 15:48:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437277ba |
7 |
|
8 |
games-board/grhino: Disable optional libgnome2 support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/608432 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
games-board/grhino/grhino-0.16.1-r2.ebuild | 36 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/games-board/grhino/grhino-0.16.1-r2.ebuild b/games-board/grhino/grhino-0.16.1-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..004aa040e4f |
20 |
--- /dev/null |
21 |
+++ b/games-board/grhino/grhino-0.16.1-r2.ebuild |
22 |
@@ -0,0 +1,36 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+inherit eutils |
28 |
+ |
29 |
+DESCRIPTION="Reversi game for GNOME, supporting the Go/Game Text Protocol" |
30 |
+HOMEPAGE="http://rhino.sourceforge.net/" |
31 |
+SRC_URI="mirror://sourceforge/rhino/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="nls" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ nls? ( virtual/libintl ) |
40 |
+" |
41 |
+DEPEND="${RDEPEND} |
42 |
+ nls? ( sys-devel/gettext ) |
43 |
+" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ |
48 |
+ sed -i '/^(\|locale\|help\|omf\|icon\|)/s:@datadir@:/usr/share:' \ |
49 |
+ Makefile.in || die |
50 |
+} |
51 |
+ |
52 |
+src_configure() { |
53 |
+ econf \ |
54 |
+ --localedir=/usr/share/locale \ |
55 |
+ --enable-gtp \ |
56 |
+ --disable-gnome \ |
57 |
+ $(use_enable nls) |
58 |
+} |