1 |
hasufell 13/08/26 12:31:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hexchat-9999.ebuild |
5 |
Log: |
6 |
add live ebuild |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.68 net-irc/hexchat/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?rev=1.68&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?rev=1.68&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/ChangeLog?r1=1.67&r2=1.68 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v |
20 |
retrieving revision 1.67 |
21 |
retrieving revision 1.68 |
22 |
diff -u -r1.67 -r1.68 |
23 |
--- ChangeLog 25 Jul 2013 02:15:57 -0000 1.67 |
24 |
+++ ChangeLog 26 Aug 2013 12:31:34 -0000 1.68 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-irc/hexchat |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.67 2013/07/25 02:15:57 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.68 2013/08/26 12:31:34 hasufell Exp $ |
30 |
+ |
31 |
+*hexchat-9999 (26 Aug 2013) |
32 |
+ |
33 |
+ 26 Aug 2013; Julian Ospald <hasufell@g.o> +hexchat-9999.ebuild: |
34 |
+ add live ebuild |
35 |
|
36 |
25 Jul 2013; Manuel RĂ¼ger <mrueg@g.o> metadata.xml: |
37 |
Update name in metadata.xml as requested by Denis M. (Phr33d0m) |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-irc/hexchat/hexchat-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/hexchat-9999.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/hexchat-9999.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hexchat-9999.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-9999.ebuild,v 1.1 2013/08/26 12:31:34 hasufell Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python2_6 python2_7 ) |
55 |
inherit autotools eutils gnome2-utils mono-env multilib python-single-r1 git-2 |
56 |
|
57 |
DESCRIPTION="Graphical IRC client based on XChat" |
58 |
HOMEPAGE="http://hexchat.github.io/" |
59 |
SRC_URI="" |
60 |
EGIT_REPO_URI="git://github.com/hexchat/hexchat.git" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="" |
65 |
IUSE="dbus fastscroll +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" |
66 |
REQUIRED_USE="plugin-checksum? ( plugins ) |
67 |
plugin-doat? ( plugins ) |
68 |
plugin-fishlim? ( plugins ) |
69 |
plugin-sysinfo? ( plugins ) |
70 |
python? ( ${PYTHON_REQUIRED_USE} )" |
71 |
|
72 |
RDEPEND="dev-libs/glib:2 |
73 |
dbus? ( >=dev-libs/dbus-glib-0.98 ) |
74 |
fastscroll? ( x11-libs/libXft ) |
75 |
gtk? ( x11-libs/gtk+:2 ) |
76 |
libcanberra? ( media-libs/libcanberra ) |
77 |
libproxy? ( net-libs/libproxy ) |
78 |
libnotify? ( x11-libs/libnotify ) |
79 |
nls? ( virtual/libintl ) |
80 |
ntlm? ( net-libs/libntlm ) |
81 |
perl? ( >=dev-lang/perl-5.8.0 ) |
82 |
plugin-sysinfo? ( sys-apps/pciutils ) |
83 |
python? ( ${PYTHON_DEPS} ) |
84 |
spell? ( |
85 |
app-text/enchant |
86 |
dev-libs/libxml2 |
87 |
) |
88 |
ssl? ( >=dev-libs/openssl-0.9.8u ) |
89 |
theme-manager? ( dev-lang/mono )" |
90 |
DEPEND="${RDEPEND} |
91 |
virtual/pkgconfig |
92 |
nls? ( sys-devel/gettext ) |
93 |
theme-manager? ( dev-util/monodevelop )" |
94 |
|
95 |
DOCS="" |
96 |
|
97 |
pkg_setup() { |
98 |
use python && python-single-r1_pkg_setup |
99 |
use theme-manager && mono-env_pkg_setup |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
mkdir m4 || die |
104 |
sed -i \ |
105 |
-e "/intl\/Makefile/d" \ |
106 |
-e "/po\/Makefile.in/d" \ |
107 |
configure.ac || die |
108 |
sed -i -e "/SUBDIRS/s/intl//" Makefile.am || die |
109 |
epatch -p1 \ |
110 |
"${FILESDIR}"/${PN}-2.9.5-autoconf-missing-macros.patch |
111 |
epatch_user |
112 |
cp $(type -p gettextize) "${T}"/ || die |
113 |
sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" || die |
114 |
einfo "Running gettextize -f --no-changelog..." |
115 |
"${T}"/gettextize -f --no-changelog > /dev/null || die "gettexize failed" |
116 |
AT_M4DIR="m4" eautoreconf |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
econf \ |
121 |
$(use_enable nls) \ |
122 |
$(use_enable libproxy socks) \ |
123 |
$(use_enable ipv6) \ |
124 |
$(use_enable fastscroll xft) \ |
125 |
$(use_enable ssl openssl) \ |
126 |
$(use_enable gtk gtkfe) \ |
127 |
$(use_enable !gtk textfe) \ |
128 |
$(usex python "--enable-python=${EPYTHON}" "--disable-python") \ |
129 |
$(use_enable perl) \ |
130 |
$(use_enable plugins plugin) \ |
131 |
$(use_enable plugin-checksum checksum) \ |
132 |
$(use_enable plugin-doat doat) \ |
133 |
$(use_enable plugin-fishlim fishlim) \ |
134 |
$(use_enable plugin-sysinfo sysinfo) \ |
135 |
$(use_enable dbus) \ |
136 |
$(use_enable libnotify) \ |
137 |
$(use_enable libcanberra) \ |
138 |
--enable-shm \ |
139 |
$(use_enable spell spell static) \ |
140 |
$(use_enable ntlm) \ |
141 |
$(use_enable libproxy) |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
default |
146 |
if use theme-manager ; then |
147 |
export XDG_CACHE_HOME="${T}/.cache" |
148 |
cd src/htm || die |
149 |
mdtool --verbose build htm-mono.csproj || die |
150 |
fi |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install |
155 |
dodoc share/doc/{readme,hacking}.md |
156 |
use plugin-fishlim && dodoc share/doc/fishlim.md |
157 |
if use theme-manager ; then |
158 |
dobin src/htm/thememan.exe |
159 |
make_wrapper thememan "mono /usr/bin/thememan.exe" |
160 |
fi |
161 |
prune_libtool_files --all |
162 |
} |
163 |
|
164 |
pkg_preinst() { |
165 |
if use gtk ; then |
166 |
gnome2_icon_savelist |
167 |
fi |
168 |
} |
169 |
|
170 |
pkg_postinst() { |
171 |
if use gtk ; then |
172 |
gnome2_icon_cache_update |
173 |
einfo |
174 |
else |
175 |
einfo |
176 |
elog "You have disabled the gtk USE flag. This means you don't have" |
177 |
elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"." |
178 |
elog |
179 |
fi |
180 |
|
181 |
if use theme-manager ; then |
182 |
elog "Themes are available at:" |
183 |
elog " http://hexchat.org/themes.html" |
184 |
elog |
185 |
fi |
186 |
|
187 |
elog "If you're upgrading from hexchat <=2.9.3 remember to rename" |
188 |
elog "the xchat.conf file found in ~/.config/hexchat/ to hexchat.conf" |
189 |
elog |
190 |
elog "If you're upgrading from hexchat <=2.9.5 you will have to fix" |
191 |
elog "your auto-join channel settings, see:" |
192 |
elog " https://bugs.gentoo.org/show_bug.cgi?id=473514#c1" |
193 |
elog "Also, some internal hotkeys such as \"Ctrl+l\" (clear screen)" |
194 |
elog "have been removed, but you can add them yourself via:" |
195 |
elog " Settings -> Keyboard Shortcuts" |
196 |
einfo |
197 |
} |
198 |
|
199 |
pkg_postrm() { |
200 |
if use gtk ; then |
201 |
gnome2_icon_cache_update |
202 |
fi |
203 |
} |