Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/licq: ChangeLog licq-1.3.5.ebuild
Date: Sat, 01 Dec 2007 20:49:37
Message-Id: E1IyZ3x-0007Rd-2M@stork.gentoo.org
1 genstef 07/12/01 20:35:45
2
3 Modified: ChangeLog
4 Added: licq-1.3.5.ebuild
5 Log:
6 version bump, bug 197734
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.90 net-im/licq/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?rev=1.90&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?rev=1.90&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?r1=1.89&r2=1.90
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v
19 retrieving revision 1.89
20 retrieving revision 1.90
21 diff -u -r1.89 -r1.90
22 --- ChangeLog 22 Aug 2007 12:32:44 -0000 1.89
23 +++ ChangeLog 1 Dec 2007 20:35:44 -0000 1.90
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-im/licq
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.89 2007/08/22 12:32:44 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.90 2007/12/01 20:35:44 genstef Exp $
29 +
30 +*licq-1.3.5 (01 Dec 2007)
31 +
32 + 01 Dec 2007; Stefan Schweizer <genstef@g.o> +licq-1.3.5.ebuild:
33 + version bump, bug 197734
34
35 22 Aug 2007; Roy Marples <uberlord@g.o> licq-1.3.4-r1.ebuild:
36 Keyworded ~x86-fbsd.
37
38
39
40 1.1 net-im/licq/licq-1.3.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/licq-1.3.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/licq-1.3.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: licq-1.3.5.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.5.ebuild,v 1.1 2007/12/01 20:35:44 genstef Exp $
50
51 inherit eutils kde-functions multilib
52
53 DESCRIPTION="ICQ Client with v8 support"
54 HOMEPAGE="http://www.licq.org/"
55 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="2"
59 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
60 IUSE="ssl socks5 qt3 kde ncurses crypt msn debug"
61
62 # we can't have conditional dependencies so "use kde && inherit kde"
63 # won't work -- messes up dep caching.
64
65 # need-kde and their eclass friends inject things into DEPEND. But we only
66 # want them enabled if the kde USE flag is set. We get around this in the
67 # following dep lines:
68 RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )"
69 DEPEND="kde? ( >=kde-base/kdelibs-3.0 )
70 ssl? ( >=dev-libs/openssl-0.9.6 )
71 qt3? ( =x11-libs/qt-3* )
72 ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 )
73 crypt? ( >=app-crypt/gpgme-1.0.0 )"
74
75 src_unpack() {
76 unpack ${A}
77
78 cd ${S}
79
80 use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch
81
82 if use kde
83 then
84 # fix for #12436
85 ebegin "Setting kde plugin as default"
86 cp ${S}/src/licq.conf.h ${T}
87 sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \
88 ${T}/licq.conf.h > ${S}/src/licq.conf.h
89 eend $?
90 else
91 if ! use qt3
92 then
93 ebegin "Setting console plugin as default..."
94 cp ${S}/src/licq.conf.h ${T}
95 sed "s:Plugin1 = qt-gui:Plugin1 = console:" \
96 ${T}/licq.conf.h > ${S}/src/licq.conf.h
97 eend $?
98 fi
99 fi
100
101 # Install plugins in the correct libdir
102 sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \
103 ${S}/include/licq_constants.h || die "sed failed"
104 sed -i -e 's:$(prefix)/lib:@libdir@:' \
105 ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed"
106 }
107
108 src_compile() {
109
110 use ssl || myconf="${myconf} --disable-openssl"
111 use socks5 && myconf="${myconf} --enable-socks5"
112 use debug && myconf="${myconf} --enable-debug"
113
114 if use crypt
115 then
116 myconf="${myconf} --enable-gpgme"
117 else
118 myconf="${myconf} --disable-gpgme"
119 fi
120
121 cd ${S}
122
123 # bug #21009
124 find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \;
125
126 econf ${myconf} || die
127
128 use crypt && {
129 # workaround for gpgme's headers inclusion path
130 sed \
131 -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \
132 -i ${S}/src/Makefile
133 }
134
135 emake || die
136
137 # Create the various plug-ins
138
139 # First, the Qt plug-in
140 if use qt3
141 then
142 set-qtdir 3
143 set-kdedir 3
144
145 use kde && myconf="${myconf} --with-kde"
146
147 # Problems finding qt on multilib systems
148 myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)"
149
150 # note! watch the --prefix=/usr placement;
151 # licq itself installs into /usr, but the
152 # optional kde/qt interface (to which second_conf belogns)
153 # installs its files in $KDE3DIR/{lib,share}/licq
154
155 cd ${S}/plugins/qt-gui
156 einfo "Compiling Qt GUI plug-in"
157 econf ${myconf} || die
158 emake || die
159 fi
160
161 # Now the console plug-in
162 if use ncurses
163 then
164 cd ${S}/plugins/console
165 einfo "Compiling the Console plug-in"
166 econf || die
167 emake || die
168 fi
169
170 # The Auto-Responder plug-in
171 cd ${S}/plugins/auto-reply
172 einfo "Compiling the Auto-Reply plug-in"
173 econf || die
174 emake || die
175
176 # The Remote Management Service
177 cd ${S}/plugins/rms
178 einfo "Compiling Remote Management Services plug-in"
179 econf || die
180 emake || die
181
182 # MSN PLugin
183 if use msn
184 then
185 cd ${S}/plugins/msn
186 einfo "Compiling MSN plug-in"
187 econf || die
188 emake || die
189 fi
190
191 # Email PLugin
192 cd ${S}/plugins/email
193 einfo "Compiling Email plug-in"
194 econf || die
195 emake || die
196 }
197
198 src_install() {
199 make DESTDIR=${D} install || die
200
201 dodoc ChangeLog INSTALL README* doc/*
202
203 # Install the plug-ins
204 if use qt3
205 then
206 cd ${S}/plugins/qt-gui
207 make DESTDIR=${D} install || die
208 docinto plugins/qt-gui
209 dodoc README*
210
211 fi
212
213 if use ncurses
214 then
215 cd ${S}/plugins/console
216 make DESTDIR=${D} install || die
217 docinto plugins/console
218 dodoc README
219 fi
220
221 if use msn
222 then
223 cd ${S}/plugins/msn
224 make DESTDIR=${D} install || die
225 docinto plugins/msn
226 dodoc README
227 fi
228
229 cd ${S}/plugins/auto-reply
230 make DESTDIR=${D} install || die
231 docinto plugins/auto-reply
232 dodoc README licq_autoreply.conf
233
234 cd ${S}/plugins/rms
235 make DESTDIR=${D} install || die
236 docinto plugins/rms
237 dodoc README licq_rms.conf
238
239 exeinto /usr/share/${PN}/upgrade
240 doexe ${S}/upgrade/*
241
242 # fixes bug #22136 and #149464
243 rm -fR ${D}/var
244 }
245
246 pkg_postinst() {
247 echo
248 ewarn
249 ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually "
250 ewarn "upgrade your existing licq installation. Please backup your "
251 ewarn "settings and look into: /usr/share/licq/upgrade for scripts."
252 ewarn
253 echo
254 }
255
256
257
258 --
259 gentoo-commits@g.o mailing list