Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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