Magellan Linux

Contents of /branches/magellan-next/extras/kdenetwork4/kdenetwork4-4.6.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8668 - (show annotations) (download)
Wed Jul 27 16:49:16 2011 UTC (12 years, 9 months ago) by niro
File size: 5590 byte(s)
auto added: ver bump to 4.6.5-r1
1 # $Id$
2
3 PNAME="kdenetwork4"
4 PVER="4.6.5"
5 PBUILD="r1"
6
7 PCATEGORIE="kde-base"
8
9 # todo: libktorrend, kwebkitpart, mediastreamer, telepathy
10 #
11 # kget deps:
12 # torrent support needs qca & gmp
13 #
14 # kopete plugins with deps
15 # latex: latex as runtime depend
16 # statistics: sqlite-3
17 # webpresence: libxml2, libxslt
18 #
19 # kopete protocols with deps
20 # gadu: openssl, libgadu
21 # groupwise: qca-2
22 # irc: NO DEPS, probably will fail so inform user about it
23 # jabber: libidn, qca-2
24 # jingle: speex, ortp
25 # meanwhile: meanwhile
26 # msn: libmsn == this is wlm plugin, we disable msn one
27 # telepathy: net-libs/decibel
28 # webcam support: libv4l
29 #
30 # disabled kopete protocols
31 # telepathy: decibel
32 # irc: NO DEPS
33 #
34 # krdc deps
35 # krdc: jpeg, libvncserver, rdesktop
36 #
37 # krfb deps:
38 # krfb: libvncserver, openslp, libXdamage
39 #
40
41 SDEPEND=">= x11-proto/scrnsaverproto-1
42 >= sys-apps/sed-4
43 == kde-base/kdebase4-${PVER}
44 == kde-base/kdepimlibs4-${PVER}
45 >= kde-base/qimageblitz-0.0.6
46 >= app-crypt/qca-2
47 >= app-crypt/qca-ossl-2
48 >= dev-db/sqlite-3.7
49 >= dev-libs/gmp-5.0
50 >= dev-libs/libpcre-8.12
51 >= dev-libs/libxml2-2.7
52 >= dev-libs/libxslt-1.1.26
53 >= dev-libs/openssl-1.0.0
54 >= dev-libs/soprano-2.6
55 >= dev-libs/shared-desktop-ontologies-0.7
56 >= media-libs/alsa-lib-1.0.24
57 >= media-libs/libjpeg-8
58 >= media-libs/libv4l-0.8
59 >= media-libs/speex-1.2_rc1
60 >= net-dialup/ppp-2.4.5
61 >= net-dns/libidn-1.22
62 >= net-dns/avahi-qt4-0.6.30
63 >= net-misc/rdesktop-1.7
64 >= net-libs/libgadu-1.11
65 >= net-libs/libmsn-4.1
66 >= net-libs/libotr-3.2.0
67 >= net-libs/libvncserver-0.9.8
68 >= net-libs/meanwhile-1.0.2
69 >= net-libs/openslp-1.2
70 >= net-libs/ortp-0.16.5
71 >= x11-libs/libXdamage-1
72 >= x11-libs/libXScrnSaver-1"
73
74 SPLIT_PACKAGES="${PNAME}-filesharing
75 ${PNAME}-kdnssd
76 ${PNAME}-kget
77 ${PNAME}-kopete
78 ${PNAME}-kppp
79 ${PNAME}-krdc
80 ${PNAME}-krfb"
81
82 sminclude kde4-split
83
84 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
85
86 split_info_kdenetwork4-filesharing()
87 {
88 DESCRIPTION="KDE4 network file sharing."
89 DEPEND="== kde-base/kdelibs4-${PVER}"
90 }
91
92 split_info_kdenetwork4-kdnssd()
93 {
94 DESCRIPTION="Zeroconf DNS-SD services."
95 DEPEND="== kde-base/kdelibs4-${PVER}
96 >= net-dns/avahi-qt4-0.6.30"
97 }
98
99 split_info_kdenetwork4-kget()
100 {
101 DESCRIPTION="An advanced download manager for KDE4."
102 DEPEND="== kde-base/kdelibs4-${PVER}
103 == kde-base/kdebase4-workspace-${PVER}
104 >= app-crypt/qca-2
105 >= dev-db/sqlite-3.7
106 >= dev-libs/gmp-5
107 >= dev-libs/libpcre-8.12"
108 }
109
110 split_info_kdenetwork4-kopete()
111 {
112 DESCRIPTION="Instant Messaging client for KDE4."
113 DEPEND="== kde-base/kdelibs4-${PVER}
114 == kde-base/kdepimlibs4-${PVER}
115 >= kde-base/qimageblitz-0.0.6
116 >= app-crypt/qca-2
117 >= app-crypt/qca-ossl-2
118 >= dev-db/sqlite-3.7
119 >= dev-libs/libpcre-8.12
120 >= dev-libs/libxml2-2.7
121 >= dev-libs/libxslt-1.1.26
122 >= dev-libs/openssl-1.0.0
123 >= media-libs/alsa-lib-1.0.24
124 >= media-libs/libjpeg-8
125 >= media-libs/libv4l-0.8
126 >= media-libs/speex-1.2_rc1
127 >= net-dns/libidn-1.22
128 >= net-libs/libgadu-1.11
129 >= net-libs/libmsn-4.1
130 >= net-libs/libotr-3.2.0
131 >= net-libs/meanwhile-1.0.2
132 >= net-libs/ortp-0.16.5
133 >= x11-libs/libXScrnSaver-1"
134 }
135
136 split_info_kdenetwork4-kppp()
137 {
138 DESCRIPTION="KDE4 dialer and front end for pppd."
139 DEPEND="== kde-base/kdelibs4-${PVER}
140 >= net-dialup/ppp-2.4.5"
141 }
142
143 split_info_kdenetwork4-krdc()
144 {
145 DESCRIPTION="KDE4 client for Desktop Sharing."
146 DEPEND="== kde-base/kdelibs4-${PVER}
147 >= media-libs/libjpeg-8
148 >= net-dns/avahi-qt4-0.6.30
149 >= net-libs/libvncserver-0.9.8
150 >= net-misc/rdesktop-1.7"
151 }
152
153 split_info_kdenetwork4-krfb()
154 {
155 DESCRIPTION="KDE4 Desktop Sharing server via VNC."
156 DEPEND="== kde-base/kdelibs4-${PVER}
157 >= media-libs/libjpeg-8
158 >= net-dns/avahi-qt4-0.6.30
159 >= net-libs/libvncserver-0.9.8
160 >= net-libs/openslp-1.2
161 >= x11-libs/libXdamage-1"
162 }
163
164 src_compile()
165 {
166 cd ${SRCDIR}
167
168 local configure_common
169 local configure_libs
170 local configure_features
171
172 # common opts
173 configure_common="$(cmake_build kppp) \
174 $(cmake_enable EMBEDDED_TORRENT_SUPPORT) \
175 $(cmake_with plasma) \
176 $(cmake_with Nepomuk) \
177 $(cmake_with Soprano)"
178
179 # libs progs
180 configure_libs="$(cmake_with Avahi) \
181 $(cmake_with DNSSD) \
182 $(cmake_with GMP) \
183 $(cmake_with IDN) \
184 $(cmake_with JPEG) \
185 $(cmake_with Libgadu) \
186 $(cmake_with LibMeanwhile) \
187 $(cmake_with LibOTR) \
188 $(cmake_with Libmsn) \
189 $(cmake_with LibXml2) \
190 $(cmake_with LibXslt) \
191 $(cmake_with LibV4L2) \
192 $(cmake_with LibVNCServer) \
193 $(cmake_with OpenSSL) \
194 $(cmake_with QCA2) \
195 $(cmake_with Sqlite) \
196 $(cmake_with SLP) \
197 $(cmake_without Xmms)"
198
199 # protocol and other features
200 configure_features="$(cmake_with addbookmarks) \
201 $(cmake_with alias) \
202 $(cmake_with autoreplace) \
203 $(cmake_with bonjour) \
204 $(cmake_with contactnotes) \
205 $(cmake_with gadu) \
206 $(cmake_with groupwise) \
207 $(cmake_with highlight) \
208 $(cmake_with history) \
209 $(cmake_with jabber) \
210 $(cmake_with latex) \
211 $(cmake_with meanwhile) \
212 $(cmake_with nowlistening) \
213 $(cmake_with oscar) \
214 $(cmake_with otr) \
215 $(cmake_with privacy) \
216 $(cmake_with pipes) \
217 $(cmake_with qq) \
218 $(cmake_with sms) \
219 $(cmake_with statistics) \
220 $(cmake_with testbed) \
221 $(cmake_with texteffect) \
222 $(cmake_with translator) \
223 $(cmake_with urlpicpreview) \
224 $(cmake_with webpresence) \
225 $(cmake_with winpopup) \
226 $(cmake_with wlm) \
227 $(cmake_with yahoo) \
228 $(cmake_without irc) \
229 $(cmake_without msn) \
230 $(cmake_without telepathy)"
231
232 kde4_configure ${configure_common} ${configure_libs} ${configure_features} || die
233 mmake || die
234 }