Annotation of /branches/R11-stable/extras/kdenetwork/kdenetwork-4.10.5-r1.smage2
Parent Directory | Revision Log
Revision 18548 -
(hide annotations)
(download)
Wed Jul 31 10:17:07 2013 UTC (11 years, 1 month ago) by niro
Original Path: trunk/extras/kdenetwork/kdenetwork-4.10.5-r1.smage2
File size: 5434 byte(s)
Wed Jul 31 10:17:07 2013 UTC (11 years, 1 month ago) by niro
Original Path: trunk/extras/kdenetwork/kdenetwork-4.10.5-r1.smage2
File size: 5434 byte(s)
auto added: ver bump to 4.10.5-r1
1 | niro | 18548 | # $Id$ |
2 | |||
3 | PNAME="kdenetwork" | ||
4 | PVER="4.10.5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | SPLIT_PACKAGES="kdenetwork-filesharing | ||
8 | kdnssd | ||
9 | kget | ||
10 | kopete | ||
11 | kppp | ||
12 | krdc | ||
13 | krfb" | ||
14 | |||
15 | # todo: kwebkitpart, mediastreamer | ||
16 | # | ||
17 | # kget deps: | ||
18 | # torrent support needs qca & gmp | ||
19 | # | ||
20 | # kopete plugins with deps | ||
21 | # latex: latex as runtime depend | ||
22 | # statistics: sqlite-3 | ||
23 | # webpresence: libxml2, libxslt | ||
24 | # | ||
25 | # kopete protocols with deps | ||
26 | # gadu: openssl, libgadu | ||
27 | # groupwise: qca-2 | ||
28 | # irc: NO DEPS, probably will fail so inform user about it | ||
29 | # jabber: libidn, qca-2 | ||
30 | # jingle: speex, ortp | ||
31 | # meanwhile: meanwhile | ||
32 | # msn: libmsn == this is wlm plugin, we disable msn one | ||
33 | # telepathy: net-libs/decibel | ||
34 | # webcam support: libv4l | ||
35 | # | ||
36 | # disabled kopete protocols | ||
37 | # telepathy: decibel | ||
38 | # irc: NO DEPS | ||
39 | # | ||
40 | # krdc deps | ||
41 | # krdc: jpeg, libvncserver, rdesktop | ||
42 | # | ||
43 | # krfb deps: | ||
44 | # krfb: libvncserver, openslp, libXdamage | ||
45 | # | ||
46 | |||
47 | COMMON_DEPEND="== kde-base/kdelibs-${PVER}" | ||
48 | RUNTIME_DEPEND="== kde-base/kdebase-runtime-${PVER}" | ||
49 | PIMLIBS_DEPEND="== kde-base/kdepimlibs-${PVER}" | ||
50 | QCA_DEPEND=">= app-crypt/qca-2" | ||
51 | AVAHI_DEPEND=">= net-dns/avahi-qt4-0.6.31" | ||
52 | JPEG_DEPEND=">= media-libs/libjpeg-8" | ||
53 | ZLIB_DEPEND=">= sys-libs/zlib-1.2" | ||
54 | |||
55 | FILESHARING_DEPEND="${COMMON_DEPEND} | ||
56 | >= net-fs/samba-3.6" | ||
57 | |||
58 | KDNSSD_DEPEND="${COMMON_DEPEND} | ||
59 | ${AVAHI_DEPEND}" | ||
60 | |||
61 | KGET_DEPEND="${COMMON_DEPEND} | ||
62 | == kde-base/kdebase-workspace-${PVER} | ||
63 | ${PIMLIBS_DEPEND} | ||
64 | >= kde-base/libktorrent-1.3 | ||
65 | ${QCA_DEPEND} | ||
66 | >= dev-db/sqlite-3.7 | ||
67 | >= dev-libs/libpcre-8.33" | ||
68 | |||
69 | KOPETE_DEPEND="${COMMON_DEPEND} | ||
70 | ${RUNTIME_DEPEND} | ||
71 | ${PIMLIBS_DEPEND} | ||
72 | >= virtual/phonon | ||
73 | >= kde-base/qimageblitz-0.0.6 | ||
74 | >= dev-libs/soprano-2.9 | ||
75 | ${QCA_DEPEND} | ||
76 | >= app-crypt/qca-ossl-2 | ||
77 | >= dev-libs/glib2-2.36 | ||
78 | >= dev-libs/libxml2-2.7 | ||
79 | >= dev-libs/libxslt-1.1.26 | ||
80 | >= media-libs/giflib-5 | ||
81 | >= media-libs/libjasper-1.900 | ||
82 | ${JPEG_DEPEND} | ||
83 | >= media-libs/libv4l-0.9 | ||
84 | >= media-libs/speex-1.1 | ||
85 | >= net-dns/libidn-1.27 | ||
86 | >= net-libs/libgadu-1.11 | ||
87 | >= net-libs/libmsn-4.2 | ||
88 | >= net-libs/libotr3-3.2 | ||
89 | >= net-libs/meanwhile-1 | ||
90 | >= net-libs/ortp-0.20 | ||
91 | ${ZLIB_DEPEND} | ||
92 | >= x11-libs/libXft-2.3 | ||
93 | >= x11-libs/libXpm-3.5 | ||
94 | >= x11-libs/libXScrnSaver-1" | ||
95 | |||
96 | KPPP_DEPEND="${COMMON_DEPEND} | ||
97 | ${RUNTIME_DEPEND} | ||
98 | >= net-dialup/ppp-2.4.5" | ||
99 | |||
100 | KRDC_DEPEND="${COMMON_DEPEND} | ||
101 | ${RUNTIME_DEPEND} | ||
102 | ${JPEG_DEPEND} | ||
103 | ${AVAHI_DEPEND} | ||
104 | >= net-libs/libvncserver-0.9 | ||
105 | >= net-misc/rdesktop-1.7" | ||
106 | |||
107 | KRFB_DEPEND="${COMMON_DEPEND} | ||
108 | ${RUNTIME_DEPEND} | ||
109 | ${JPEG_DEPEND} | ||
110 | ${ZLIB_DEPEND} | ||
111 | >= x11-libs/libXdamage-1" | ||
112 | |||
113 | SDEPEND="${FILESHARING_DEPEND} | ||
114 | ${KDNSSD_DEPEND} | ||
115 | ${KGET_DEPEND} | ||
116 | ${KOPETE_DEPEND} | ||
117 | ${KPPP_DEPEND} | ||
118 | ${KRDC_DEPEND} | ||
119 | ${KRFB_DEPEND} | ||
120 | >= dev-libs/boost-1.53 | ||
121 | >= x11-proto/scrnsaverproto-1" | ||
122 | |||
123 | sminclude kde4-split-2 | ||
124 | |||
125 | SRC_URI+=( mirror://${PNAME}/${PNAME}-4.9.4-giflib5.patch | ||
126 | mirror://${PNAME}/${PNAME}-4.9.4-libotr3.patch ) | ||
127 | |||
128 | UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'" | ||
129 | |||
130 | split_info_kdenetwork-filesharing() | ||
131 | { | ||
132 | DESCRIPTION="KDE4 network file sharing." | ||
133 | DEPEND="${FILESHARING_DEPEND}" | ||
134 | } | ||
135 | |||
136 | split_info_kdnssd() | ||
137 | { | ||
138 | DESCRIPTION="Zeroconf DNS-SD services." | ||
139 | DEPEND="${KDNSSD_DEPEND}" | ||
140 | } | ||
141 | |||
142 | split_info_kget() | ||
143 | { | ||
144 | DESCRIPTION="An advanced download manager for KDE4." | ||
145 | DEPEND="${KGET_DEPEND}" | ||
146 | } | ||
147 | |||
148 | split_info_kopete() | ||
149 | { | ||
150 | DESCRIPTION="Instant Messaging client for KDE4." | ||
151 | DEPEND="${KOPETE_DEPEND}" | ||
152 | } | ||
153 | |||
154 | split_info_kppp() | ||
155 | { | ||
156 | DESCRIPTION="KDE4 dialer and front end for pppd." | ||
157 | DEPEND="${KPPP_DEPEND}" | ||
158 | } | ||
159 | |||
160 | split_info_krdc() | ||
161 | { | ||
162 | DESCRIPTION="KDE4 client for Desktop Sharing." | ||
163 | DEPEND="${KRDC_DEPEND}" | ||
164 | } | ||
165 | |||
166 | split_info_krfb() | ||
167 | { | ||
168 | DESCRIPTION="KDE4 Desktop Sharing server via VNC." | ||
169 | DEPEND="${KRFB_DEPEND}" | ||
170 | } | ||
171 | |||
172 | src_prepare() | ||
173 | { | ||
174 | munpack ${SRCFILE} || die | ||
175 | cd ${SRCDIR} | ||
176 | |||
177 | # giflib-5.x compat | ||
178 | mpatch ${PNAME}-4.9.4-giflib5.patch || die | ||
179 | |||
180 | # explicitly use libotr3 | ||
181 | mpatch ${PNAME}-4.9.4-libotr3.patch || die | ||
182 | } | ||
183 | |||
184 | src_compile() | ||
185 | { | ||
186 | cd ${SRCDIR} | ||
187 | |||
188 | local configure_common | ||
189 | local configure_libs | ||
190 | local configure_features | ||
191 | |||
192 | # common opts | ||
193 | configure_common="$(cmake_build kppp) \ | ||
194 | $(cmake_with plasma) \ | ||
195 | $(cmake_with Nepomuk) \ | ||
196 | $(cmake_with Soprano)" | ||
197 | |||
198 | # libs progs | ||
199 | configure_libs="$(cmake_with Avahi) \ | ||
200 | $(cmake_with DNSSD) \ | ||
201 | $(cmake_with GMP) \ | ||
202 | $(cmake_with IDN) \ | ||
203 | $(cmake_with JPEG) \ | ||
204 | $(cmake_with KTorrent) \ | ||
205 | $(cmake_with Libgadu) \ | ||
206 | $(cmake_with LibMeanwhile) \ | ||
207 | $(cmake_with LibOTR) \ | ||
208 | $(cmake_with Libmsn) \ | ||
209 | $(cmake_with LibXml2) \ | ||
210 | $(cmake_with LibXslt) \ | ||
211 | $(cmake_with LibV4L2) \ | ||
212 | $(cmake_with LibVNCServer) \ | ||
213 | $(cmake_with OpenSSL) \ | ||
214 | $(cmake_with QCA2) \ | ||
215 | $(cmake_with Sqlite) \ | ||
216 | $(cmake_with SLP) \ | ||
217 | $(cmake_without Xmms)" | ||
218 | |||
219 | # protocol and other features | ||
220 | configure_features="$(cmake_with addbookmarks) \ | ||
221 | $(cmake_with alias) \ | ||
222 | $(cmake_with autoreplace) \ | ||
223 | $(cmake_with bonjour) \ | ||
224 | $(cmake_with contactnotes) \ | ||
225 | $(cmake_with gadu) \ | ||
226 | $(cmake_with groupwise) \ | ||
227 | $(cmake_with highlight) \ | ||
228 | $(cmake_with history) \ | ||
229 | $(cmake_with jabber) \ | ||
230 | $(cmake_with latex) \ | ||
231 | $(cmake_with meanwhile) \ | ||
232 | $(cmake_with nowlistening) \ | ||
233 | $(cmake_with oscar) \ | ||
234 | $(cmake_with otr) \ | ||
235 | $(cmake_with privacy) \ | ||
236 | $(cmake_with pipes) \ | ||
237 | $(cmake_with qq) \ | ||
238 | $(cmake_with sms) \ | ||
239 | $(cmake_with statistics) \ | ||
240 | $(cmake_with testbed) \ | ||
241 | $(cmake_with texteffect) \ | ||
242 | $(cmake_with translator) \ | ||
243 | $(cmake_with urlpicpreview) \ | ||
244 | $(cmake_with webpresence) \ | ||
245 | $(cmake_with winpopup) \ | ||
246 | $(cmake_with wlm) \ | ||
247 | $(cmake_with yahoo) \ | ||
248 | $(cmake_without irc) \ | ||
249 | $(cmake_without msn) \ | ||
250 | $(cmake_without telepathy)" | ||
251 | |||
252 | kde4_configure ${configure_common} ${configure_libs} ${configure_features} || die | ||
253 | mmake || die | ||
254 | } |