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

Contents of /net-im/licq/licq-1.8.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Mar 2 19:00:38 2015 UTC (2 years, 9 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.17/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.8.0-r2.ebuild,v 1.5 2014/08/21 11:43:46 armin76 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 https://github.com/${PN}-im/${PN}/commit/6b5f463697739be42948a052a03cc706f06c2150.patch -> ${P}-socks5.patch
13 https://github.com/${PN}-im/${PN}/commit/b05d42fda3da5d1b42bd89feb3b49516ce7d85b3.patch -> ${P}-doxygen.patch"
14
15 LICENSE="GPL-2"
16 SLOT="2"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
18 IUSE="debug doc linguas_he nls socks5 ssl xosd aosd jabber qt4 msn"
19
20 RDEPEND=">=app-crypt/gpgme-1
21 jabber? ( net-libs/gloox )
22 qt4? ( dev-qt/qtgui:4 )
23 socks5? ( net-proxy/dante )
24 ssl? ( >=dev-libs/openssl-0.9.5a )
25 xosd? ( x11-libs/xosd )
26 aosd? ( x11-libs/libaosd )"
27 DEPEND="${RDEPEND}
28 doc? ( app-doc/doxygen[dot] )
29 nls? ( sys-devel/gettext )
30 dev-libs/boost"
31
32 src_prepare() {
33 epatch "${DISTDIR}"/${P}-socks5.patch \
34 "${DISTDIR}"/${P}-doxygen.patch
35
36 local licq_plugins="auto-reply icq rms"
37 use msn && licq_plugins+=" msn"
38 use xosd && licq_plugins+=" osd"
39 use aosd && licq_plugins+=" aosd"
40 use jabber && licq_plugins+=" jabber"
41 use qt4 && licq_plugins+=" qt4-gui"
42
43 local plugins="" x
44 for x in ${licq_plugins}; do
45 plugins+=" ${x}\/CMakeLists.txt"
46 done
47
48 sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt
49 }
50
51 pkg_setup() {
52 # crutch
53 append-flags -pthread
54 }
55
56 src_configure() {
57 local myopts="-DCMAKE_BUILD_TYPE=$(use debug && echo 'Debug' || echo 'Release')"
58 mycmakeargs="$myopts
59 $(cmake-utils_use doc USE_DOXYGEN)
60 $(cmake-utils_use linguas_he USE_HEBREW)
61 $(cmake-utils_use nls ENABLE_NLS)
62 $(cmake-utils_use socks5 USE_SOCKS5)
63 $(cmake-utils_use ssl USE_OPENSSL)
64 -DUSE_FIFO=ON
65 -DBUILD_PLUGINS=ON"
66
67 cmake-utils_src_configure
68 }
69
70 src_install() {
71 cmake-utils_src_install
72 dodoc README
73
74 docinto doc
75 dodoc doc/*
76
77 use ssl && dodoc README.OPENSSL
78
79 exeinto /usr/share/${PN}/upgrade
80 doexe upgrade/*.pl
81 }

  ViewVC Help
Powered by ViewVC 1.1.20