1 |
commit: a4418df56ab323110b0362616dc747b200236ae2 |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 30 20:38:12 2014 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 30 20:38:12 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=dev/anarchy.git;a=commit;h=a4418df5 |
7 |
|
8 |
Version bump, misc bug fixes |
9 |
|
10 |
--- |
11 |
net-irc/hexchat/Manifest | 2 + |
12 |
net-irc/hexchat/hexchat-2.10.2.ebuild | 171 ++++++++++++++++++++++++++++++++++ |
13 |
2 files changed, 173 insertions(+) |
14 |
|
15 |
diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..7ff6f39 |
18 |
--- /dev/null |
19 |
+++ b/net-irc/hexchat/Manifest |
20 |
@@ -0,0 +1,2 @@ |
21 |
+DIST hexchat-2.10.2.tar.xz 1529732 SHA256 87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c SHA512 799be6ca02d4f7bad98c005e0fb7dba151717b52841d7f2dd3ed86b80a20de934825a1e58aab4621ac751a605103e68e368a95e9709c48f52b9e5333e5e290ab WHIRLPOOL 5d8dcd59941a145544bbde2e761db092e801036d6879a0eb3a8b48ece43c02c78df88c889304ac1b4594e89cd68fccc02cd1239d6b60b4a0c13a5156f28154a7 |
22 |
+EBUILD hexchat-2.10.2.ebuild 4455 SHA256 b92137efe4f2c499722db65a926faa7b461abd3529f6a02c8c2903e840ca4e80 SHA512 6b7a1f0f3de64a6fb3aa5a1005824f3097b95c9bf1d5a1a71cdb3e47cf62ac45220a7a2a50408f7ad9e02cc0ddea1dcb1fdb1a52b3c71f584f7e78c00e433600 WHIRLPOOL 7886635e8bad1ce14ce985340278a10212f13e0a2bc1098fe6801b6fb24c3f603500e55cf45c1a24a62d8fc52acf9c5524c844b716fe725a44b449a8e0a87f6a |
23 |
|
24 |
diff --git a/net-irc/hexchat/hexchat-2.10.2.ebuild b/net-irc/hexchat/hexchat-2.10.2.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..f4e4f69 |
27 |
--- /dev/null |
28 |
+++ b/net-irc/hexchat/hexchat-2.10.2.ebuild |
29 |
@@ -0,0 +1,171 @@ |
30 |
+# Copyright 1999-2014 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.10.1.ebuild,v 1.6 2014/11/21 12:28:37 klausman Exp $ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) |
37 |
+inherit eutils fdo-mime gnome2-utils mono-env multilib python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Graphical IRC client based on XChat" |
40 |
+HOMEPAGE="http://hexchat.github.io/" |
41 |
+SRC_URI="http://dl.hexchat.org/hexchat/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2 plugin-fishlim? ( MIT )" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux" |
46 |
+IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" |
47 |
+REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )" |
48 |
+ |
49 |
+DEPEND="dev-libs/glib:2 |
50 |
+ dbus? ( >=dev-libs/dbus-glib-0.98 ) |
51 |
+ gtk? ( x11-libs/gtk+:2 ) |
52 |
+ libcanberra? ( media-libs/libcanberra ) |
53 |
+ libproxy? ( net-libs/libproxy ) |
54 |
+ libnotify? ( x11-libs/libnotify ) |
55 |
+ nls? ( virtual/libintl ) |
56 |
+ ntlm? ( net-libs/libntlm ) |
57 |
+ plugins? ( |
58 |
+ perl? ( >=dev-lang/perl-5.8.0 ) |
59 |
+ plugin-sysinfo? ( sys-apps/pciutils ) |
60 |
+ python? ( ${PYTHON_DEPS} ) |
61 |
+ ) |
62 |
+ spell? ( app-text/iso-codes ) |
63 |
+ ssl? ( dev-libs/openssl:0 ) |
64 |
+ theme-manager? ( dev-lang/mono )" |
65 |
+RDEPEND="${DEPEND} |
66 |
+ spell? ( app-text/enchant )" |
67 |
+DEPEND="${DEPEND} |
68 |
+ app-arch/xz-utils |
69 |
+ virtual/pkgconfig |
70 |
+ nls? ( dev-util/intltool ) |
71 |
+ theme-manager? ( dev-util/monodevelop )" |
72 |
+ |
73 |
+pkg_setup() { |
74 |
+ use plugins && use python && python-single-r1_pkg_setup |
75 |
+ if use theme-manager ; then |
76 |
+ mono-env_pkg_setup |
77 |
+ export XDG_CACHE_HOME="${T}/.cache" |
78 |
+ fi |
79 |
+ |
80 |
+ if use !plugins ; then |
81 |
+ local myplugins |
82 |
+ |
83 |
+ use perl && myplugins+="perl\n" |
84 |
+ use python && myplugins+="python\n" |
85 |
+ use plugin-checksum && myplugins+="plugin-checksum\n" |
86 |
+ use plugin-doat && myplugins+="plugin-doat\n" |
87 |
+ use plugin-fishlim && myplugins+="plugin-fishlim\n" |
88 |
+ use plugin-sysinfo && myplugins+="plugin-sysinfo\n" |
89 |
+ |
90 |
+ if [[ ${myplugins} ]] ; then |
91 |
+ ewarn "The following plugins/interfaces have been disabled, because" |
92 |
+ ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" |
93 |
+ ewarn "to get more information or run \"equery u hexchat\"." |
94 |
+ ewarn "\n${myplugins}" |
95 |
+ fi |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+src_prepare() { |
100 |
+ epatch_user |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ econf \ |
105 |
+ $(use_enable nls) \ |
106 |
+ $(use_enable libproxy socks) \ |
107 |
+ $(use_enable ipv6) \ |
108 |
+ $(use_enable ssl openssl) \ |
109 |
+ $(use_enable gtk gtkfe) \ |
110 |
+ $(use_enable !gtk textfe) \ |
111 |
+ $(usex plugins \ |
112 |
+ "$(usex python "--enable-python=${EPYTHON}" "--disable-python")" \ |
113 |
+ "--disable-python" \ |
114 |
+ ) \ |
115 |
+ $(usex plugins \ |
116 |
+ "$(use_enable perl)" \ |
117 |
+ "--disable-perl" \ |
118 |
+ ) \ |
119 |
+ $(use_enable plugins plugin) \ |
120 |
+ $(usex plugins \ |
121 |
+ "$(use_enable plugin-checksum checksum)" \ |
122 |
+ "--disable-checksum" \ |
123 |
+ ) \ |
124 |
+ $(usex plugins \ |
125 |
+ "$(use_enable plugin-doat doat)" \ |
126 |
+ "--disable-doat" \ |
127 |
+ ) \ |
128 |
+ $(usex plugins \ |
129 |
+ "$(use_enable plugin-fishlim fishlim)" \ |
130 |
+ "--disable-fishlim" \ |
131 |
+ ) \ |
132 |
+ $(usex plugins \ |
133 |
+ "$(use_enable plugin-sysinfo sysinfo)" \ |
134 |
+ "--disable-sysinfo" \ |
135 |
+ ) \ |
136 |
+ $(use_enable dbus) \ |
137 |
+ $(use_enable libnotify) \ |
138 |
+ $(use_enable libcanberra) \ |
139 |
+ $(use_enable ntlm) \ |
140 |
+ $(use_enable libproxy) \ |
141 |
+ $(use_enable spell isocodes) \ |
142 |
+ --enable-minimal-flags \ |
143 |
+ $(use_with theme-manager) |
144 |
+} |
145 |
+ |
146 |
+src_install() { |
147 |
+ emake DESTDIR="${D}" \ |
148 |
+ UPDATE_ICON_CACHE=true \ |
149 |
+ UPDATE_MIME_DATABASE=true \ |
150 |
+ UPDATE_DESKTOP_DATABASE=true \ |
151 |
+ install |
152 |
+ dodoc readme.md |
153 |
+ prune_libtool_files --all |
154 |
+} |
155 |
+ |
156 |
+pkg_preinst() { |
157 |
+ if use gtk ; then |
158 |
+ gnome2_icon_savelist |
159 |
+ fi |
160 |
+} |
161 |
+ |
162 |
+pkg_postinst() { |
163 |
+ if use gtk ; then |
164 |
+ gnome2_icon_cache_update |
165 |
+ einfo |
166 |
+ else |
167 |
+ einfo |
168 |
+ elog "You have disabled the gtk USE flag. This means you don't have" |
169 |
+ elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"." |
170 |
+ elog |
171 |
+ fi |
172 |
+ |
173 |
+ if use theme-manager ; then |
174 |
+ fdo-mime_desktop_database_update |
175 |
+ fdo-mime_mime_database_update |
176 |
+ elog "Themes are available at:" |
177 |
+ elog " http://hexchat.org/themes.html" |
178 |
+ elog |
179 |
+ fi |
180 |
+ |
181 |
+ einfo |
182 |
+ elog "optional dependencies:" |
183 |
+ elog " media-sound/sox (sound playback if you don't have libcanberra" |
184 |
+ elog " enabled)" |
185 |
+ elog " x11-plugins/hexchat-javascript (javascript support)" |
186 |
+ elog " x11-themes/sound-theme-freedesktop (default BEEP sound," |
187 |
+ elog " needs libcanberra enabled)" |
188 |
+ einfo |
189 |
+} |
190 |
+ |
191 |
+pkg_postrm() { |
192 |
+ if use gtk ; then |
193 |
+ gnome2_icon_cache_update |
194 |
+ fi |
195 |
+ |
196 |
+ if use theme-manager ; then |
197 |
+ fdo-mime_desktop_database_update |
198 |
+ fdo-mime_mime_database_update |
199 |
+ fi |
200 |
+} |