Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/hexchat: hexchat-2.10.2.ebuild ChangeLog
Date: Sun, 30 Nov 2014 15:12:02
Message-Id: 20141130151157.6E596B3A4@oystercatcher.gentoo.org
1 hasufell 14/11/30 15:11:57
2
3 Modified: ChangeLog
4 Added: hexchat-2.10.2.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
9
10 Revision Changes Path
11 1.110 net-irc/hexchat/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?rev=1.110&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?rev=1.110&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?r1=1.109&r2=1.110
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v
20 retrieving revision 1.109
21 retrieving revision 1.110
22 diff -u -r1.109 -r1.110
23 --- ChangeLog 21 Nov 2014 12:28:37 -0000 1.109
24 +++ ChangeLog 30 Nov 2014 15:11:57 -0000 1.110
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-irc/hexchat
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.109 2014/11/21 12:28:37 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.110 2014/11/30 15:11:57 hasufell Exp $
30 +
31 +*hexchat-2.10.2 (30 Nov 2014)
32 +
33 + 30 Nov 2014; Julian Ospald <hasufell@g.o> +hexchat-2.10.2.ebuild:
34 + version bump
35
36 21 Nov 2014; Tobias Klausmann <klausman@g.o> hexchat-2.10.1.ebuild:
37 Stable on alpha, bug 521048
38
39
40
41 1.1 net-irc/hexchat/hexchat-2.10.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/hexchat-2.10.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/hexchat-2.10.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hexchat-2.10.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.10.2.ebuild,v 1.1 2014/11/30 15:11:57 hasufell Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
55 inherit eutils fdo-mime gnome2-utils mono-env multilib python-single-r1
56
57 DESCRIPTION="Graphical IRC client based on XChat"
58 HOMEPAGE="http://hexchat.github.io/"
59 SRC_URI="https://dl.hexchat.net/hexchat/${P}.tar.xz"
60
61 LICENSE="GPL-2 plugin-fishlim? ( MIT )"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
64 IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager"
65 REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
66
67 DEPEND="dev-libs/glib:2
68 dbus? ( >=dev-libs/dbus-glib-0.98 )
69 gtk? ( x11-libs/gtk+:2 )
70 libcanberra? ( media-libs/libcanberra )
71 libproxy? ( net-libs/libproxy )
72 libnotify? ( x11-libs/libnotify )
73 nls? ( virtual/libintl )
74 ntlm? ( net-libs/libntlm )
75 plugins? (
76 perl? ( >=dev-lang/perl-5.8.0 )
77 plugin-sysinfo? ( sys-apps/pciutils )
78 python? ( ${PYTHON_DEPS} )
79 )
80 spell? ( app-text/iso-codes )
81 ssl? ( dev-libs/openssl:0 )
82 theme-manager? ( dev-lang/mono )"
83 RDEPEND="${DEPEND}
84 spell? ( app-text/enchant )"
85 DEPEND="${DEPEND}
86 app-arch/xz-utils
87 virtual/pkgconfig
88 nls? ( dev-util/intltool )
89 theme-manager? ( dev-util/monodevelop )"
90
91 pkg_setup() {
92 use plugins && use python && python-single-r1_pkg_setup
93 if use theme-manager ; then
94 mono-env_pkg_setup
95 export XDG_CACHE_HOME="${T}/.cache"
96 fi
97
98 if use !plugins ; then
99 local myplugins
100
101 use perl && myplugins+="perl\n"
102 use python && myplugins+="python\n"
103 use plugin-checksum && myplugins+="plugin-checksum\n"
104 use plugin-doat && myplugins+="plugin-doat\n"
105 use plugin-fishlim && myplugins+="plugin-fishlim\n"
106 use plugin-sysinfo && myplugins+="plugin-sysinfo\n"
107
108 if [[ ${myplugins} ]] ; then
109 ewarn "The following plugins/interfaces have been disabled, because"
110 ewarn "\"plugins\" USE flag is disabled. Check metadata.xml"
111 ewarn "to get more information or run \"equery u hexchat\"."
112 ewarn "\n${myplugins}"
113 fi
114 fi
115 }
116
117 src_prepare() {
118 epatch_user
119 }
120
121 src_configure() {
122 econf \
123 $(use_enable nls) \
124 $(use_enable libproxy socks) \
125 $(use_enable ipv6) \
126 $(use_enable ssl openssl) \
127 $(use_enable gtk gtkfe) \
128 $(use_enable !gtk textfe) \
129 $(usex plugins \
130 "$(usex python "--enable-python=${EPYTHON}" "--disable-python")" \
131 "--disable-python" \
132 ) \
133 $(usex plugins \
134 "$(use_enable perl)" \
135 "--disable-perl" \
136 ) \
137 $(use_enable plugins plugin) \
138 $(usex plugins \
139 "$(use_enable plugin-checksum checksum)" \
140 "--disable-checksum" \
141 ) \
142 $(usex plugins \
143 "$(use_enable plugin-doat doat)" \
144 "--disable-doat" \
145 ) \
146 $(usex plugins \
147 "$(use_enable plugin-fishlim fishlim)" \
148 "--disable-fishlim" \
149 ) \
150 $(usex plugins \
151 "$(use_enable plugin-sysinfo sysinfo)" \
152 "--disable-sysinfo" \
153 ) \
154 $(use_enable dbus) \
155 $(use_enable libnotify) \
156 $(use_enable libcanberra) \
157 $(use_enable ntlm) \
158 $(use_enable libproxy) \
159 $(use_enable spell isocodes) \
160 --enable-minimal-flags \
161 $(use_with theme-manager)
162 }
163
164 src_install() {
165 emake DESTDIR="${D}" \
166 UPDATE_ICON_CACHE=true \
167 UPDATE_MIME_DATABASE=true \
168 UPDATE_DESKTOP_DATABASE=true \
169 install
170 dodoc readme.md
171 prune_libtool_files --all
172 }
173
174 pkg_preinst() {
175 if use gtk ; then
176 gnome2_icon_savelist
177 fi
178 }
179
180 pkg_postinst() {
181 if use gtk ; then
182 gnome2_icon_cache_update
183 einfo
184 else
185 einfo
186 elog "You have disabled the gtk USE flag. This means you don't have"
187 elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
188 elog
189 fi
190
191 if use theme-manager ; then
192 fdo-mime_desktop_database_update
193 fdo-mime_mime_database_update
194 elog "Themes are available at:"
195 elog " http://hexchat.org/themes.html"
196 elog
197 fi
198
199 einfo
200 elog "optional dependencies:"
201 elog " media-sound/sox (sound playback if you don't have libcanberra"
202 elog " enabled)"
203 elog " x11-plugins/hexchat-javascript (javascript support)"
204 elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
205 elog " needs libcanberra enabled)"
206 einfo
207 }
208
209 pkg_postrm() {
210 if use gtk ; then
211 gnome2_icon_cache_update
212 fi
213
214 if use theme-manager ; then
215 fdo-mime_desktop_database_update
216 fdo-mime_mime_database_update
217 fi
218 }