blob: eeb7b5cfe5954675bf33323fbef55306c9ae9ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="7"
TRINITY_MODULE_NAME="tdenetwork"
inherit trinity-meta-2
DESCRIPTION="Trinity multi-protocol IM client"
IUSE="jingle gsmlib netmeeting speex kernel_linux"
PLUGINS="latex autoreplace history contactnotes crypt connectionstatus
translator nowlistening webpresence texteffect highlight alias
motionautoaway netmeeting addbookmarks statistics smpppdcs"
PROTOCOLS="gadu groupwise irc xmpp oscar msn sms sametime winpopup yahoo"
# unsupported USE="v4l2 opengl xscreensaver ssl emoticons-manager "
# USE=xmms works only with xmms1
IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
REQUIRED_USE="
jingle? ( xmpp )
gsmlib? ( sms )
netmeeting? ( msn )
speex? ( jingle xmpp )"
# MISSING BOTH_DEPEND
# x11-libs/libXrender
# xmpp? ( net-dns/libidn )
# kernel_linux? ( virtual/opengl )
# opengl? ( dev-qt/qt-meta[opengl] )
# xscreensaver? ( x11-libs/libXScrnSaver )
# xmpp|groupwice? =app-crypt/qca-1.0*
BOTH_DEPEND="
jingle? ( dev-libs/glib )
netmeeting? ( dev-libs/glib )
webpresence? (
dev-libs/libxml2
dev-libs/libxslt )
jingle? (
dev-libs/expat
speex? ( media-libs/speex )
)
gsmlib? ( app-mobilephone/gsmlib )
gadu? ( net-libs/libgadu )
sametime? ( net-libs/meanwhile )
media-libs/libv4l
"
# MISSING DEPEND
# x11-proto/videoproto
# kernel_linux? (
# x11-libs/libXv
# )
# xscreensaver? ( x11-proto/scrnsaverproto )
DEPEND="${BOTH_DEPEND}
kernel_linux? (
virtual/os-headers
)
"
# MISSING RDEPEND
# netmeeting? ( net-voip/ekiga )
# ssl? ( =app-crypt/qca-tls-1.0* )
RDEPEND="${BOTH_DEPEND}
crypt? ( app-crypt/gnupg )
latex? (
media-gfx/imagemagick
virtual/latex-base )
sms? ( !gsmlib? ( || (
app-mobilephone/smsclient
app-mobilephone/smssend ) ) )
"
src_configure() {
mycmakeargs=(
-DWITH_JINGLE="$(usex jingle)"
-DWITH_GSM="$(usex gsmlib)"
-DWITH_WEBCAM="$(usex netmeeting)"
-DWITH_SPEEX="$(usex speex)"
-DWITH_KOPETE_PLUGIN_LATEX="$(usex latex)"
-DWITH_KOPETE_PLUGIN_AUTOREPLACE="$(usex autoreplace)"
-DWITH_KOPETE_PLUGIN_HISTORY="$(usex history)"
-DWITH_KOPETE_PLUGIN_CONTACTNOTES="$(usex contactnotes)"
-DWITH_KOPETE_PLUGIN_CRYPTOGRAPHY="$(usex crypt)"
-DWITH_KOPETE_PLUGIN_CONNECTIONSTATUS="$(usex connectionstatus)"
-DWITH_KOPETE_PLUGIN_TRANSLATOR="$(usex translator)"
-DWITH_KOPETE_PLUGIN_NOWLISTENING="$(usex nowlistening)"
-DWITH_KOPETE_PLUGIN_WEBPRESENCE="$(usex webpresence)"
-DWITH_KOPETE_PLUGIN_TEXTEFFECT="$(usex texteffect)"
-DWITH_KOPETE_PLUGIN_HIGHLIGHT="$(usex highlight)"
-DWITH_KOPETE_PLUGIN_ALIAS="$(usex alias)"
-DWITH_KOPETE_PLUGIN_MOTIONAUTOAWAY="$(usex motionautoaway)"
-DWITH_KOPETE_PLUGIN_NETMEETING="$(usex netmeeting)"
-DWITH_KOPETE_PLUGIN_ADDBOOKMARKS="$(usex addbookmarks)"
-DWITH_KOPETE_PLUGIN_STATISTICS="$(usex statistics)"
-DWITH_KOPETE_PLUGIN_SMPPPDCS="$(usex smpppdcs)"
-DWITH_KOPETE_PROTOCOL_GADU="$(usex gadu)"
-DWITH_KOPETE_PROTOCOL_GROUPWISE="$(usex groupwise)"
-DWITH_KOPETE_PROTOCOL_IRC="$(usex irc)"
-DWITH_KOPETE_PROTOCOL_JABBER="$(usex xmpp)"
-DWITH_KOPETE_PROTOCOL_OSCAR="$(usex oscar)"
-DWITH_KOPETE_PROTOCOL_MSN="$(usex msn)"
-DWITH_KOPETE_PROTOCOL_SMS="$(usex sms)"
-DWITH_KOPETE_PROTOCOL_MEANWHILE="$(usex sametime)"
-DWITH_KOPETE_PROTOCOL_WINPOPUP="$(usex winpopup)"
-DWITH_KOPETE_PROTOCOL_YAHOO="$(usex yahoo)"
)
trinity-meta-2_src_configure
}
|