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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Sep 28 15:03:35 2013 UTC (4 years, 2 months ago) by polynomial-c
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Fixed bug #484706 and #486126. Took over maintenance

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

1 # Copyright 1999-2013 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.7.1.ebuild,v 1.3 2013/09/13 13:36:47 polynomial-c Exp $
4
5 EAPI=5
6
7 inherit cmake-utils eutils flag-o-matic
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="~amd64 ~x86"
16 IUSE="debug doc linguas_he nls socks5 ssl xosd aosd jabber qt4 msn ncurses"
17
18 RDEPEND=">=app-crypt/gpgme-1
19 jabber? ( net-libs/gloox )
20 qt4? ( dev-qt/qtgui:4 )
21 socks5? ( net-proxy/dante )
22 ssl? ( >=dev-libs/openssl-0.9.5a )
23 ncurses? (
24 sys-libs/ncurses
25 dev-libs/cdk
26 )
27 xosd? ( x11-libs/xosd )
28 aosd? ( x11-libs/libaosd )"
29 DEPEND="${RDEPEND}
30 doc? ( app-doc/doxygen )
31 nls? ( sys-devel/gettext )
32 dev-libs/boost"
33
34 src_prepare() {
35 #epatch "${FILESDIR}"/${PN}-1.5.1-find-libcdk.patch
36
37 local licq_plugins="auto-reply rms"
38 use ncurses && licq_plugins+=" console"
39 use msn && licq_plugins+=" msn"
40 use xosd && licq_plugins+=" osd"
41 use aosd && licq_plugins+=" aosd"
42 use jabber && licq_plugins+=" jabber"
43 use qt4 && licq_plugins+=" qt4-gui"
44
45 local plugins="" x
46 for x in ${licq_plugins}; do
47 plugins+=" ${x}\/CMakeLists.txt"
48 done
49
50 sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt
51 }
52
53 pkg_setup() {
54 # crutch
55 append-flags -pthread
56 }
57
58 src_configure() {
59 local myopts="-DCMAKE_BUILD_TYPE=$(use debug && echo 'Debug' || echo 'Release')"
60 mycmakeargs="$myopts
61 $(cmake-utils_use linguas_he USE_HEBREW)
62 $(cmake-utils_use socks5 USE_SOCKS5)
63 $(cmake-utils_use ssl USE_OPENSSL)
64 $(cmake-utils_use nls ENABLE_NLS)
65 -DUSE_FIFO=ON
66 -DBUILD_PLUGINS=ON"
67
68 cmake-utils_src_configure
69 }
70
71 src_install() {
72 cmake-utils_src_install
73 dodoc README
74
75 docinto doc
76 dodoc doc/*
77
78 use ssl && dodoc README.OPENSSL
79
80 exeinto /usr/share/${PN}/upgrade
81 doexe upgrade/*.pl
82 }

  ViewVC Help
Powered by ViewVC 1.1.20