/[gentoo-x86]/net-im/licq/licq-1.3.9.ebuild
Gentoo

Contents of /net-im/licq/licq-1.3.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Aug 1 02:21:17 2015 UTC (2 years, 3 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.9.ebuild,v 1.5 2014/08/05 18:34:05 mrueg Exp $
4
5 EAPI=2
6 CMAKE_USE_DIR="${S}/plugins/qt4-gui"
7 inherit cmake-utils eutils
8
9 DESCRIPTION="ICQ Client with v8 support"
10 HOMEPAGE="http://www.licq.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="2"
15 KEYWORDS="~alpha ~ia64 ~ppc ~sparc"
16 IUSE="debug linguas_he ncurses msn nls crypt socks5 ssl qt4 xosd"
17
18 RDEPEND="crypt? ( >=app-crypt/gpgme-1 )
19 ncurses? ( sys-libs/ncurses
20 dev-libs/cdk )
21 ssl? ( >=dev-libs/openssl-0.9.5a )
22 qt4? ( dev-qt/qtgui:4 )
23 xosd? ( x11-libs/xosd )"
24 DEPEND="${RDEPEND}
25 nls? ( sys-devel/gettext )
26 dev-libs/boost"
27
28 pkg_setup() {
29 licq_plugins="auto-reply email rms"
30 use ncurses && licq_plugins="${licq_plugins} console"
31 use msn && licq_plugins="${licq_plugins} msn"
32 use xosd && licq_plugins="${licq_plugins} osd"
33 }
34
35 src_configure() {
36 econf \
37 $(use_enable linguas_he hebrew) \
38 --disable-dependency-tracking \
39 $(use_enable debug) \
40 $(use_enable socks5) \
41 $(use_enable ssl openssl) \
42 $(use_enable nls)
43
44 local x
45 for x in ${licq_plugins}; do
46 cd "${S}"/plugins/${x}
47 econf
48 done
49
50 if use qt4; then
51 # http://licq.org/ticket/1662
52 mycmakeargs="${mycmakeargs}
53 -DWITH_KDE=OFF"
54 cmake-utils_src_configure
55 fi
56 }
57
58 src_compile() {
59 emake || die
60
61 local x
62 for x in ${licq_plugins}; do
63 cd "${S}"/plugins/${x}
64 emake || die
65 done
66
67 use qt4 && cmake-utils_src_compile
68 }
69
70 src_install() {
71 emake DESTDIR="${D}" install || die
72 dodoc README
73
74 docinto doc
75 dodoc doc/*
76
77 use crypt && dodoc README.GPG
78 use ssl && dodoc README.OPENSSL
79
80 exeinto /usr/share/${PN}/upgrade
81 doexe upgrade/*.pl || die
82
83 local x
84 for x in ${licq_plugins}; do
85 cd "${S}"/plugins/${x}
86 emake DESTDIR="${D}" install || die
87 docinto ${x}
88 dodoc README* *.conf
89 done
90
91 if use qt4; then
92 docinto qt4
93 DOCS="README" cmake-utils_src_install
94 fi
95
96 rm -rf "${D}"/var
97 }

  ViewVC Help
Powered by ViewVC 1.1.20