Diff hexchat-2.14.2 with a hexchat-9999

/usr/portage/net-irc/hexchat/hexchat-9999.ebuild 2019-04-17 11:12:00.000000000 +0000
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6 6
PYTHON_COMPAT=( python3_{5,6,7} )
7 7

  
8
inherit gnome2-utils meson mono-env python-single-r1 xdg-utils
8
inherit meson mono-env python-single-r1 xdg
9 9

  
10 10
DESCRIPTION="Graphical IRC client based on XChat"
11 11
HOMEPAGE="https://hexchat.github.io/"
......
24 24
IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua perl plugin-checksum plugin-fishlim plugin-sysinfo python ssl theme-manager"
25 25
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
26 26

  
27
COMMON_DEPEND="
27
RDEPEND="
28 28
	dev-libs/glib:2
29 29
	dbus? ( dev-libs/dbus-glib )
30 30
	gtk? (
......
51 51
		)
52 52
	)"
53 53

  
54
RDEPEND="${COMMON_DEPEND}"
55
DEPEND="
56
	${COMMON_DEPEND}
54
DEPEND="${RDEPEND}"
55
BDEPEND="
57 56
	dev-util/glib-utils
58 57
	app-arch/xz-utils
59 58
	app-text/iso-codes
......
100 99

  
101 100
pkg_preinst() {
102 101
	if use gtk ; then
103
		gnome2_icon_savelist
102
		xdg_pkg_preinst
104 103
	fi
105 104
}
106 105

  
107 106
pkg_postinst() {
108 107
	if use gtk ; then
109
		gnome2_icon_cache_update
110
		xdg_desktop_database_update
111
		xdg_mimeinfo_database_update
108
		xdg_pkg_postinst
112 109
	else
113 110
		elog "You have disabled the gtk USE flag. This means you don't have"
114 111
		elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
......
130 127

  
131 128
pkg_postrm() {
132 129
	if use gtk ; then
133
		gnome2_icon_cache_update
134
		xdg_desktop_database_update
135
		xdg_mimeinfo_database_update
130
		xdg_pkg_postrm
136 131
	fi
137 132
}
Thank you!