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

Contents of /net-im/licq/licq-1.3.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Aug 1 02:21:17 2015 UTC (2 years, 10 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +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.8-r1.ebuild,v 1.9 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_prepare() {
36 epatch "${FILESDIR}"/${P}-hebrew.patch \
37 "${FILESDIR}"/${P}-memory_leak.patch
38 }
39
40 src_configure() {
41 econf \
42 $(use_enable linguas_he hebrew) \
43 --disable-dependency-tracking \
44 $(use_enable debug) \
45 $(use_enable socks5) \
46 $(use_enable ssl openssl) \
47 $(use_enable nls)
48
49 local x
50 for x in ${licq_plugins}; do
51 cd "${S}"/plugins/${x}
52 econf
53 done
54
55 if use qt4; then
56 # http://licq.org/ticket/1662
57 mycmakeargs="${mycmakeargs}
58 -DWITH_KDE=OFF"
59 cmake-utils_src_configure
60 fi
61 }
62
63 src_compile() {
64 emake || die
65
66 local x
67 for x in ${licq_plugins}; do
68 cd "${S}"/plugins/${x}
69 emake || die
70 done
71
72 use qt4 && cmake-utils_src_compile
73 }
74
75 src_install() {
76 emake DESTDIR="${D}" install || die
77 dodoc README
78
79 docinto doc
80 dodoc doc/*
81
82 use crypt && dodoc README.GPG
83 use ssl && dodoc README.OPENSSL
84
85 exeinto /usr/share/${PN}/upgrade
86 doexe upgrade/*.pl || die
87
88 local x
89 for x in ${licq_plugins}; do
90 cd "${S}"/plugins/${x}
91 emake DESTDIR="${D}" install || die
92 docinto ${x}
93 dodoc README* *.conf
94 done
95
96 if use qt4; then
97 docinto qt4
98 DOCS="README" cmake-utils_src_install
99 fi
100
101 rm -rf "${D}"/var
102 }

  ViewVC Help
Powered by ViewVC 1.1.20