Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/hexchat/
Date: Wed, 13 Mar 2019 14:31:33
Message-Id: 1552487478.969af26cb901ff1c0de5e1b4e3b1dd23684bf47c.polynomial-c@gentoo
1 commit: 969af26cb901ff1c0de5e1b4e3b1dd23684bf47c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 13 14:29:43 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 13 14:31:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969af26c
7
8 net-irc/hexchat: Bumped live ebuild to EAPI-7
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-irc/hexchat/hexchat-9999.ebuild | 23 +++++++++--------------
14 1 file changed, 9 insertions(+), 14 deletions(-)
15
16 diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-9999.ebuild
17 index 7ef4db04615..1b4f2fa6067 100644
18 --- a/net-irc/hexchat/hexchat-9999.ebuild
19 +++ b/net-irc/hexchat/hexchat-9999.ebuild
20 @@ -1,11 +1,11 @@
21 -# Copyright 1999-2018 Gentoo Authors
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 PYTHON_COMPAT=( python3_{4,5,6,7} )
29
30 -inherit gnome2-utils meson mono-env python-single-r1 xdg-utils
31 +inherit meson mono-env python-single-r1 xdg
32
33 DESCRIPTION="Graphical IRC client based on XChat"
34 HOMEPAGE="https://hexchat.github.io/"
35 @@ -24,7 +24,7 @@ SLOT="0"
36 IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua perl plugin-checksum plugin-fishlim plugin-sysinfo python ssl theme-manager"
37 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
38
39 -COMMON_DEPEND="
40 +RDEPEND="
41 dev-libs/glib:2
42 dbus? ( dev-libs/dbus-glib )
43 gtk? (
44 @@ -51,9 +51,8 @@ COMMON_DEPEND="
45 )
46 )"
47
48 -RDEPEND="${COMMON_DEPEND}"
49 -DEPEND="
50 - ${COMMON_DEPEND}
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="
53 dev-util/glib-utils
54 app-arch/xz-utils
55 app-text/iso-codes
56 @@ -100,15 +99,13 @@ src_install() {
57
58 pkg_preinst() {
59 if use gtk ; then
60 - gnome2_icon_savelist
61 + xdg_pkg_preinst
62 fi
63 }
64
65 pkg_postinst() {
66 if use gtk ; then
67 - gnome2_icon_cache_update
68 - xdg_desktop_database_update
69 - xdg_mimeinfo_database_update
70 + xdg_pkg_postinst
71 else
72 elog "You have disabled the gtk USE flag. This means you don't have"
73 elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
74 @@ -130,8 +127,6 @@ pkg_postinst() {
75
76 pkg_postrm() {
77 if use gtk ; then
78 - gnome2_icon_cache_update
79 - xdg_desktop_database_update
80 - xdg_mimeinfo_database_update
81 + xdg_pkg_postrm
82 fi
83 }