Gentoo Archives: gentoo-commits

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