1 |
commit: b7a333a546e7d5a8f18fd32b3a2d16e521dabc03 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 26 22:55:22 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 26 22:55:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a333a5 |
7 |
|
8 |
net-libs/ptlib: remove last rited package |
9 |
|
10 |
net-libs/ptlib/Manifest | 2 - |
11 |
.../files/ptlib-2.10.10-mga-bison-parameter.patch | 39 ---- |
12 |
.../ptlib-2.10.10-respect_cflags_cxxflags.patch | 14 -- |
13 |
net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch | 29 --- |
14 |
.../ptlib-2.10.9-disable-telnet-symbols.patch | 19 -- |
15 |
.../files/ptlib-2.10.9-pkgconfig_ldflags.patch | 11 - |
16 |
.../files/ptlib-2.10.9-respect_cxxflags.patch | 10 - |
17 |
.../files/ptlib-2.10.9-svn_revision_override.patch | 18 -- |
18 |
net-libs/ptlib/metadata.xml | 25 --- |
19 |
net-libs/ptlib/ptlib-2.10.11.ebuild | 225 --------------------- |
20 |
10 files changed, 392 deletions(-) |
21 |
|
22 |
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest |
23 |
deleted file mode 100644 |
24 |
index dbbe4e698a7..00000000000 |
25 |
--- a/net-libs/ptlib/Manifest |
26 |
+++ /dev/null |
27 |
@@ -1,2 +0,0 @@ |
28 |
-DIST ptlib-2.10.10-htmldoc.tar.bz2 4504867 BLAKE2B a260c8a170c067e89f07185e0512f7857f2ffcc3c93a3d3853bd93a367333fcd94cd7e9d767e2131180fb9be09ce16c1f4d6c8052bee2db6feda8274d9eaa674 SHA512 7db5d169ad107132d2bca945a1269bae0dd0100b7566b1766dda83d0559a6f2044ffc21905520f7f15d218dd0b1290eaa13d5150d81340c6b0a9a464a713741d |
29 |
-DIST ptlib-2.10.11.tar.bz2 3736259 BLAKE2B f594f71ca11b7828b5bcb88f5b7468c3689afa68d2cac6693a37cce12aa188e5c4b724eb08e3a8f077c57613846ba1b261c2b3a16a9345030332b5dd0c5b83e3 SHA512 ac8af8962330abf11986ccb863be0990c2e78ae611666d17c68068b72c4a5ea523ba74c55566284c3549e2346e407ccfffb5cc509fbf6ef19f1eb51dcb8b5f15 |
30 |
|
31 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch b/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch |
32 |
deleted file mode 100644 |
33 |
index fcc8d0d2e7a..00000000000 |
34 |
--- a/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch |
35 |
+++ /dev/null |
36 |
@@ -1,39 +0,0 @@ |
37 |
---- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200 |
38 |
-+++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100 |
39 |
-@@ -121,9 +121,9 @@ |
40 |
- static int yylex(); |
41 |
- |
42 |
- #ifdef __GNUC__ |
43 |
--static int yyerror(char const *msg); |
44 |
-+static int yyerror(void *, char const *msg); |
45 |
- #else |
46 |
--static void yyerror(char const *msg); |
47 |
-+static void yyerror(void *, char const *msg); |
48 |
- #endif |
49 |
- |
50 |
- |
51 |
-@@ -132,7 +132,8 @@ |
52 |
- |
53 |
- %} |
54 |
- |
55 |
--%pure_parser |
56 |
-+%pure-parser |
57 |
-+%parse-param {void *parseParam} |
58 |
- |
59 |
- %union { |
60 |
- time_t Number; |
61 |
-@@ -1018,12 +1019,12 @@ |
62 |
- #endif |
63 |
- |
64 |
- #ifdef __GNUC__ |
65 |
--int yyerror(const char * s) |
66 |
-+int yyerror(void *var, const char * s) |
67 |
- { |
68 |
- return 0; |
69 |
- } |
70 |
- #else |
71 |
--static void yyerror(const char * s) |
72 |
-+static void yyerror(void *var, const char * s) |
73 |
- { |
74 |
- } |
75 |
- #endif |
76 |
|
77 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.10-respect_cflags_cxxflags.patch b/net-libs/ptlib/files/ptlib-2.10.10-respect_cflags_cxxflags.patch |
78 |
deleted file mode 100644 |
79 |
index 4442d333fcd..00000000000 |
80 |
--- a/net-libs/ptlib/files/ptlib-2.10.10-respect_cflags_cxxflags.patch |
81 |
+++ /dev/null |
82 |
@@ -1,14 +0,0 @@ |
83 |
-diff -ur ptlib-2.10.10.orig/make/ptbuildopts.mak.in ptlib-2.10.10/make/ptbuildopts.mak.in |
84 |
---- ptlib-2.10.10.orig/make/ptbuildopts.mak.in 2014-08-04 18:11:02.000000000 +0000 |
85 |
-+++ ptlib-2.10.10/make/ptbuildopts.mak.in 2014-08-04 18:11:32.000000000 +0000 |
86 |
-@@ -15,8 +15,8 @@ |
87 |
- OSTYPE = @OSTYPE@ |
88 |
- OSRELEASE = @OSRELEASE@ |
89 |
- |
90 |
--STDCCFLAGS += @STDCCFLAGS@ @CPPFLAGS@ |
91 |
--STDCXXFLAGS += @STDCXXFLAGS@ @CPPFLAGS@ |
92 |
-+STDCCFLAGS += @STDCCFLAGS@ @CFLAGS@ |
93 |
-+STDCXXFLAGS += @STDCXXFLAGS@ @CXXFLAGS@ |
94 |
- OPTSTDCCFLAGS += @OPTSTDCCFLAGS@ |
95 |
- LDFLAGS += @LDFLAGS@ |
96 |
- ENDLDLIBS += @ENDLDLIBS@ |
97 |
\ No newline at end of file |
98 |
|
99 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch b/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch |
100 |
deleted file mode 100644 |
101 |
index 140de64f16e..00000000000 |
102 |
--- a/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch |
103 |
+++ /dev/null |
104 |
@@ -1,29 +0,0 @@ |
105 |
---- a/src/ptlib/unix/svcproc.cxx |
106 |
-+++ b/src/ptlib/unix/svcproc.cxx |
107 |
-@@ -217,7 +217,7 @@ |
108 |
- pid_t pid; |
109 |
- |
110 |
- { |
111 |
-- ifstream pidfile(pidfilename); |
112 |
-+ ifstream pidfile(static_cast<const char*>(pidfilename)); |
113 |
- if (!pidfile.is_open()) { |
114 |
- cout << "Could not open pid file: \"" << pidfilename << "\"" |
115 |
- " - " << strerror(errno) << endl; |
116 |
-@@ -384,7 +384,7 @@ |
117 |
- // Run as a daemon, ie fork |
118 |
- |
119 |
- if (!pidfilename) { |
120 |
-- ifstream pidfile(pidfilename); |
121 |
-+ ifstream pidfile(static_cast<const char*>(pidfilename)); |
122 |
- if (pidfile.is_open()) { |
123 |
- pid_t pid; |
124 |
- pidfile >> pid; |
125 |
-@@ -412,7 +412,7 @@ |
126 |
- cout << "Daemon started with pid " << pid << endl; |
127 |
- if (!pidfilename) { |
128 |
- // Write out the child pid to magic file in /var/run (at least for linux) |
129 |
-- ofstream pidfile(pidfilename); |
130 |
-+ ofstream pidfile(static_cast<const char*>(pidfilename)); |
131 |
- if (pidfile.is_open()) |
132 |
- pidfile << pid; |
133 |
- else |
134 |
|
135 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch b/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch |
136 |
deleted file mode 100644 |
137 |
index 0a3012c8510..00000000000 |
138 |
--- a/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch |
139 |
+++ /dev/null |
140 |
@@ -1,19 +0,0 @@ |
141 |
-diff -uNr ptlib-2.10.8.orig/src/ptclib/cli.cxx ptlib-2.10.8/src/ptclib/cli.cxx |
142 |
---- ptlib-2.10.8.orig/src/ptclib/cli.cxx 2012-10-19 13:45:35.000000000 -0400 |
143 |
-+++ ptlib-2.10.8/src/ptclib/cli.cxx 2012-10-22 16:02:58.000000000 -0400 |
144 |
-@@ -858,6 +858,7 @@ |
145 |
- |
146 |
- /////////////////////////////////////////////////////////////////////////////// |
147 |
- |
148 |
-+#ifdef HAS_TELNET |
149 |
- PCLITelnet::PCLITelnet(WORD port, const char * prompt, bool singleThreadForAll) |
150 |
- : PCLISocket(port, prompt, singleThreadForAll) |
151 |
- { |
152 |
-@@ -868,6 +869,7 @@ |
153 |
- { |
154 |
- return new PTelnetSocket(); |
155 |
- } |
156 |
-+#endif |
157 |
- |
158 |
- |
159 |
- /////////////////////////////////////////////////////////////////////////////// |
160 |
|
161 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch b/net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch |
162 |
deleted file mode 100644 |
163 |
index acd531977c3..00000000000 |
164 |
--- a/net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch |
165 |
+++ /dev/null |
166 |
@@ -1,11 +0,0 @@ |
167 |
-diff -uNr ptlib-2.10.8.orig/ptlib.pc.in ptlib-2.10.8/ptlib.pc.in |
168 |
---- ptlib-2.10.8.orig/ptlib.pc.in 2012-10-19 13:45:35.000000000 -0400 |
169 |
-+++ ptlib-2.10.8/ptlib.pc.in 2012-10-19 14:03:26.000000000 -0400 |
170 |
-@@ -11,7 +11,7 @@ |
171 |
- Name: ptlib |
172 |
- Description: PT Library |
173 |
- Version: @PTLIB_VERSION@ |
174 |
--Libs: @LDFLAGS@ -L${libdir} -lpt${suffix} |
175 |
-+Libs: @ENDLDLIBS@ -L${libdir} -lpt${suffix} |
176 |
- Libs.private: @ENDLDLIBS@ |
177 |
- Cflags: -I${includedir} @STDCCFLAGS@ |
178 |
|
179 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch b/net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch |
180 |
deleted file mode 100644 |
181 |
index dc09f960f05..00000000000 |
182 |
--- a/net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch |
183 |
+++ /dev/null |
184 |
@@ -1,10 +0,0 @@ |
185 |
-diff -uNr ptlib-2.10.8.orig/configure.ac ptlib-2.10.8/configure.ac |
186 |
---- ptlib-2.10.8.orig/configure.ac 2012-10-19 13:45:35.000000000 -0400 |
187 |
-+++ ptlib-2.10.8/configure.ac 2012-10-23 08:08:57.000000000 -0400 |
188 |
-@@ -538,7 +540,7 @@ |
189 |
- AC_MSG_RESULT(yes) |
190 |
- else |
191 |
- AC_MSG_RESULT(no) |
192 |
-- STDCXXFLAGS="$STDCCFLAGS -frtti" |
193 |
-+ STDCXXFLAGS="$STDCXXFLAGS -frtti" |
194 |
- fi |
195 |
|
196 |
diff --git a/net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch b/net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch |
197 |
deleted file mode 100644 |
198 |
index 5531fd9f6fc..00000000000 |
199 |
--- a/net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch |
200 |
+++ /dev/null |
201 |
@@ -1,18 +0,0 @@ |
202 |
-diff -uNr ptlib-2.10.8.orig/src/ptlib/common/osutils.cxx ptlib-2.10.8/src/ptlib/common/osutils.cxx |
203 |
---- ptlib-2.10.8.orig/src/ptlib/common/osutils.cxx 2012-10-19 13:45:35.000000000 -0400 |
204 |
-+++ ptlib-2.10.8/src/ptlib/common/osutils.cxx 2012-10-19 13:52:50.000000000 -0400 |
205 |
-@@ -43,13 +43,13 @@ |
206 |
- #include <ptlib/svcproc.h> |
207 |
- #include <ptlib/pluginmgr.h> |
208 |
- #include "../../../version.h" |
209 |
--#include "../../../revision.h" |
210 |
-+# define SVN_REVISION 0 |
211 |
-+//#include "../../../revision.h" |
212 |
- |
213 |
- #ifdef _WIN32 |
214 |
- #include <ptlib/msos/ptlib/debstrm.h> |
215 |
- #endif |
216 |
- |
217 |
-- |
218 |
- static const char * const VersionStatus[PProcess::NumCodeStatuses] = { "alpha", "beta", "." }; |
219 |
- static const char DefaultRollOverPattern[] = "_yyyy_MM_dd_hh_mm"; |
220 |
|
221 |
diff --git a/net-libs/ptlib/metadata.xml b/net-libs/ptlib/metadata.xml |
222 |
deleted file mode 100644 |
223 |
index 11317127f35..00000000000 |
224 |
--- a/net-libs/ptlib/metadata.xml |
225 |
+++ /dev/null |
226 |
@@ -1,25 +0,0 @@ |
227 |
-<?xml version="1.0" encoding="UTF-8"?> |
228 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
229 |
-<pkgmetadata> |
230 |
- <!-- maintainer-needed --> |
231 |
- <use> |
232 |
- <flag name="asn">Enable ASN decoding/encoding support</flag> |
233 |
- <flag name="dtmf">Enable DTMF encoding/decoding support</flag> |
234 |
- <flag name="http">Enable HTTP support</flag> |
235 |
- <flag name="mail">Enable mail protocols (POP3/SMTP)</flag> |
236 |
- <flag name="qos">Enable QOS support</flag> |
237 |
- <flag name="remote">Enable remote connection support</flag> |
238 |
- <flag name="serial">Enable serial port support</flag> |
239 |
- <flag name="shmvideo">Enable shared memory video devices</flag> |
240 |
- <flag name="socks">Enable SOCKS protocol support</flag> |
241 |
- <flag name="stun">Enable STUN support</flag> |
242 |
- <flag name="telnet">Enable telnet protocol support</flag> |
243 |
- <flag name="tts">Enable Text-To-Speech server support</flag> |
244 |
- <flag name="video">Enable video support</flag> |
245 |
- <flag name="vxml">Enable VoiceXML support</flag> |
246 |
- <flag name="wav">Enable WAVFILE support</flag> |
247 |
- </use> |
248 |
- <upstream> |
249 |
- <remote-id type="sourceforge">opalvoip</remote-id> |
250 |
- </upstream> |
251 |
-</pkgmetadata> |
252 |
|
253 |
diff --git a/net-libs/ptlib/ptlib-2.10.11.ebuild b/net-libs/ptlib/ptlib-2.10.11.ebuild |
254 |
deleted file mode 100644 |
255 |
index 02495a8d0e3..00000000000 |
256 |
--- a/net-libs/ptlib/ptlib-2.10.11.ebuild |
257 |
+++ /dev/null |
258 |
@@ -1,225 +0,0 @@ |
259 |
-# Copyright 1999-2017 Gentoo Foundation |
260 |
-# Distributed under the terms of the GNU General Public License v2 |
261 |
- |
262 |
-EAPI="5" |
263 |
- |
264 |
-inherit eutils |
265 |
- |
266 |
-DESCRIPTION="Network focused portable C++ class library providing high level functions" |
267 |
-HOMEPAGE="http://www.opalvoip.org/" |
268 |
-SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 |
269 |
- doc? ( mirror://sourceforge/opalvoip/${PN}-2.10.10-htmldoc.tar.bz2 )" |
270 |
- |
271 |
-LICENSE="MPL-1.0" |
272 |
-SLOT="0/${PV}" |
273 |
-KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" |
274 |
-# default enabled are features from 'minsize', the most used according to ptlib |
275 |
-IUSE="alsa +asn debug doc +dtmf examples ffmpeg ftp +http ipv6 |
276 |
-xmpp ldap lua mail odbc oss pch pulseaudio qos remote sasl sdl serial |
277 |
-shmvideo snmp soap socks +sound ssl static-libs +stun telnet tts v4l +video |
278 |
-vxml +wav +xml xmlrpc" |
279 |
- |
280 |
-CDEPEND=" |
281 |
- ldap? ( net-nds/openldap ) |
282 |
- lua? ( dev-lang/lua ) |
283 |
- odbc? ( dev-db/unixODBC ) |
284 |
- pulseaudio? ( media-sound/pulseaudio ) |
285 |
- sasl? ( dev-libs/cyrus-sasl:2 ) |
286 |
- sdl? ( media-libs/libsdl ) |
287 |
- sound? ( alsa? ( media-libs/alsa-lib ) ) |
288 |
- ssl? ( dev-libs/openssl ) |
289 |
- video? ( v4l? ( media-libs/libv4l ) ) |
290 |
- xml? ( dev-libs/expat ) |
291 |
- !!dev-libs/pwlib" |
292 |
-RDEPEND="${CDEPEND} |
293 |
- ffmpeg? ( virtual/ffmpeg )" |
294 |
-DEPEND="${CDEPEND} |
295 |
- virtual/pkgconfig |
296 |
- sys-devel/bison |
297 |
- sys-devel/flex |
298 |
- video? ( v4l? ( sys-kernel/linux-headers ) )" |
299 |
- |
300 |
-# NOTES: |
301 |
-# media-libs/libdc1394:2 should be supported but headers location have changed |
302 |
-# tools/ directory is ignored |
303 |
-# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 |
304 |
- |
305 |
-conditional_use_warn_msg() { |
306 |
- ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" |
307 |
- ewarn "Please, enable ${2} or disable ${1}" |
308 |
-} |
309 |
- |
310 |
-REQUIRED_USE="sdl? ( video ) |
311 |
- xmpp? ( xml ) |
312 |
- vxml? ( http tts xml ) |
313 |
- xmlrpc? ( http xml ) |
314 |
- soap? ( http xml )" |
315 |
- |
316 |
-src_prepare() { |
317 |
- epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" \ |
318 |
- "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" \ |
319 |
- "${FILESDIR}/${PN}-2.10.9-respect_cxxflags.patch" \ |
320 |
- "${FILESDIR}/${PN}-2.10.10-mga-bison-parameter.patch" \ |
321 |
- "${FILESDIR}/${PN}-2.10.10-respect_cflags_cxxflags.patch" \ |
322 |
- "${FILESDIR}/${P}-gcc6.patch" |
323 |
- |
324 |
- if ! use telnet; then |
325 |
- epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch" |
326 |
- fi |
327 |
- |
328 |
- # remove visual studio related files from samples/ |
329 |
- if use examples; then |
330 |
- rm -f samples/*/*.vcproj |
331 |
- rm -f samples/*/*.sln |
332 |
- rm -f samples/*/*.dsp |
333 |
- rm -f samples/*/*.dsw |
334 |
- fi |
335 |
- |
336 |
- if [[ ! -z ${TARGET+set} ]]; then |
337 |
- ewarn "TARGET variable is set. Removing as it would break the build, bug #465722." |
338 |
- unset TARGET |
339 |
- fi |
340 |
-} |
341 |
- |
342 |
-src_configure() { |
343 |
- local myconf="" |
344 |
- |
345 |
- # plugins are disabled only if ! sound and ! video |
346 |
- if ! use sound && ! use video; then |
347 |
- myconf="${myconf} --disable-plugins" |
348 |
- else |
349 |
- myconf="${myconf} --enable-plugins" |
350 |
- fi |
351 |
- |
352 |
- # minsize: presets of features (overwritten by use flags) |
353 |
- # ansi-bool, atomicity: there is no reason to disable those features |
354 |
- # internalregex: we want to use system one |
355 |
- # sunaudio and bsdvideo are respectively for SunOS and BSD's |
356 |
- # appshare, vfw: only for windows |
357 |
- # samples: no need to build samples |
358 |
- # avc: disabled, bug 276514, upstream bug 2821744 |
359 |
- # mlib: SUN mediaLibs. Not in tree. |
360 |
- # pipechan, configfile, resolver, url: force enabling |
361 |
- econf ${myconf} \ |
362 |
- --disable-minsize \ |
363 |
- --enable-ansi-bool \ |
364 |
- --enable-atomicity \ |
365 |
- --disable-internalregex \ |
366 |
- --disable-sunaudio \ |
367 |
- --disable-bsdvideo \ |
368 |
- --disable-appshare \ |
369 |
- --disable-vfw \ |
370 |
- --disable-samples \ |
371 |
- --disable-avc \ |
372 |
- --disable-mlib \ |
373 |
- --enable-configfile \ |
374 |
- --enable-pipechan \ |
375 |
- --enable-resolver \ |
376 |
- --enable-url \ |
377 |
- $(use_enable alsa) \ |
378 |
- $(use_enable asn) \ |
379 |
- $(use_enable debug exceptions) \ |
380 |
- $(use_enable debug memcheck) \ |
381 |
- $(use_enable debug tracing) \ |
382 |
- $(use_enable dtmf) \ |
383 |
- --disable-esd \ |
384 |
- $(use_enable ffmpeg ffvdev) \ |
385 |
- $(use_enable ftp) \ |
386 |
- $(use_enable http) \ |
387 |
- $(use_enable http httpforms) \ |
388 |
- $(use_enable http httpsvc) \ |
389 |
- --disable-dc \ |
390 |
- $(use_enable ipv6) \ |
391 |
- $(use_enable xmpp jabber) \ |
392 |
- $(use_enable ldap openldap) \ |
393 |
- $(use_enable lua) \ |
394 |
- $(use_enable mail pop3smtp) \ |
395 |
- $(use_enable pulseaudio pulse) \ |
396 |
- $(use_enable odbc) \ |
397 |
- $(use_enable oss) \ |
398 |
- $(use_enable pch) \ |
399 |
- $(use_enable qos) \ |
400 |
- $(use_enable remote remconn) \ |
401 |
- $(use_enable sasl) \ |
402 |
- $(use_enable sdl) \ |
403 |
- $(use_enable serial) \ |
404 |
- $(use_enable shmvideo) \ |
405 |
- $(use_enable snmp) \ |
406 |
- $(use_enable soap) \ |
407 |
- $(use_enable socks) \ |
408 |
- $(use_enable sound audio) \ |
409 |
- $(use_enable ssl openssl) \ |
410 |
- $(use_enable stun) \ |
411 |
- $(use_enable telnet) \ |
412 |
- $(use_enable tts) \ |
413 |
- --disable-v4l \ |
414 |
- $(use_enable v4l v4l2) \ |
415 |
- $(use_enable video) $(use_enable video vidfile) \ |
416 |
- $(use_enable vxml) \ |
417 |
- $(use_enable wav wavfile) \ |
418 |
- $(use_enable xml expat) \ |
419 |
- $(use_enable xmlrpc) |
420 |
-} |
421 |
- |
422 |
-src_compile() { |
423 |
- local makeopts="" |
424 |
- tc-env_build |
425 |
- |
426 |
- use debug && makeopts="debug" |
427 |
- |
428 |
- emake ${makeopts} V=1 || die "emake failed" |
429 |
-} |
430 |
- |
431 |
-src_install() { |
432 |
- local makeopts="" |
433 |
- |
434 |
- use debug && makeopts="DEBUG=1" |
435 |
- |
436 |
- emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" |
437 |
- |
438 |
- # Get rid of static libraries if not requested |
439 |
- # There seems to be no easy way to disable this in the build system |
440 |
- if ! use static-libs; then |
441 |
- rm -v "${D}"/usr/lib*/*.a || die |
442 |
- fi |
443 |
- |
444 |
- if use doc; then |
445 |
- dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" |
446 |
- fi |
447 |
- |
448 |
- dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" |
449 |
- |
450 |
- if use sound || use video; then |
451 |
- newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" |
452 |
- fi |
453 |
- |
454 |
- if use examples; then |
455 |
- local exampledir="/usr/share/doc/${PF}/examples" |
456 |
- local basedir="samples" |
457 |
- local sampledirs="`ls samples --hide=Makefile`" |
458 |
- |
459 |
- # first, install Makefile |
460 |
- insinto ${exampledir}/ |
461 |
- doins ${basedir}/Makefile || die "doins failed" |
462 |
- |
463 |
- # now, all examples |
464 |
- for x in ${sampledirs}; do |
465 |
- insinto ${exampledir}/${x}/ |
466 |
- doins ${basedir}/${x}/* || die "doins failed" |
467 |
- done |
468 |
- fi |
469 |
-} |
470 |
- |
471 |
-pkg_postinst() { |
472 |
- if use examples; then |
473 |
- ewarn "All examples have been installed, some of them will not work on your system" |
474 |
- ewarn "it will depend of the enabled USE flags." |
475 |
- ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" |
476 |
- fi |
477 |
- |
478 |
- if ! use sound || ! use video; then |
479 |
- ewarn "You have disabled sound or video USE flags." |
480 |
- ewarn "Most audio/video have been disabled silently even if enabled via USE flags." |
481 |
- ewarn "Having a feature enabled via use flag but disabled can lead to issues." |
482 |
- fi |
483 |
-} |