Gentoo Archives: gentoo-commits

From: "Olivier Crete (tester)" <tester@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/licq: ChangeLog licq-1.3.6.ebuild licq-1.3.2-r1.ebuild licq-1.3.4-r1.ebuild licq-1.3.2.ebuild licq-1.3.5.ebuild
Date: Wed, 29 Oct 2008 16:13:16
Message-Id: E1KvDfV-00016Q-6g@stork.gentoo.org
1 tester 08/10/29 16:13:13
2
3 Modified: ChangeLog
4 Added: licq-1.3.6.ebuild
5 Removed: licq-1.3.2-r1.ebuild licq-1.3.4-r1.ebuild
6 licq-1.3.2.ebuild licq-1.3.5.ebuild
7 Log:
8 Version bump, bug #237816, remove old
9 (Portage version: 2.1.4.5)
10
11 Revision Changes Path
12 1.99 net-im/licq/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?rev=1.99&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?rev=1.99&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/ChangeLog?r1=1.98&r2=1.99
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v
21 retrieving revision 1.98
22 retrieving revision 1.99
23 diff -u -r1.98 -r1.99
24 --- ChangeLog 5 Jul 2008 16:48:39 -0000 1.98
25 +++ ChangeLog 29 Oct 2008 16:13:13 -0000 1.99
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-im/licq
28 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.98 2008/07/05 16:48:39 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.99 2008/10/29 16:13:13 tester Exp $
31 +
32 +*licq-1.3.6 (29 Oct 2008)
33 +
34 + 29 Oct 2008; Olivier Crête <tester@g.o> -licq-1.3.2.ebuild,
35 + -licq-1.3.2-r1.ebuild, -licq-1.3.4-r1.ebuild, -licq-1.3.5.ebuild,
36 + +licq-1.3.6.ebuild:
37 + Version bump, bug #237816, remove old
38
39 05 Jul 2008; Raúl Porcel <armin76@g.o> licq-1.3.5-r1.ebuild:
40 alpha/ia64/sparc stable wrt #219708
41
42
43
44 1.1 net-im/licq/licq-1.3.6.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/licq-1.3.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/licq/licq-1.3.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: licq-1.3.6.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.6.ebuild,v 1.1 2008/10/29 16:13:13 tester Exp $
54
55 EAPI="1"
56
57 inherit eutils kde-functions multilib
58
59 DESCRIPTION="ICQ Client with v8 support"
60 HOMEPAGE="http://www.licq.org/"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="2"
65 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
66 IUSE="crypt debug kde msn ncurses nls qt3 qt4 socks5 ssl xosd"
67
68 # we use kde as KDE4
69 RDEPEND="kde? (
70 qt3? ( kde-base/kdelibs:3.5 )
71 )
72 ssl? ( dev-libs/openssl )
73 qt3? ( x11-libs/qt:3 )
74 qt4? ( x11-libs/qt-gui:4 )
75 nls? ( sys-devel/gettext )
76 ncurses? ( sys-libs/ncurses =dev-libs/cdk-5* )
77 crypt? ( app-crypt/gpgme:1 )
78 xosd? ( x11-libs/xosd )"
79 DEPEND="${RDEPEND}
80 dev-libs/boost
81 qt4? ( >=dev-util/cmake-2.6.2 )"
82
83 _generate_plugins_directories() {
84 PLUGINS="auto-reply email rms"
85 use msn && PLUGINS="${PLUGINS} msn"
86 use ncurses && PLUGINS="${PLUGINS} console"
87 use xosd && PLUGINS="${PLUGINS} osd"
88 # QT4 is something extra. Uses cmake.
89 use qt4 && PLUGINS_CMAKE="${PLUGINS_CMAKE} qt4-gui"
90 use qt3 && PLUGINS="${PLUGINS} qt-gui"
91 elog "I will generate these plugins/frontends for licq:"
92 elog "${PLUGINS} ${PLUGINS_CMAKE}"
93 }
94
95 pkg_setup() {
96 _generate_plugins_directories
97 }
98
99 src_compile() {
100 local myconf myconf2 plugin
101 # global config setup for automake
102 myconf="$(use_enable crypt gpgme)
103 $(use_enable ssl openssl)
104 $(use_enable socks5)
105 $(use_enable debug)
106 $(use_enable nls)"
107
108 einfo "Compiling Licq core."
109 econf ${myconf} || die "econf failed"
110 emake || die "emake failed"
111
112 for plugin in ${PLUGINS}; do
113 cd "${S}"/plugins/"${plugin}"
114 einfo "Compiling Licq: \"${plugin}\"."
115 if use qt3; then
116 set-qtdir 3
117 set-kdedir 3
118 use kde && myconf2="${myconf} --with-kde"
119 myconf2="${myconf2} --with-qt-libraries=${QTDIR}/$(get_libdir)"
120 fi
121 econf ${myconf} ${myconf2} || die "econf failed"
122 emake || die "emake failed"
123 done
124 # we like qt4 it uses cmake
125 if use qt4; then
126 cd "${S}"/plugins/qt4-gui
127 einfo "Compiling Licq: \"qt4-gui\"."
128 # Possible error because of one tiny issue we introduce in kde
129 # it is called kdeprefix and in that case you can't be sure where it
130 # find kde stuff. This is working only for -kdeprefix so someone will
131 # need to fix this later
132 myconf2="-DCMAKE_INSTALL_PREFIX=/usr"
133 # kde not yet workie
134 # use kde && myconf2="${myconf2} -DWITH_KDE=1"
135 use kde && ewarn "Sorry but kde4 support is duped and not working so not
136 enabling for now"
137 cmake . ${myconf2} || die "cmake failed"
138 emake || die "emake failed"
139 fi
140 }
141
142 src_install() {
143 # install core
144 einfo "Installing Licq core."
145 emake DESTDIR="${D}" install || die "emake install failed"
146 dodoc ChangeLog INSTALL README* doc/*
147 # Install the plug-ins
148 for plugin in ${PLUGINS}; do
149 cd "${S}"/plugins/"${plugin}"
150 einfo "Installing Licq: \"${plugin}\"."
151 emake DESTDIR="${D}" install || die "emake install failed"
152 dodoc README* *.conf
153 done
154 if use qt4; then
155 cd "${S}"/plugins/qt4-gui
156 einfo "Installing Licq: \"qt4-gui\"."
157 emake DESTDIR="${D}" install || die
158 docinto plugins/qt4-gui
159 dodoc doc/README*
160 fi
161
162 exeinto /usr/share/${PN}/upgrade
163 doexe "${S}"/upgrade/*
164
165 # fixes bug #22136 and #149464
166 rm -fR "${D}"/var
167 }