diff options
author | Jesus Rivero <neurogeekster@gmail.com> | 2014-03-20 09:25:16 -0400 |
---|---|---|
committer | Jesus Rivero <neurogeekster@gmail.com> | 2014-03-20 09:25:16 -0400 |
commit | b9ce79d6aeedda8212722b627a60402a670affc9 (patch) | |
tree | 1fa728e44e2fbc43a3701559b7df0e6e21b73ba3 /net-libs | |
parent | New packages and some version bumps (diff) | |
download | neurogeek-b9ce79d6aeedda8212722b627a60402a670affc9.tar.gz neurogeek-b9ce79d6aeedda8212722b627a60402a670affc9.tar.bz2 neurogeek-b9ce79d6aeedda8212722b627a60402a670affc9.zip |
Version bump for ptlib-2.14.0
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ptlib/ChangeLog | 216 | ||||
-rw-r--r-- | net-libs/ptlib/Manifest | 24 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch | 19 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch | 11 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch | 10 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch | 18 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch | 12 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch | 11 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.6.4-vxml-ptones.patch | 10 | ||||
-rw-r--r-- | net-libs/ptlib/metadata.xml | 27 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.10.10.ebuild | 228 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.10.9.ebuild | 223 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.12.4.ebuild | 223 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.14.0.ebuild | 207 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.6.7-r1.ebuild | 276 |
15 files changed, 1515 insertions, 0 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog new file mode 100644 index 0000000..21a6241 --- /dev/null +++ b/net-libs/ptlib/ChangeLog @@ -0,0 +1,216 @@ +# ChangeLog for net-libs/ptlib +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.50 2013/10/27 09:45:21 pacho Exp $ + + 27 Oct 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml: + Voip herd is removed: http://article.gmane.org/gmane.linux.gentoo.devel/88434 + + 24 Jun 2013; Tomáš Chvátal <scarabeus@gentoo.org> + +files/ptlib-2.12.4-sdl-linking.patch, ptlib-2.12.4.ebuild: + Fix building when linking to sdl, the libs were not propagated properly. Wrt + bug#474362. + +*ptlib-2.12.4 (22 Jun 2013) + + 22 Jun 2013; Tomáš Chvátal <scarabeus@gentoo.org> + +files/ptlib-2.12.4-respect_cxxflags.patch, +ptlib-2.12.4.ebuild: + Version bump to latest ptlib, prep for opal bump needed for libav9. + + 16 Apr 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + ptlib-2.10.10.ebuild: + Guard against TARGET variable, bug #465722. + + 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for ppc64, wrt bug #461842 + + 01 Apr 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for alpha, wrt bug #461842 + + 01 Apr 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for ia64, wrt bug #461842 + + 30 Mar 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for ppc, wrt bug #461842 + + 28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for x86, wrt bug #461842 + + 28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> ptlib-2.10.10.ebuild: + Stable for amd64, wrt bug #461842 + +*ptlib-2.10.10 (05 Mar 2013) + + 05 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +ptlib-2.10.10.ebuild: + Version bump. + + 16 Dec 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml: + Cleanup due retirement, #260683 + +*ptlib-2.10.9 (03 Dec 2012) + + 03 Dec 2012; Jesus Rivero <neurogeek@gentoo.org> -ptlib-2.10.8.ebuild, + -files/ptlib-2.10.8-disable-telnet-symbols.patch, + -files/ptlib-2.10.8-pkgconfig_ldflags.patch, + -files/ptlib-2.10.8-respect_cxxflags.patch, + -files/ptlib-2.10.8-svn_revision_override.patch, +ptlib-2.10.9.ebuild, + +files/ptlib-2.10.9-disable-telnet-symbols.patch, + +files/ptlib-2.10.9-pkgconfig_ldflags.patch, + +files/ptlib-2.10.9-respect_cxxflags.patch, + +files/ptlib-2.10.9-svn_revision_override.patch: + Version bump. Added pulseaudio USE wrt bug #442458 + + 23 Oct 2012; Jesus Rivero <neurogeek@gentoo.org> +ptlib-2.10.8.ebuild, + +files/ptlib-2.10.8-disable-telnet-symbols.patch, + +files/ptlib-2.10.8-pkgconfig_ldflags.patch, + +files/ptlib-2.10.8-respect_cxxflags.patch, + +files/ptlib-2.10.8-svn_revision_override.patch, metadata.xml: + Version bump. Closes several bugs. Added myself as maintainer + + 23 Oct 2012; Jesus Rivero <neurogeek@gentoo.org> +ptlib-2.10.8.ebuild, + +files/ptlib-2.10.8-disable-telnet-symbols.patch, + +files/ptlib-2.10.8-pkgconfig_ldflags.patch, + +files/ptlib-2.10.8-respect_cxxflags.patch, + +files/ptlib-2.10.8-svn_revision_override.patch, metadata.xml: + Version bump. Closes several bugs. Added myself as maintainer + +*ptlib-2.10.8 (22 Oct 2012) + + 22 Oct 2012; Jesus Rivero <neurogeek@gentoo.org> +ptlib-2.10.8.ebuild, + +files/ptlib-2.10.8-pkgconfig_ldflags.patch, + +files/ptlib-2.10.8-svn_revision_override.patch: + Version bump. Closes bug #338319 and some other related bugs + + 30 Sep 2012; Raúl Porcel <armin76@gentoo.org> ptlib-2.6.7-r1.ebuild: + alpha stable wrt #397617 + + 17 Jun 2012; Raúl Porcel <armin76@gentoo.org> ptlib-2.6.7-r1.ebuild: + ia64/sparc stable wrt #397617 + + 20 May 2012; Mark Loeser <halcy0n@gentoo.org> ptlib-2.6.7-r1.ebuild: + Stable for ppc/ppc64; bug #397617 + + 05 May 2012; Jeff Horelick <jdhore@gentoo.org> ptlib-2.6.7-r1.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 25 Mar 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml: + Set herd as primary maintainer as talked with volkmar. + + 18 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> ptlib-2.6.7-r1.ebuild: + Remove USE="esd" because media-sound/esound isn't in tree anymore. + + 09 Jan 2012; Agostino Sarubbo <ago@gentoo.org> ptlib-2.6.7-r1.ebuild: + Stable for AMD64, wrt bug #397617 + + 04 Jan 2012; Nirbheek Chauhan <nirbheek@gentoo.org> ptlib-2.6.7-r1.ebuild: + Make installation of static libraries optional, reported by ago + + 30 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> ptlib-2.6.7-r1.ebuild: + Rename obsolete USE="v4l2" to USE="v4l" wrt #385241 + + 13 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> -ptlib-2.6.7.ebuild: + old + + 13 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> ptlib-2.6.7-r1.ebuild: + Remove <media-libs/libdc1394-2 and v4l1 support wrt #367085 by Steve Williams + + 04 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> ptlib-2.6.7.ebuild: + Use virtual/ffmpeg in all versions. + + 04 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> ptlib-2.6.7-r1.ebuild: + Move to virtual/ffmpeg from media-video/ffmpeg. + + 25 Mar 2011; Peter Volkov <pva@gentoo.org> ptlib-2.6.7-r1.ebuild: + Move pwlib blocker to RDEPEND, bug #353182 thank list(AT)phuk.ath.cx for + report. + + 18 Jan 2011; Christian Faulhammer <fauli@gentoo.org> + ptlib-2.6.7-r1.ebuild: + stable x86, bug 348987 + + 01 Nov 2010; Mark Loeser <halcy0n@gentoo.org> ptlib-2.6.7-r1.ebuild: + Add ~ppc64; bug #276355 + + 28 Oct 2010; Mounir Lamouri <volkmar@gentoo.org> -ptlib-2.6.4-r1.ebuild, + -ptlib-2.6.5.ebuild, -ptlib-2.6.6.ebuild: + Removing old ebuilds. + +*ptlib-2.6.7-r1 (28 Oct 2010) + + 28 Oct 2010; Mounir Lamouri <volkmar@gentoo.org> +ptlib-2.6.7-r1.ebuild: + Bring back fix for bug 283675, fixing now bug 327731. + +*ptlib-2.6.7 (19 Aug 2010) + + 19 Aug 2010; Peter Volkov <pva@gentoo.org> +ptlib-2.6.7.ebuild: + Version bump, bug #326467 thank Vladimir for report. + +*ptlib-2.6.6 (18 Feb 2010) + + 18 Feb 2010; Peter Volkov <pva@gentoo.org> +ptlib-2.6.6.ebuild: + Version bump. + + 17 Dec 2009; Raúl Porcel <armin76@gentoo.org> ptlib-2.6.4-r1.ebuild, + ptlib-2.6.5.ebuild: + Add ~ia64/~sparc wrt #276355 + +*ptlib-2.6.5 (24 Sep 2009) + + 24 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> +ptlib-2.6.5.ebuild: + Version bump to 2.6.5 + + 24 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.4-r1.ebuild: + Only apply vxml-ptones patch if vxml is enabled dtmf is disabled. + Thanks to Matthias Raffelsieper. + + 12 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.4-r1.ebuild, + +files/ptlib-2.6.4-vxml-ptones.patch: + Add dtmf.cxx when compiling vxml.cxx. Fix bug 283675 + +*ptlib-2.6.4-r1 (12 Sep 2009) + + 12 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> -ptlib-2.6.4.ebuild, + +ptlib-2.6.4-r1.ebuild: + Actually, maybe a rev bump is needed. + + 12 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.4.ebuild, + metadata.xml: + Remove dns, url, pipechan and config-file USE flags (force auto-enabled). + Fix bug 276475 + Remove remaining patch. + + 26 Aug 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.4.ebuild: + soap need http-server, fix bug 280850 + +*ptlib-2.6.4 (25 Aug 2009) + + 25 Aug 2009; Mounir Lamouri <volkmar@gentoo.org> + -files/ptlib-2.6.2-gcc-allocator.patch, -ptlib-2.6.2.ebuild, + +ptlib-2.6.4.ebuild: + Version bump to 2.6.4. Bug 281170. + Thanks to Colin MacDonald. + + 03 Aug 2009; Markus Meier <maekke@gentoo.org> ptlib-2.6.2.ebuild: + add ~amd64, bug #276355 + + 15 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.2.ebuild: + Disabling avc plugin. Fix bug 276514 + + 13 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.2.ebuild: + remote USE flag needs config-file. Fix bug 277617 + + 13 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.2.ebuild: + xmlrpc USE flag needs http-server instead of http. Fix bug 277385 + + 12 Jul 2009; Tobias Klausmann <klausman@gentoo.org> ptlib-2.6.2.ebuild: + Keyworded on alpha, bug #276278 + + 06 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.2.ebuild: + Add die message for conditional USE flags error. + +*ptlib-2.6.2 (03 Jul 2009) + + 03 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> + +files/ptlib-2.6.2-gcc-allocator.patch, +metadata.xml, + +ptlib-2.6.2.ebuild: + Initial commit. Actually, somewhat bump of dev-libs/pwlib. Fix bug 238617 diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest new file mode 100644 index 0000000..1acb438 --- /dev/null +++ b/net-libs/ptlib/Manifest @@ -0,0 +1,24 @@ +AUX ptlib-2.10.9-disable-telnet-symbols.patch 636 SHA256 0c73d3156f0650972cbb071f99f0819fa1106cdb3d110644bff5d9f19a18a851 SHA512 63568fd8b6333af4ce553acf3a143dd91ff948ba905333ffa4e0156be4557aacedc75c6f2025d36216b6c9719fa79da9a9fe77c9c6f9e07d5e9764358532d682 WHIRLPOOL d90e9e4facbf0a119b9583952f74789d437c4e7dd9a751f025769342c21a914296db118495646b27966c917eebc966be3cbaa125d1e9d6cbcdc3444359fa2fac +AUX ptlib-2.10.9-pkgconfig_ldflags.patch 444 SHA256 578b4dbbf25e8531fc976ffd98d5a1c541ba7ec12d6a6ce743d6b9730c6a915c SHA512 948a3c3ba011ae773b0c575109b833446bc5acc7dd3415545dc5f53548a0c2d973f3485672d3694a373242b9ff33911fd9c5efe67c42c8be1289b7622f87e8b4 WHIRLPOOL 67a47f383d3f16084ed79e1841e427274e2f3f6d8a6327082b0d3788ce86f4f2266302658752ee67126d9c74be3946ca764a4759fa474418857fa366af6ac676 +AUX ptlib-2.10.9-respect_cxxflags.patch 350 SHA256 4a4f49ea3c124be2088b004cb5b68a23af6b833911252ae65e283b319e9ba020 SHA512 a74aa658f73b0b73db90324a7e6ef6546e43c190aa052119abf6898c70938a64a896b62d4a237002c7e235f1ba527c80e3befb9757da5de18934a029abf1bd7d WHIRLPOOL 5cfd451bdc485aa1eccbf417923c0ab8028a6f24b24d472261e70ad1159ea8a652b4250553d03facdec0199fa082943021975ea5eecedca34656868e52ce19be +AUX ptlib-2.10.9-svn_revision_override.patch 706 SHA256 fb1d37737a908fc018ed1ea05caf6b9f41ccd491f9affba0fafb984e25d32d70 SHA512 be1c89ba86f6587d59fa9ed14e2db4ec02639922461d06e28ef302e2ae9085f7d6c388b51931ec32d78aff0c38eb72d48714e6602e296ce934053eaf6f1bb137 WHIRLPOOL 24564aa6acc957c8f5836c8fecfb9b28467ccbf1bf9d179fb0be258ba6ed00c93985e0e1f176f7756f2d5210c08d2c47e55a911ebf91a035a31327d70eb2cd2d +AUX ptlib-2.12.4-respect_cxxflags.patch 363 SHA256 a8d259580edfb7f3fd63dee5edc80df7c4dbae1a9356707004ce974f947ba2db SHA512 307fab36e12279785c541dd522ac3d7da0d455a7e48735fa684d9e1f5246a1745a0b731fabba00c74f9ecb85d593809cb06a671f9390c238c66077ffb29330ca WHIRLPOOL b5f2c9f65dfe3ff058ccefa80d5ec2094a2682f6bbadc6920014f4aa0cadd35740f5130976f25e9d34133bcaed63a30ecec92830e2ac7a0ff1fdbbafe10d13ed +AUX ptlib-2.12.4-sdl-linking.patch 464 SHA256 82b08028f97a4a0f2ea6cf49bfeedc0b945b2e34a89706b154588b5d536290dd SHA512 ea5392fb0b631542145c1b6aff0ac7fc0bca3a99111ef6ad8f04baf4097ed939e290bcf3c744572779e9c6e5ba6d3afde0030f0924fc350d0dc39ef92c95a849 WHIRLPOOL 6c896ab8d0f5c55e506c02c36e1b785c1df8634bd93fd85f70a2ca3caa4bcfc19db58a1446d83399556e089d02a0569d7ae7912bb132335b987e557c5e749831 +AUX ptlib-2.6.4-vxml-ptones.patch 250 SHA256 9d678b1439184728eb28ef7495816c59504b16a5bbc90e978f27f590666f865c SHA512 de890164e62bb062a7129c490851b4cd34250b3fa27159845d7cd0670100a7f9962433ab1fc26cdd830a3625b674efceee2ae57a82bb04ef02ade91ea389ab05 WHIRLPOOL 9e9bcee2c032f65b8db57ef96a3689aac5fa49ea3040bf9f06e2b9c3bd948cb80e732bd48e9c15e46c03f2c6a5446661ca5d641e8b28f6ea80c0476ec99b044d +DIST ptlib-2.10.10-htmldoc.tar.bz2 4504867 SHA256 bce8a9eeb32f5e556acab3a753844500e751cd4a6db6ce88778fba692d24019a SHA512 7db5d169ad107132d2bca945a1269bae0dd0100b7566b1766dda83d0559a6f2044ffc21905520f7f15d218dd0b1290eaa13d5150d81340c6b0a9a464a713741d WHIRLPOOL 1832acdaded357471c5db982195723dfbf30d22359427d7dc7ac880d2a997a73d9963f7003cae70c6d17874daf1984f5c24c3c600656b078edcec3fa6552ce36 +DIST ptlib-2.10.10.tar.bz2 3736217 SHA256 0f9ab9676f624af4aaffeb9e2ac564372f12745b72112f20ccb8956765c2083e SHA512 8dfbc679a833a28dc9e8c765b3c6479911544fe545fc18a39ee18dc28ba112bd4b3fa50ab5d39bf73e0a9eb9df8e26ea0b0e9c653a746143069fd23e2944d4d5 WHIRLPOOL be9d3b56f6304edaa520009d41bdc09fce314bac59e7d02d0ac5eca919f2324b49ac29f95504036d3b040502d899b3548b0c195f368a8c826a1b186ba7a8fa18 +DIST ptlib-2.10.9-htmldoc.tar.bz2 4501066 SHA256 34d2ae95642bd8f2570c38a43928a267d0a1ab1e4e25f5c9e33dc6b20c7ef038 SHA512 aa05cc20a63a1bb4177d91d0695c25c4e3489b4b20c686881933605a1d8f711abc4a209f663b0044fc41191365f55bc235875383c6de111e8ad807290c30b78c WHIRLPOOL 24df00556beb7ee39f5741e410d713373919e73500f4ed2f53e04e17cd7a248602cf5b3377a56b90ea4a783c3db644da3f22a2cc65e0c52e95b121a8e0714cfc +DIST ptlib-2.10.9.tar.bz2 3743351 SHA256 f13e2079d37f303e7ac539bdd7bb2533fa9fb29fcfe9bffd5475704e846b6d4c SHA512 21a3a4dfc54a90e8346feff95df735b7a0299867390ebdc49aeadff64f4eeddc8e7358030f72e5554a1bd7ed3093288c99381ec17d747a1bad48165d450600a8 WHIRLPOOL 5b9b21868b855e8c328ef620f11995dcbb6a6adc2a5d51f9c77c1258f0b7c48c77f71d4fd5c52a9031d88bad915a9743c6d4692effaa60e69fcea3b3d5b7a492 +DIST ptlib-2.12.4-htmldoc.tar.bz2 4194043 SHA256 61439b61736fd1f9145353850571ee5bd9b6f642d9d32a2ee1def1944ee39f4d SHA512 129535229799fa37169ee6906f70f31fc7cd683ac256cef274fe93618aa6a4424562ebfc4cddf307ba6f133e1029d842da76fa16074570fcc7e3ccb678fd43f3 WHIRLPOOL 4079df7c42a67d41dca0ebb9a97985cbd43e8c5c7c5d14bc55a595242d6aa568b4a68b2e9e8a2053f0623ef5a806b951c6f01f5dfa7f241d5ecda3a6a1cebe26 +DIST ptlib-2.12.4.tar.bz2 4049589 SHA256 e5ec52f9e39d4d73f73f966a52d67a158c78058ef3d8af33a43d17dfcc7a89ab SHA512 2154d2f7afdb76c58e1ad72d5b2f9053fee55ba42624dbf51699b3934c60397cfe8567a265f00e4bc8db43f4be54112a33c359de8fa87507bf2931f4fb06da2f WHIRLPOOL a82ffee2afc0d2a8793d912a30ba0c2cd47189afb1dcd4104e08923a14bdd9ad7e4c178cc7290654e3d03a18dee028a8bea320a5e4cfa1085c7ebb543bbc74ae +DIST ptlib-2.14.0-htmldoc.tar.bz2 6310090 SHA256 47d58eebbba9e2a57802d6846132d605d863ef9d6a671944dd53713bdbab0fe9 SHA512 d9ae1b69ad34511a70a32a61ee793c55ca89ab63fd4e60b66d1349a6b4424241ade8de8134e941600172e1da6a8ceccd3614ac6e47cdf6a80206aa965a8b86be WHIRLPOOL dc9e8234687bf2bee642f429263cd501ed83df6d16451bccd46990ac7854e8911953b94e015091d22b447f63a335ee232ba253adfc0cd16327c0e4ee267b592a +DIST ptlib-2.14.0.tar.bz2 4308383 SHA256 735808ad0461d53fc443395dda07f8ec1a6b5872ca18a7fb0b38c0e31bdd6551 SHA512 8e93ed06a1f08ee8240c36d3f31362c44b53c3c28c9be058a74a056bd6aa6fd0b6f1578e6693c172392ea60fda1606f340ad95583ee841bd274371e953cc1bff WHIRLPOOL d760c4e47b595832802980940a23958e7aacfa6dec9b6009e48aa6558dba95b5200f4d157712a2e65d0a00d07432e96274d9d286bfcfa03dd360e85ee6a2645c +DIST ptlib-2.6.6-htmldoc.tar.bz2 2089135 SHA256 b72ce069519850c76e943a7c38f09181028792e449a60e5b0b09ed2aed5c99c7 +DIST ptlib-2.6.7.tar.bz2 3275152 SHA256 7dd28225fedd21154d34899b21ee4b6d27c88eb1a9f9931c8e6ced28e8f3b97f SHA512 bb897896f407f32923472b077f58ad8190f90ef2f9d276f9053aa777e919828a366c7e8dbcddfb800d08ea811cc4435e2ab0b814349946fbad4f9ddf4e53492e WHIRLPOOL 4b5bbee794fd3fb2d69a5b11a2fecc38c8d1552001679920cd6bc7fc71a1830da653b165ae12281c0de8715b996074ce8da75d3edc2ffa49e32c69efdaf7c586 +EBUILD ptlib-2.10.10.ebuild 6514 SHA256 05d38ddfafe9d142456ed7843b566e45a53ea489177d1633c5af31aa05904590 SHA512 22553483c55413600687b0d6f2f3c39b97cedf79c68f35f575703d445ad6c3438fa8439d0a992bc66e87237cb70fff9f1c2a33ef47020c88acd0fcaf00d84819 WHIRLPOOL 8bee45fefd5c2dfba81d4065b581f49470621acc0c4a6f4959603a33510a37e4925d3c6b626492c00add34ede6041d1d39ea099c5becc16b7a6da9b8864e0c42 +EBUILD ptlib-2.10.9.ebuild 6342 SHA256 b7e9f369b2066f0c1a2df472d04d66ca9a8c2a7b353bd0d2e704c2ab2322edba SHA512 005373868fcd3626443a7c313e9acfde945b115cda8ff4ff790b77d6949f00f0b9faeb023fdbbe78e11648f8342cdd3fae6716a74f6dce34048da6dc7f7bf276 WHIRLPOOL b6ef7353a31d4c37249869b75aab1c49d1428e557eef8b855546a971f2b560d4ee8c88798be6c45e1e2dfb5e621e1ca423fbe4853c1e7681f7f64e3042c70c09 +EBUILD ptlib-2.12.4.ebuild 6261 SHA256 16e5c5e4f49f103e1b7870e15fac72d3c9d970fe48520a73107df62f9189cb85 SHA512 ed22b0817da79f329235683ab1007ebad56d4328ec8c445b02483682c3fcd1aa2784f60ad8eb67b660cfb1c448bc72a9a68669dcfcc138970bb10056c5db15ce WHIRLPOOL 5487411fa8eb30f446ce769b25e7de476042d02297aeacb03e887684020ca485b544e296447a45b4949a8db5f89b6281acf1e37ca1c68b189de7e6b31643187a +EBUILD ptlib-2.14.0.ebuild 5619 SHA256 00990b56819340e62f3379bc7ef76d41f0f179ede3415cfe254e9a04346c54b1 SHA512 09a32be74891aa1f733993c305968d5535e8d5a2cbb1214ce95ec4782886ae40f4d6cc39d0d7e109901447e4a55de96c92b80138b0a88cb230baa094b11ce000 WHIRLPOOL 2b5fe7f28568347574fac479e409dd7d69a795146d9105a842ac33ccfaf1938ed30d221fdc3d319e72d837e0e45b50622047a4b73c5ffcbc79203d08ab6d925c +EBUILD ptlib-2.6.7-r1.ebuild 7532 SHA256 155aaa9f67da69f6424b8d892172fdf04975cf1f185195e3af91a961592249a0 SHA512 2edaff054d46a8824ef8b4ec4672a1d41e1400b204ad464e070b9434e0ca3011655777c04a9ab4b879b178c1b237a5764ea3ce0d0fecea43ef082d3f590fa9c8 WHIRLPOOL cf17fb6515d69272e403aa3f2a3176121c334ea06834b00e82cc59d1f3e782966435eab49e916020acd2e41a34047a6d9c20df8e150f8e066cc9f13faf86aafa +MISC ChangeLog 8067 SHA256 482cc0e71d1abd7a1ba76bc8d643506342ec961c414fcce99c230e1629ac7033 SHA512 504c0de9bfd44722f741e21d00e0c7ae45fdea7e3233f9f4c7b7d939b7cfaf5513fe4e53d1a6ea1d4b64c1ccc9c5060924da4266555d5c1f8d31fb3045322d83 WHIRLPOOL b213a57c6aa2b38bd9bc7c60df4b471d8f7bd82663809554e496871e8d7ce5ffbc72de2929553eb7b47dcdf28aba68ee8be3afdf9f3d42112c6d9c23d570925a +MISC metadata.xml 1141 SHA256 6afb72cf8f6e9c3339aa66beb3c142b56bc4c941bb511a3c500ec78cd9dbb85f SHA512 aa174533e7633cadd5955c26bbeb6af713766ae00e0e4f1b6e4783eae923ccf50bad319291eb42be40d2b23448c90aeb06efe059a6d450f776940bea32a69b1c WHIRLPOOL ca9a23d9142d8fc6ba741a51790dcc9cde3d0e16f7f09cc581cfe3cbeed02a9a7866be0f0f3f0963d6114bda2c93eede633f71072c50476c3c2c4a0b51729db6 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 new file mode 100644 index 0000000..0a3012c --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch @@ -0,0 +1,19 @@ +diff -uNr ptlib-2.10.8.orig/src/ptclib/cli.cxx ptlib-2.10.8/src/ptclib/cli.cxx +--- ptlib-2.10.8.orig/src/ptclib/cli.cxx 2012-10-19 13:45:35.000000000 -0400 ++++ ptlib-2.10.8/src/ptclib/cli.cxx 2012-10-22 16:02:58.000000000 -0400 +@@ -858,6 +858,7 @@ + + /////////////////////////////////////////////////////////////////////////////// + ++#ifdef HAS_TELNET + PCLITelnet::PCLITelnet(WORD port, const char * prompt, bool singleThreadForAll) + : PCLISocket(port, prompt, singleThreadForAll) + { +@@ -868,6 +869,7 @@ + { + return new PTelnetSocket(); + } ++#endif + + + /////////////////////////////////////////////////////////////////////////////// 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 new file mode 100644 index 0000000..acd5319 --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch @@ -0,0 +1,11 @@ +diff -uNr ptlib-2.10.8.orig/ptlib.pc.in ptlib-2.10.8/ptlib.pc.in +--- ptlib-2.10.8.orig/ptlib.pc.in 2012-10-19 13:45:35.000000000 -0400 ++++ ptlib-2.10.8/ptlib.pc.in 2012-10-19 14:03:26.000000000 -0400 +@@ -11,7 +11,7 @@ + Name: ptlib + Description: PT Library + Version: @PTLIB_VERSION@ +-Libs: @LDFLAGS@ -L${libdir} -lpt${suffix} ++Libs: @ENDLDLIBS@ -L${libdir} -lpt${suffix} + Libs.private: @ENDLDLIBS@ + Cflags: -I${includedir} @STDCCFLAGS@ 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 new file mode 100644 index 0000000..dc09f96 --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch @@ -0,0 +1,10 @@ +diff -uNr ptlib-2.10.8.orig/configure.ac ptlib-2.10.8/configure.ac +--- ptlib-2.10.8.orig/configure.ac 2012-10-19 13:45:35.000000000 -0400 ++++ ptlib-2.10.8/configure.ac 2012-10-23 08:08:57.000000000 -0400 +@@ -538,7 +540,7 @@ + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) +- STDCXXFLAGS="$STDCCFLAGS -frtti" ++ STDCXXFLAGS="$STDCXXFLAGS -frtti" + fi 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 new file mode 100644 index 0000000..5531fd9 --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch @@ -0,0 +1,18 @@ +diff -uNr ptlib-2.10.8.orig/src/ptlib/common/osutils.cxx ptlib-2.10.8/src/ptlib/common/osutils.cxx +--- ptlib-2.10.8.orig/src/ptlib/common/osutils.cxx 2012-10-19 13:45:35.000000000 -0400 ++++ ptlib-2.10.8/src/ptlib/common/osutils.cxx 2012-10-19 13:52:50.000000000 -0400 +@@ -43,13 +43,13 @@ + #include <ptlib/svcproc.h> + #include <ptlib/pluginmgr.h> + #include "../../../version.h" +-#include "../../../revision.h" ++# define SVN_REVISION 0 ++//#include "../../../revision.h" + + #ifdef _WIN32 + #include <ptlib/msos/ptlib/debstrm.h> + #endif + +- + static const char * const VersionStatus[PProcess::NumCodeStatuses] = { "alpha", "beta", "." }; + static const char DefaultRollOverPattern[] = "_yyyy_MM_dd_hh_mm"; diff --git a/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch b/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch new file mode 100644 index 0000000..85f590c --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch @@ -0,0 +1,12 @@ +diff -urN ptlib-2.12.4.old/configure.ac ptlib-2.12.4/configure.ac +--- ptlib-2.12.4.old/configure.ac 2013-06-22 21:01:51.392606863 +0200 ++++ ptlib-2.12.4/configure.ac 2013-06-22 21:02:02.991606450 +0200 +@@ -448,7 +448,7 @@ + ], + [ + AC_MSG_RESULT(no) +- PTLIB_CXXFLAGS="$PTLIB_CFLAGS -frtti" ++ PTLIB_CXXFLAGS="$PTLIB_CXXFLAGS -frtti" + ] + ) + diff --git a/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch b/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch new file mode 100644 index 0000000..91e5c08 --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch @@ -0,0 +1,11 @@ +diff -urN ptlib-2.12.4/configure.ac ptlib-2.12.4.new/configure.ac +--- ptlib-2.12.4/configure.ac 2013-06-21 07:02:48.000000000 +0200 ++++ ptlib-2.12.4.new/configure.ac 2013-06-24 11:51:18.356368722 +0200 +@@ -1735,6 +1735,7 @@ + PTLIB_CFLAGS="$PTLIB_CFLAGS ${SDL_CFLAGS}" + LDFLAGS="$LDFLAGS `pkg-config --libs sdl`" + ],[HAS_SDL=]) ++ ENDLDLIBS="$ENDLDLIBS ${SDL_LIBS}" + fi + fi + AC_SUBST(HAS_SDL) diff --git a/net-libs/ptlib/files/ptlib-2.6.4-vxml-ptones.patch b/net-libs/ptlib/files/ptlib-2.6.4-vxml-ptones.patch new file mode 100644 index 0000000..04b4fe1 --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.6.4-vxml-ptones.patch @@ -0,0 +1,10 @@ +--- src/Makefile.old 2009-09-12 23:26:39.000000000 +0200 ++++ src/Makefile 2009-09-12 23:35:19.000000000 +0200 +@@ -178,6 +178,7 @@ + endif + + ifdef HAS_VXML ++SOURCES += $(COMPONENT_SRC_DIR)/dtmf.cxx + SOURCES += $(COMPONENT_SRC_DIR)/vxml.cxx + endif + diff --git a/net-libs/ptlib/metadata.xml b/net-libs/ptlib/metadata.xml new file mode 100644 index 0000000..082e331 --- /dev/null +++ b/net-libs/ptlib/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>neurogeek@gentoo.org</email> + <name>Jesus Rivero</name> + </maintainer> + <use> + <flag name="asn">Enable ASN decoding/encoding support</flag> + <flag name="audio">Enable audio support</flag> + <flag name="dtmf">Enable DTMF encoding/decoding support</flag> + <flag name="http">Enable HTTP support</flag> + <flag name="mail">Enable mail protocols (POP3/SMTP)</flag> + <flag name="qos">Enable QOS support</flag> + <flag name="remote">Enable remote connection support</flag> + <flag name="serial">Enable serial port support</flag> + <flag name="shmvideo">Enable shared memory video devices</flag> + <flag name="socks">Enable SOCKS protocol support</flag> + <flag name="stun">Enable STUN support</flag> + <flag name="telnet">Enable telnet protocol support</flag> + <flag name="tts">Enable Text-To-Speech server support</flag> + <flag name="video">Enable video support</flag> + <flag name="vxml">Enable VoiceXML support</flag> + <flag name="wav">Enable WAVFILE support</flag> + </use> +</pkgmetadata> + diff --git a/net-libs/ptlib/ptlib-2.10.10.ebuild b/net-libs/ptlib/ptlib-2.10.10.ebuild new file mode 100644 index 0000000..02b9926 --- /dev/null +++ b/net-libs/ptlib/ptlib-2.10.10.ebuild @@ -0,0 +1,228 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.10.ebuild,v 1.8 2013/04/16 13:27:50 chithanh Exp $ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0/${PV}" +KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86" +# default enabled are features from 'minsize', the most used according to ptlib +IUSE="alsa +asn +audio debug doc +dtmf examples ffmpeg ftp +http ipv6 +jabber ldap lua mail odbc oss pch pulseaudio qos remote sasl sdl serial +shmvideo snmp soap socks ssl static-libs +stun telnet tts v4l +video +vxml wav xml xmlrpc" + +CDEPEND=" + audio? ( alsa? ( media-libs/alsa-lib ) ) + ldap? ( net-nds/openldap ) + lua? ( dev-lang/lua ) + odbc? ( dev-db/unixODBC ) + pulseaudio? ( media-sound/pulseaudio ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + video? ( v4l? ( media-libs/libv4l ) ) + xml? ( dev-libs/expat ) + !!dev-libs/pwlib" +RDEPEND="${CDEPEND} + ffmpeg? ( virtual/ffmpeg )" +DEPEND="${CDEPEND} + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + video? ( v4l? ( sys-kernel/linux-headers ) )" + +# NOTES: +# media-libs/libdc1394:2 should be supported but headers location have changed +# tools/ directory is ignored +# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 + +conditional_use_warn_msg() { + ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" + ewarn "Please, enable ${2} or disable ${1}" +} + +REQUIRED_USE="sdl? ( video ) + jabber? ( xml ) + vxml? ( http tts xml ) + xmlrpc? ( http xml ) + soap? ( http xml )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" + epatch "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" + epatch "${FILESDIR}/${PN}-2.10.9-respect_cxxflags.patch" + + if ! use telnet; then + epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch" + fi + + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + if [[ ! -z ${TARGET+set} ]]; then + ewarn "TARGET variable is set. Removing as it would break the build, bug #465722." + unset TARGET + fi +} + +src_configure() { + local myconf="" + + # plugins are disabled only if ! audio and ! video + if ! use audio && ! use video; then + myconf="${myconf} --disable-plugins" + else + myconf="${myconf} --enable-plugins" + fi + + # minsize: presets of features (overwritten by use flags) + # ansi-bool, atomicity: there is no reason to disable those features + # internalregex: we want to use system one + # sunaudio and bsdvideo are respectively for SunOS and BSD's + # appshare, vfw: only for windows + # samples: no need to build samples + # avc: disabled, bug 276514, upstream bug 2821744 + # mlib: SUN mediaLibs. Not in tree. + # pipechan, configfile, resolver, url: force enabling + econf ${myconf} \ + --disable-minsize \ + --enable-ansi-bool \ + --enable-atomicity \ + --disable-internalregex \ + --disable-sunaudio \ + --disable-bsdvideo \ + --disable-appshare \ + --disable-vfw \ + --disable-samples \ + --disable-avc \ + --disable-mlib \ + --enable-configfile \ + --enable-pipechan \ + --enable-resolver \ + --enable-url \ + $(use_enable audio) \ + $(use_enable alsa) \ + $(use_enable asn) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable debug tracing) \ + $(use_enable dtmf) \ + --disable-esd \ + $(use_enable ffmpeg ffvdev) \ + $(use_enable ftp) \ + $(use_enable http) \ + $(use_enable http httpforms) \ + $(use_enable http httpsvc) \ + --disable-dc \ + $(use_enable ipv6) \ + $(use_enable jabber) \ + $(use_enable ldap openldap) \ + $(use_enable lua) \ + $(use_enable mail pop3smtp) \ + $(use_enable pulseaudio pulse) \ + $(use_enable odbc) \ + $(use_enable oss) \ + $(use_enable pch) \ + $(use_enable qos) \ + $(use_enable remote remconn) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable serial) \ + $(use_enable shmvideo) \ + $(use_enable snmp) \ + $(use_enable soap) \ + $(use_enable socks) \ + $(use_enable ssl openssl) \ + $(use_enable stun) \ + $(use_enable telnet) \ + $(use_enable tts) \ + --disable-v4l \ + $(use_enable v4l v4l2) \ + $(use_enable video) $(use_enable video vidfile) \ + $(use_enable vxml) \ + $(use_enable wav wavfile) \ + $(use_enable xml expat) \ + $(use_enable xmlrpc) +} + +src_compile() { + local makeopts="" + tc-env_build + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + local makeopts="" + + use debug && makeopts="DEBUG=1" + + emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" + fi + + dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" + + if use audio || use video; then + newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" + fi + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls samples --hide=Makefile`" + + # first, install Makefile + insinto ${exampledir}/ + doins ${basedir}/Makefile || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags." + ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" + fi + + if ! use audio || ! use video; then + ewarn "You have disabled audio or video USE flags." + ewarn "Most audio/video have been disabled silently even if enabled via USE flags." + ewarn "Having a feature enabled via use flag but disabled can lead to issues." + fi + + ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." + ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." + ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" + ewarn "or help us to make them live together." +} diff --git a/net-libs/ptlib/ptlib-2.10.9.ebuild b/net-libs/ptlib/ptlib-2.10.9.ebuild new file mode 100644 index 0000000..451a6a4 --- /dev/null +++ b/net-libs/ptlib/ptlib-2.10.9.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.9.ebuild,v 1.1 2012/12/03 23:16:28 neurogeek Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# default enabled are features from 'minsize', the most used according to ptlib +IUSE="alsa +asn +audio debug doc +dtmf examples ffmpeg ftp +http ipv6 +jabber ldap lua mail odbc oss pch pulseaudio qos remote sasl sdl serial +shmvideo snmp soap socks ssl static-libs +stun telnet tts v4l +video +vxml wav xml xmlrpc" + +CDEPEND=" + audio? ( alsa? ( media-libs/alsa-lib ) ) + ldap? ( net-nds/openldap ) + lua? ( dev-lang/lua ) + odbc? ( dev-db/unixODBC ) + pulseaudio? ( media-sound/pulseaudio ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + video? ( v4l? ( media-libs/libv4l ) ) + xml? ( dev-libs/expat ) + !!dev-libs/pwlib" +RDEPEND="${CDEPEND} + ffmpeg? ( virtual/ffmpeg )" +DEPEND="${CDEPEND} + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + video? ( v4l? ( sys-kernel/linux-headers ) )" + +# NOTES: +# media-libs/libdc1394:2 should be supported but headers location have changed +# tools/ directory is ignored +# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 + +conditional_use_warn_msg() { + ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" + ewarn "Please, enable ${2} or disable ${1}" +} + +REQUIRED_USE="sdl? ( video ) + jabber? ( xml ) + vxml? ( http tts xml ) + xmlrpc? ( http xml ) + soap? ( http xml )" + +src_prepare() { + epatch "${FILESDIR}/${P}-svn_revision_override.patch" + epatch "${FILESDIR}/${P}-pkgconfig_ldflags.patch" + epatch "${FILESDIR}/${P}-respect_cxxflags.patch" + + if ! use telnet; then + epatch "${FILESDIR}/${P}-disable-telnet-symbols.patch" + fi + + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi +} + +src_configure() { + local myconf="" + + # plugins are disabled only if ! audio and ! video + if ! use audio && ! use video; then + myconf="${myconf} --disable-plugins" + else + myconf="${myconf} --enable-plugins" + fi + + # minsize: presets of features (overwritten by use flags) + # ansi-bool, atomicity: there is no reason to disable those features + # internalregex: we want to use system one + # sunaudio and bsdvideo are respectively for SunOS and BSD's + # appshare, vfw: only for windows + # samples: no need to build samples + # avc: disabled, bug 276514, upstream bug 2821744 + # mlib: SUN mediaLibs. Not in tree. + # pipechan, configfile, resolver, url: force enabling + econf ${myconf} \ + --disable-minsize \ + --enable-ansi-bool \ + --enable-atomicity \ + --disable-internalregex \ + --disable-sunaudio \ + --disable-bsdvideo \ + --disable-appshare \ + --disable-vfw \ + --disable-samples \ + --disable-avc \ + --disable-mlib \ + --enable-configfile \ + --enable-pipechan \ + --enable-resolver \ + --enable-url \ + $(use_enable audio) \ + $(use_enable alsa) \ + $(use_enable asn) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable debug tracing) \ + $(use_enable dtmf) \ + --disable-esd \ + $(use_enable ffmpeg ffvdev) \ + $(use_enable ftp) \ + $(use_enable http) \ + $(use_enable http httpforms) \ + $(use_enable http httpsvc) \ + --disable-dc \ + $(use_enable ipv6) \ + $(use_enable jabber) \ + $(use_enable ldap openldap) \ + $(use_enable lua) \ + $(use_enable mail pop3smtp) \ + $(use_enable pulseaudio pulse) \ + $(use_enable odbc) \ + $(use_enable oss) \ + $(use_enable pch) \ + $(use_enable qos) \ + $(use_enable remote remconn) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable serial) \ + $(use_enable shmvideo) \ + $(use_enable snmp) \ + $(use_enable soap) \ + $(use_enable socks) \ + $(use_enable ssl openssl) \ + $(use_enable stun) \ + $(use_enable telnet) \ + $(use_enable tts) \ + --disable-v4l \ + $(use_enable v4l v4l2) \ + $(use_enable video) $(use_enable video vidfile) \ + $(use_enable vxml) \ + $(use_enable wav wavfile) \ + $(use_enable xml expat) \ + $(use_enable xmlrpc) +} + +src_compile() { + local makeopts="" + tc-env_build + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + local makeopts="" + + use debug && makeopts="DEBUG=1" + + emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" + fi + + dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" + + if use audio || use video; then + newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" + fi + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls samples --hide=Makefile`" + + # first, install Makefile + insinto ${exampledir}/ + doins ${basedir}/Makefile || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags." + ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" + fi + + if ! use audio || ! use video; then + ewarn "You have disabled audio or video USE flags." + ewarn "Most audio/video have been disabled silently even if enabled via USE flags." + ewarn "Having a feature enabled via use flag but disabled can lead to issues." + fi + + ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." + ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." + ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" + ewarn "or help us to make them live together." +} diff --git a/net-libs/ptlib/ptlib-2.12.4.ebuild b/net-libs/ptlib/ptlib-2.12.4.ebuild new file mode 100644 index 0000000..bf62542 --- /dev/null +++ b/net-libs/ptlib/ptlib-2.12.4.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.12.4.ebuild,v 1.2 2013/06/24 09:57:14 scarabeus Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# default enabled are features from 'minsize', the most used according to ptlib +IUSE="alsa +asn +audio debug doc +dtmf examples ffmpeg ftp +http ipv6 +jabber ldap lua mail odbc oss pch pulseaudio remote sasl sdl serial +shmvideo snmp soap socks ssl static-libs +stun telnet tts v4l +video +vxml wav xml xmlrpc" + +CDEPEND=" + audio? ( alsa? ( media-libs/alsa-lib ) ) + ldap? ( net-nds/openldap ) + lua? ( dev-lang/lua ) + odbc? ( dev-db/unixODBC ) + pulseaudio? ( media-sound/pulseaudio ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + video? ( v4l? ( media-libs/libv4l ) ) + xml? ( dev-libs/expat ) + !!dev-libs/pwlib" +RDEPEND="${CDEPEND} + ffmpeg? ( virtual/ffmpeg )" +DEPEND="${CDEPEND} + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + video? ( v4l? ( sys-kernel/linux-headers ) )" + +# NOTES: +# media-libs/libdc1394:2 should be supported but headers location have changed +# tools/ directory is ignored +# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 + +REQUIRED_USE="sdl? ( video ) + jabber? ( xml ) + vxml? ( http tts xml ) + xmlrpc? ( http xml ) + soap? ( http xml )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" + epatch "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" + epatch "${FILESDIR}/${PN}-2.12.4-respect_cxxflags.patch" + epatch "${FILESDIR}/${PN}-2.12.4-sdl-linking.patch" + + if ! use telnet; then + epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch" + fi + + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + if [[ ! -z ${TARGET+set} ]]; then + ewarn "TARGET variable is set. Removing as it would break the build, bug #465722." + unset TARGET + fi +} + +src_configure() { + local myconf="" + + # plugins are disabled only if ! audio and ! video + if ! use audio && ! use video; then + myconf+=" --disable-plugins" + else + myconf+=" --enable-plugins" + fi + + # minsize: presets of features (overwritten by use flags) + # ansi-bool, atomicity: there is no reason to disable those features + # internalregex: we want to use system one + # sunaudio and bsdvideo are respectively for SunOS and BSD's + # appshare, vfw: only for windows + # samples: no need to build samples + # avc: disabled, bug 276514, upstream bug 2821744 + # mlib: SUN mediaLibs. Not in tree. + # pipechan, configfile, resolver, url: force enabling + econf ${myconf} \ + --disable-minsize \ + --enable-ansi-bool \ + --enable-atomicity \ + --disable-internalregex \ + --disable-sunaudio \ + --disable-bsdvideo \ + --disable-appshare \ + --disable-vfw \ + --disable-samples \ + --disable-avc \ + --disable-mlib \ + --enable-configfile \ + --enable-pipechan \ + --enable-resolver \ + --enable-url \ + $(use_enable audio) \ + $(use_enable alsa) \ + $(use_enable asn) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable debug tracing) \ + $(use_enable dtmf) \ + --disable-esd \ + $(use_enable ffmpeg ffvdev) \ + $(use_enable ftp) \ + $(use_enable http) \ + $(use_enable http httpforms) \ + $(use_enable http httpsvc) \ + --disable-dc \ + $(use_enable ipv6) \ + $(use_enable jabber) \ + $(use_enable ldap openldap) \ + $(use_enable lua) \ + $(use_enable mail pop3smtp) \ + $(use_enable pulseaudio pulse) \ + $(use_enable odbc) \ + $(use_enable oss) \ + $(use_enable pch) \ + $(use_enable remote remconn) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable serial) \ + $(use_enable shmvideo) \ + $(use_enable snmp) \ + $(use_enable soap) \ + $(use_enable socks) \ + $(use_enable ssl openssl) \ + $(use_enable stun) \ + $(use_enable telnet) \ + $(use_enable tts) \ + --disable-v4l \ + $(use_enable v4l v4l2) \ + $(use_enable video) $(use_enable video vidfile) \ + $(use_enable vxml) \ + $(use_enable wav wavfile) \ + $(use_enable xml expat) \ + $(use_enable xmlrpc) +} + +src_compile() { + local makeopts="" + tc-env_build + + use debug && makeopts="debug" + + emake ${makeopts} +} + +src_install() { + local makeopts="" + + use debug && makeopts="DEBUG=1" + + emake DESTDIR="${D}" ${makeopts} install + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* + fi + + dodoc History.txt ReadMe.txt ReadMe_QOS.txt + + if use audio || use video; then + newdoc plugins/ReadMe.txt ReadMe-Plugins.txt + fi + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls samples --hide=Makefile`" + + # first, install Makefile + insinto ${exampledir}/ + doins ${basedir}/Makefile || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags." + ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" + fi + + if ! use audio || ! use video; then + ewarn "You have disabled audio or video USE flags." + ewarn "Most audio/video have been disabled silently even if enabled via USE flags." + ewarn "Having a feature enabled via use flag but disabled can lead to issues." + fi + + ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." + ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." + ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" + ewarn "or help us to make them live together." +} diff --git a/net-libs/ptlib/ptlib-2.14.0.ebuild b/net-libs/ptlib/ptlib-2.14.0.ebuild new file mode 100644 index 0000000..80452a4 --- /dev/null +++ b/net-libs/ptlib/ptlib-2.14.0.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# default enabled are features from 'minsize', the most used according to ptlib +IUSE="alsa +asn +audio debug doc +dtmf examples ffmpeg ftp +http ipv6 +jabber ldap lua mail odbc oss pulseaudio remote sasl sdl serial +shmvideo snmp soap socks ssl static-libs +stun telnet tts v4l +video +vxml wav xml xmlrpc" + +CDEPEND=" + audio? ( alsa? ( media-libs/alsa-lib ) ) + ldap? ( net-nds/openldap ) + lua? ( dev-lang/lua ) + odbc? ( dev-db/unixODBC ) + pulseaudio? ( media-sound/pulseaudio ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + video? ( v4l? ( media-libs/libv4l ) ) + xml? ( dev-libs/expat ) + !!dev-libs/pwlib" +RDEPEND="${CDEPEND} + ffmpeg? ( virtual/ffmpeg )" +DEPEND="${CDEPEND} + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + video? ( v4l? ( sys-kernel/linux-headers ) )" + +# NOTES: +# media-libs/libdc1394:2 should be supported but headers location have changed +# tools/ directory is ignored +# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 + +REQUIRED_USE="sdl? ( video ) + jabber? ( xml ) + vxml? ( http tts xml ) + xmlrpc? ( http xml ) + soap? ( http xml )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" + + if ! use telnet; then + epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch" + fi + + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + if [[ ! -z ${TARGET+set} ]]; then + ewarn "TARGET variable is set. Removing as it would break the build, bug #465722." + unset TARGET + fi +} + +src_configure() { + local myconf="" + + # plugins are disabled only if ! audio and ! video + if ! use audio && ! use video; then + myconf+=" --disable-plugins" + else + myconf+=" --enable-plugins" + fi + + # minsize: presets of features (overwritten by use flags) + # atomicity: there is no reason to disable this feature + # internalregex: we want to use system one + # sunaudio and bsdvideo are respectively for SunOS and BSD's + # appshare, vfw: only for windows + # samples: no need to build samples + # avc: disabled, bug 276514, upstream bug 2821744 + # mlib: SUN mediaLibs. Not in tree. + # pipechan, configfile, resolver, url: force enabling + econf ${myconf} \ + --disable-minsize \ + --enable-atomicity \ + --disable-internalregex \ + --disable-sunaudio \ + --disable-bsdvideo \ + --disable-appshare \ + --disable-vfw \ + --disable-samples \ + --disable-avc \ + --disable-mlib \ + --enable-configfile \ + --enable-pipechan \ + --enable-resolver \ + --enable-url \ + $(use_enable audio) \ + $(use_enable alsa) \ + $(use_enable asn) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable debug tracing) \ + $(use_enable dtmf) \ + --disable-esd \ + $(use_enable ffmpeg ffvdev) \ + $(use_enable ftp) \ + $(use_enable http) \ + $(use_enable http httpforms) \ + $(use_enable http httpsvc) \ + --disable-dc \ + $(use_enable ipv6) \ + $(use_enable jabber) \ + $(use_enable ldap openldap) \ + $(use_enable lua) \ + $(use_enable mail pop3smtp) \ + $(use_enable pulseaudio pulse) \ + $(use_enable odbc) \ + $(use_enable oss) \ + $(use_enable remote remconn) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable serial) \ + $(use_enable shmvideo) \ + $(use_enable snmp) \ + $(use_enable soap) \ + $(use_enable socks) \ + $(use_enable ssl openssl) \ + $(use_enable stun) \ + $(use_enable telnet) \ + $(use_enable tts) \ + --disable-v4l \ + $(use_enable v4l v4l2) \ + $(use_enable video) $(use_enable video vidfile) \ + $(use_enable vxml) \ + $(use_enable wav wavfile) \ + $(use_enable xml expat) \ + $(use_enable xmlrpc) +} + +src_compile() { + local makeopts="opt" + tc-env_build + + use debug && makeopts="debug" + + emake ${makeopts} +} + +src_install() { + local makeopts="" + + use debug && makeopts="DEBUG=1" + + emake DESTDIR="${D}" ${makeopts} install + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* + fi + + dodoc History.txt ReadMe.txt + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + + insinto ${exampledir} + docompress -x ${exampledir} + doins -r ${basedir}/* + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags." + ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" + fi + + if ! use audio || ! use video; then + ewarn "You have disabled audio or video USE flags." + ewarn "Most audio/video have been disabled silently even if enabled via USE flags." + ewarn "Having a feature enabled via use flag but disabled can lead to issues." + fi + + ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." + ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." + ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" + ewarn "or help us to make them live together." +} diff --git a/net-libs/ptlib/ptlib-2.6.7-r1.ebuild b/net-libs/ptlib/ptlib-2.6.7-r1.ebuild new file mode 100644 index 0000000..0e5fcbd --- /dev/null +++ b/net-libs/ptlib/ptlib-2.6.7-r1.ebuild @@ -0,0 +1,276 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.6.7-r1.ebuild,v 1.15 2012/09/30 18:15:02 armin76 Exp $ + +EAPI="2" + +inherit eutils + +HTMLV="2.6.6" # There no 2.6.7 release of htmldoc +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 + doc? ( mirror://sourceforge/opalvoip/${PN}-${HTMLV}-htmldoc.tar.bz2 )" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +# default enabled are features from 'minsize', the most used according to ptlib +IUSE="alsa +asn +audio debug doc dtmf examples ffmpeg ftp http ipv6 +jabber ldap mail odbc oss pch qos remote sasl sdl serial shmvideo snmp soap +socks ssl static-libs +stun telnet tts v4l +video vxml wav xml xmlrpc" + +CDEPEND=" + audio? ( alsa? ( media-libs/alsa-lib ) ) + ldap? ( net-nds/openldap ) + odbc? ( dev-db/unixODBC ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + video? ( v4l? ( media-libs/libv4l ) ) + xml? ( dev-libs/expat ) + !!dev-libs/pwlib" +RDEPEND="${CDEPEND} + ffmpeg? ( virtual/ffmpeg )" +DEPEND="${CDEPEND} + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + video? ( v4l? ( sys-kernel/linux-headers ) )" + +# NOTES: +# media-libs/libdc1394:2 should be supported but headers location have changed +# tools/ directory is ignored +# looks to have an auto-magic dep with medialibs, but not in the tree so... +# upstream bug 2794736 +# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 + +# TODO: +# manage in a better way the conditional use flags (with eapi-3 ?) +# libv4l is an automagic dep for v4l2 plugin, see upstream bug 2867383 + +conditional_use_warn_msg() { + ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" + ewarn "Please, enable ${2} or disable ${1}" +} + +pkg_setup() { + local use_warn=false + + if use sdl && ! use video; then + conditional_use_warn_msg "sdl" "video" + use_warn=true + fi + + if use jabber && ! use xml; then + conditional_use_warn_msg "jabber" "xml" + use_warn=true + fi + + if use vxml; then + if ! use xml; then + conditional_use_warn_msg "vxml" "xml" + use_warn=true + fi + if ! use http; then + conditional_use_warn_msg "vxml" "http" + use_warn=true + fi + fi + + if use xmlrpc; then + if ! use xml; then + conditional_use_warn_msg "xmlrpc" "xml" + use_warn=true + fi + # configure script tells it needs http but it fails, see bug 277385 + # the bug has been reported at upstream bug 2820814 + if ! use http; then + conditional_use_warn_msg "xmlrpc" "http" + use_warn=true + fi + fi + + if use soap; then + if ! use xml; then + conditional_use_warn_msg "soap" "xml" + use_warn=true + fi + # fix bug 280850, see upstream bug 2844915 + if ! use http; then + conditional_use_warn_msg "soap" "http" + use_warn=true + fi + fi + + if ${use_warn}; then + echo + ewarn "Please look at previous messages and re-emerge accordingly if needed." + ebeep + epause 5 + fi +} + +src_prepare() { + # remove visual studio related files from samples/ + if use examples; then + rm -f samples/*/*.vcproj + rm -f samples/*/*.sln + rm -f samples/*/*.dsp + rm -f samples/*/*.dsw + fi + + # bug 283675, upstream bug 2857750 + if use vxml && ! use dtmf; then + epatch "${FILESDIR}"/${PN}-2.6.4-vxml-ptones.patch + fi +} + +src_configure() { + local myconf="" + + # plugins are disabled only if ! audio and ! video + if ! use audio && ! use video; then + myconf="${myconf} --disable-plugins" + else + myconf="${myconf} --enable-plugins" + fi + + # minsize, openh323, opal: presets of features (overwritten by use flags) + # ansi-bool, atomicity: there is no reason to disable those features + # internalregex: we want to use system one + # sunaudio and bsdvideo are respectively for SunOS and BSD's + # appshare, vfw: only for windows + # samples: no need to build samples + # avc: disabled, bug 276514, upstream bug 2821744 + # pipechan, configfile, resolver, url: force enabling + econf ${myconf} \ + --disable-minsize \ + --disable-openh323 \ + --disable-opal \ + --enable-ansi-bool \ + --enable-atomicity \ + --disable-internalregex \ + --disable-sunaudio \ + --disable-bsdvideo \ + --disable-appshare \ + --disable-vfw \ + --disable-samples \ + --disable-avc \ + --enable-configfile \ + --enable-pipechan \ + --enable-resolver \ + --enable-url \ + $(use_enable audio) \ + $(use_enable alsa) \ + $(use_enable asn) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable debug tracing) \ + $(use_enable dtmf) \ + --disable-esd \ + $(use_enable ffmpeg ffvdev) \ + $(use_enable ftp) \ + $(use_enable http) \ + $(use_enable http httpforms) \ + $(use_enable http httpsvc) \ + --disable-dc \ + $(use_enable ipv6) \ + $(use_enable jabber) \ + $(use_enable ldap openldap) \ + $(use_enable mail pop3smtp) \ + $(use_enable odbc) \ + $(use_enable oss) \ + $(use_enable pch) \ + $(use_enable qos) \ + $(use_enable remote remconn) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable serial) \ + $(use_enable shmvideo) \ + $(use_enable snmp) \ + $(use_enable soap) \ + $(use_enable socks) \ + $(use_enable ssl openssl) \ + $(use_enable stun) \ + $(use_enable telnet) \ + $(use_enable tts) \ + --disable-v4l \ + $(use_enable v4l v4l2) \ + $(use_enable video) $(use_enable video vidfile) \ + $(use_enable vxml) \ + $(use_enable wav wavfile) \ + $(use_enable xml expat) \ + $(use_enable xmlrpc) +} + +src_compile() { + local makeopts="" + + use debug && makeopts="debug" + + emake ${makeopts} || die "emake failed" +} + +src_install() { + local makeopts="" + + use debug && makeopts="DEBUG=1" + + emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" + + # Get rid of static libraries if not requested + # There seems to be no easy way to disable this in the build system + if ! use static-libs; then + rm -v "${D}"/usr/lib*/*.a || die + fi + + if use doc; then + dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" + fi + + dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" + + # ChangeLog is not standard + # This version (2.6.7) doesn't have a ChangeLog file. + #dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" + + if use audio || use video; then + newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" + fi + + if use examples; then + local exampledir="/usr/share/doc/${PF}/examples" + local basedir="samples" + local sampledirs="`ls samples --hide=Makefile`" + + # first, install Makefile + insinto ${exampledir}/ + doins ${basedir}/Makefile || die "doins failed" + + # now, all examples + for x in ${sampledirs}; do + insinto ${exampledir}/${x}/ + doins ${basedir}/${x}/* || die "doins failed" + done + fi +} + +pkg_postinst() { + if use examples; then + ewarn "All examples have been installed, some of them will not work on your system" + ewarn "it will depend of the enabled USE flags." + ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" + fi + + if ! use audio || ! use video; then + ewarn "You have disabled audio or video USE flags." + ewarn "Most audio/video have been disabled silently even if enabled via USE flags." + ewarn "Having a feature enabled via use flag but disabled can lead to issues." + fi + + ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." + ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." + ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" + ewarn "or help us to make them live together." +} |