1 |
ago 12/04/29 16:38:28 |
2 |
|
3 |
Added: kadu-0.11.3.ebuild |
4 |
Log: |
5 |
Version bump to 0.11.3 |
6 |
|
7 |
Revision Changes Path |
8 |
1.1 net-im/kadu/kadu-0.11.3.ebuild |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-0.11.3.ebuild?rev=1.1&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-0.11.3.ebuild?rev=1.1&content-type=text/plain |
12 |
|
13 |
Index: kadu-0.11.3.ebuild |
14 |
=================================================================== |
15 |
# Copyright 1999-2012 Gentoo Foundation |
16 |
# Distributed under the terms of the GNU General Public License v2 |
17 |
# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.11.3.ebuild,v 1.1 2012/04/29 16:38:28 ago Exp $ |
18 |
|
19 |
EAPI="4" |
20 |
|
21 |
inherit base cmake-utils flag-o-matic |
22 |
|
23 |
MY_P="${P/_/-}" |
24 |
|
25 |
DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client." |
26 |
HOMEPAGE="http://www.kadu.net" |
27 |
SRC_URI="http://download.kadu.im/stable/${MY_P}.tar.bz2" |
28 |
|
29 |
LICENSE="GPL-2" |
30 |
KEYWORDS="~amd64 ~ppc ~x86" |
31 |
SLOT="0" |
32 |
IUSE="ayatana +gadu mpd phonon sdk speech spell xmpp" |
33 |
REQUIRED_USE=" |
34 |
|| ( |
35 |
gadu |
36 |
xmpp |
37 |
) |
38 |
" |
39 |
COMMON_DEPEND=" |
40 |
>=app-crypt/qca-2.0.0-r2 |
41 |
x11-libs/libX11 |
42 |
x11-libs/libXfixes |
43 |
x11-libs/libXScrnSaver |
44 |
>=x11-libs/qt-dbus-4.7.0:4 |
45 |
>=x11-libs/qt-gui-4.7.0:4 |
46 |
>=x11-libs/qt-script-4.7.0:4 |
47 |
>=x11-libs/qt-sql-4.7.0:4[sqlite] |
48 |
>=x11-libs/qt-webkit-4.7.0:4 |
49 |
ayatana? ( dev-libs/libindicate-qt ) |
50 |
gadu? ( |
51 |
>=net-libs/libgadu-1.11.1[threads] |
52 |
>=x11-libs/qt-xmlpatterns-4.7.0:4 |
53 |
) |
54 |
mpd? ( media-libs/libmpdclient ) |
55 |
phonon? ( |
56 |
|| ( |
57 |
media-libs/phonon |
58 |
>=x11-libs/qt-phonon-4.7.0:4 |
59 |
) |
60 |
) |
61 |
spell? ( app-text/enchant ) |
62 |
xmpp? ( |
63 |
net-dns/libidn |
64 |
sys-libs/zlib |
65 |
) |
66 |
" |
67 |
DEPEND="${COMMON_DEPEND} |
68 |
x11-proto/fixesproto |
69 |
x11-proto/scrnsaverproto |
70 |
x11-proto/xproto |
71 |
" |
72 |
RDEPEND="${COMMON_DEPEND} |
73 |
app-crypt/qca-ossl:2 |
74 |
>=x11-libs/qt-svg-4.7.0:4 |
75 |
speech? ( app-accessibility/powiedz ) |
76 |
" |
77 |
|
78 |
PLUGINS='amarok1_mediaplayer antistring auto_hide autoaway autoresponder autostatus cenzor chat_notify config_wizard desktop_docking docking encryption_ng encryption_ng_simlite exec_notify ext_sound falf_mediaplayer filedesc firewall freedesktop_notify hints history idle imagelink last_seen mediaplayer mprisplayer_mediaplayer pcspeaker qt4_docking qt4_docking_notify screenshot simpleview single_window sms sound sql_history tabs word_fix' |
79 |
|
80 |
src_configure() { |
81 |
# Filter out dangerous flags |
82 |
filter-flags -fno-rtti |
83 |
strip-unsupported-flags |
84 |
|
85 |
# Ensure -DQT_NO_DEBUG is added |
86 |
append-cppflags -DQT_NO_DEBUG |
87 |
|
88 |
# Plugin selection |
89 |
if use gadu; then |
90 |
PLUGINS+=' gadu_protocol history_migration profiles_import' |
91 |
fi |
92 |
|
93 |
use mpd && PLUGINS+=' mpd_mediaplayer' |
94 |
use xmpp && PLUGINS+=' jabber_protocol' |
95 |
use phonon && PLUGINS+=' phonon_sound' |
96 |
use speech && PLUGINS+=' speech' |
97 |
use spell && PLUGINS+=' spellchecker' |
98 |
|
99 |
# Configure package |
100 |
local mycmakeargs=( |
101 |
-DBUILD_DESCRIPTION='Gentoo Linux' |
102 |
-DCOMPILE_PLUGINS="${PLUGINS}" |
103 |
-DNETWORK_IMPLEMENTATION="Qt" |
104 |
-DSIG_HANDLING_ENABLED=TRUE |
105 |
$(cmake-utils_use sdk INSTALL_SDK) |
106 |
$(cmake-utils_use_with ayatana INDICATE_QT) |
107 |
$(cmake-utils_use_with spell ENCHANT) |
108 |
) |
109 |
unset PLUGINS |
110 |
|
111 |
cmake-utils_src_configure |
112 |
} |