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