Diff grhino-0.16.1-r1 with a grhino-0.16.1-r2

/usr/portage/games-board/grhino/grhino-0.16.1-r2.ebuild 2019-04-11 19:09:00.000000000 +0300
1
# Copyright 1999-2016 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
......
11 11
LICENSE="GPL-2"
12 12
SLOT="0"
13 13
KEYWORDS="~amd64 ~x86"
14
IUSE="gnome gtp nls"
14
IUSE="nls"
15 15

  
16
RDEPEND="gnome? ( =gnome-base/libgnomeui-2* )
17
	nls? ( virtual/libintl )"
16
RDEPEND="
17
	nls? ( virtual/libintl )
18
"
18 19
DEPEND="${RDEPEND}
19
	nls? ( sys-devel/gettext )"
20
	nls? ( sys-devel/gettext )
21
"
20 22

  
21 23
src_prepare() {
22 24
	default
......
26 28
}
27 29

  
28 30
src_configure() {
29
	if use gnome || use gtp; then
30
		econf \
31
			--localedir=/usr/share/locale \
32
			$(use_enable gnome) \
33
			$(use_enable gtp) \
34
			$(use_enable nls)
35
	else
36
		econf \
37
			--localedir=/usr/share/locale \
38
			--enable-gtp \
39
			--disable-gnome \
40
			$(use_enable nls)
41
	fi
42
}
43

  
44
src_install() {
45
	default
46
	use gnome && make_desktop_entry ${PN} GRhino
31
	econf \
32
		--localedir=/usr/share/locale \
33
		--enable-gtp \
34
		--disable-gnome \
35
		$(use_enable nls)
47 36
}
Thank you!