diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-04-18 04:17:03 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-04-18 04:17:03 +0000 |
commit | cefd0762e501b933314ff78f43abec7b5c7e0641 (patch) | |
tree | 3780788dd5d71aeedb5082782195452c76890d95 /net-libs/ptlib | |
parent | Version bump. (diff) | |
download | historical-cefd0762e501b933314ff78f43abec7b5c7e0641.tar.gz historical-cefd0762e501b933314ff78f43abec7b5c7e0641.tar.bz2 historical-cefd0762e501b933314ff78f43abec7b5c7e0641.zip |
old
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'net-libs/ptlib')
-rw-r--r-- | net-libs/ptlib/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/ptlib/Manifest | 7 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.10.11.ebuild | 230 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.12.4.ebuild | 223 |
4 files changed, 6 insertions, 460 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog index 7dc11aacab9f..c80e8967551d 100644 --- a/net-libs/ptlib/ChangeLog +++ b/net-libs/ptlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/ptlib # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.56 2015/01/29 13:18:00 k_f Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.57 2015/04/18 04:13:07 mr_bones_ Exp $ + + 18 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> -ptlib-2.10.11.ebuild, + -ptlib-2.12.4.ebuild: + old 29 Jan 2015; Kristian Fiskerstrand <k_f@gentoo.org> -ptlib-2.10.9.ebuild, -ptlib-2.6.7-r1.ebuild: diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest index 215d0eedd09a..ce252e03f5d9 100644 --- a/net-libs/ptlib/Manifest +++ b/net-libs/ptlib/Manifest @@ -9,14 +9,9 @@ AUX ptlib-2.12.4-sdl-linking.patch 464 SHA256 82b08028f97a4a0f2ea6cf49bfeedc0b94 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.11.tar.bz2 3736259 SHA256 27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a SHA512 ac8af8962330abf11986ccb863be0990c2e78ae611666d17c68068b72c4a5ea523ba74c55566284c3549e2346e407ccfffb5cc509fbf6ef19f1eb51dcb8b5f15 WHIRLPOOL 3dafe50df538b8d24a20b58252c5dfa578ac81f25d9086f748af928f54658533e1bf28dc1f40cbbeadd5062d57072ad71e243c0275428f155077ee752e26e4ab -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.12.9-htmldoc.tar.bz2 6069775 SHA256 1c03474f1c27a8b7648497b1cc95296f07aa398f1b45d9ae4dc2cfad95b1c7f7 SHA512 08800ef09be97573d9e861da80d98723ffbf55ec76c3e3a7788f811cf7d04bbad35d4c2363cc696a2aff9f890dd8e09967825266cbba4a6cfdb916f9df26d70d WHIRLPOOL 9606e2538bb842fea5382dfd95a83b41fd7062336b058e2a95615725e688ad4b40a95cf0ce9669cd786c3c94884cb82f77660ee490ae6e780f8307d55767713d DIST ptlib-2.12.9.tar.bz2 4134345 SHA256 e38d31a24a41546b7a84673f9c42ffab60ebd83727254cf5bdfb85da46565adf SHA512 1a7869203aff7779d318c6a2f70e0fe6181381696493f7c1ea69113c9795e6a13e4423ed3609b5e6d8900388eedc3bcdb6a19e9d6f03357348b21e1003ef917a WHIRLPOOL 5652bdee09d5d8ed3079080bc1d4b8bb495a8812bd49b2e963645c47673af3789a80c9d0a9aeaf0d4ec9d2782637b8763e625db340c0cc94ce362bb952c9fb9e EBUILD ptlib-2.10.10.ebuild 6594 SHA256 f278a1b45ba8b6c7c16e504a52e36529d6b602834aee640259bb7396093ad5e4 SHA512 17a8a8d3abe8bd898eeb68d38e0835fedbd3a1fa82fa287b3f615dabb5f5b3179cc82bec16b809e322e9cfb9408d878ab6993cddfc8054f97500905a83613bc5 WHIRLPOOL 46b17fa881791bd28b5647384ce9b8ebdd723e0b855f3a6af4e1ab07881bc3d7e1e48c4b679bcf4d9457ea843c187336164628523d288483053095dedee76cda -EBUILD ptlib-2.10.11.ebuild 6655 SHA256 dbc602cc428f7ff3d6876b4b7cd82761e5d5224f554efe18b18fff44bd34a03a SHA512 6bd3e58bba949f793a187af1d23e4e4c48f7bae3d2447a31bc68d48c72e5ba3130b950d158fdf0be5452a33ba95eeb8a20553ef86ff252b938ece626f0296cdd WHIRLPOOL 203a7a4adfa2837cab2c5dbdbbbc26908c18bbad15c62f204676e2488892418bde1621e797f06cf5134f5dcf5f2e0f508dcb5c31a0d1c201e0ff3fb81b5f405f -EBUILD ptlib-2.12.4.ebuild 6272 SHA256 107c3b41319f9f96bb6e507a1e326184f944efcfe05c701a984826ede1937da3 SHA512 09cbded53c83a8e42703d8e4f170656b5954bfbccb9b72dbcec05107b4535d07c4e851448ec1cc59be21634968c063f9cdde15dd6877b7f97a3de7a1dd148f82 WHIRLPOOL fdb444337abfb5d0dc584f6b3b8024b7e7d436a1b00d4976810511fbfe237d7303510ffbfe4c3772d98f957138749123c82a110e30bf0d64951f0ab64bb99049 EBUILD ptlib-2.12.9.ebuild 6260 SHA256 0d41e82ea24811ee9287bc665276fef813d05ffa765b5e1739787b755ba3557c SHA512 789012ccc7a0d7f2800c0f25f74217ba2842f0b59eccbf60d431b30b696c626cfe328de69a1ecc21d21759e2d654e5ae54fd11d018a9fbfe22247f6099460ab7 WHIRLPOOL 3072252099a5daeb48d86bb61f627abcd727e8c4f4ce68c0449afd6eecd99f97a676a131a34cae367daa95e175d5fc1897db76f5e5a92497d8a52dec69bbb8f8 -MISC ChangeLog 9243 SHA256 8d59b6b2954c6e9a92ded5de2534c067249a331ec9ade482f8a4b97284a407fd SHA512 aa0f61a365f08bceae2c06e2e8bedef4b7506a6699a7046c35412e9f635cb6f110671f5473f61c8d99fc2ee0e029b2e9a021bcb1304d9fa96badc99321957635 WHIRLPOOL 3f574204b834e94f05703401be20977c3ebbe2846ac13bafea9dd96afab02f58a47f33fc04c34851bf4bca98e0ed6750e52144f714aa63c2e2d11e15d7fb4d97 +MISC ChangeLog 9358 SHA256 0188c7876ec3e71702494d7342ea9a5a49b9aa967921adbce54704bdbe5768e2 SHA512 97cc9ee8e113aab250188f70b3d4a7be9d89826708206b2c13ef934e9fc7e2f60debfc6d6949a117b01bdba80e322433676c6a19b7cbb3c8a88033b33dd08007 WHIRLPOOL e08cafd08578673804bc8b1ae891a03dcb9c2d3d95630a9e168ec9a73f2b867d1765c0f12a4ba751c36f5c75f965d371e39fc4f053c4a6901f81f91e30c8d499 MISC metadata.xml 1072 SHA256 fafdf2cc215b2e97643b9dbe1eff0c57fa3018d01d6ec1df8256dc2fe4a250fe SHA512 ae51ecaf4b060fff2445744e6d53a99742dd7a94f4dd5fae894a913f07d3442ab02d8163744ede6fe7b8c1069d3e3c1ddbc9ec3d8a627ccd98051edadc09b1d0 WHIRLPOOL bf390889727e8239233c050182f1668d980278840f3f7d76c13ecfbd129c4fda99e5fc0aeafcafd8841c8d8306d3a32b89c0c285e2fd5c3192a78dfa7769dff5 diff --git a/net-libs/ptlib/ptlib-2.10.11.ebuild b/net-libs/ptlib/ptlib-2.10.11.ebuild deleted file mode 100644 index fb0fe945868b..000000000000 --- a/net-libs/ptlib/ptlib-2.10.11.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.11.ebuild,v 1.4 2014/08/04 18:46:43 armin76 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/${PN}-2.10.10-htmldoc.tar.bz2 )" - -LICENSE="MPL-1.0" -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -# default enabled are features from 'minsize', the most used according to ptlib -IUSE="alsa +asn 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 +sound ssl static-libs +stun telnet tts v4l +video -vxml wav xml xmlrpc" - -CDEPEND=" - 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 ) - sound? ( alsa? ( media-libs/alsa-lib ) ) - 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" \ - "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" \ - "${FILESDIR}/${PN}-2.10.9-respect_cxxflags.patch" \ - "${FILESDIR}/${PN}-2.10.10-mga-bison-parameter.patch" \ - "${FILESDIR}/${PN}-2.10.10-respect_cflags_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 ! sound and ! video - if ! use sound && ! 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 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 sound audio) \ - $(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} V=1 || 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 sound || 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 sound || ! use video; then - ewarn "You have disabled sound 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 deleted file mode 100644 index 321d765e2ac7..000000000000 --- a/net-libs/ptlib/ptlib-2.12.4.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2014 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.4 2014/07/27 16:03:22 zerochaos 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 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -# default enabled are features from 'minsize', the most used according to ptlib -IUSE="alsa +asn debug doc +dtmf examples ffmpeg ftp +http ipv6 -jabber ldap lua mail odbc oss pch pulseaudio remote sasl sdl serial -shmvideo snmp soap socks +sound ssl static-libs +stun telnet tts v4l +video -vxml wav xml xmlrpc" - -CDEPEND=" - 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 ) - sound? ( alsa? ( media-libs/alsa-lib ) ) - 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 ! sound and ! video - if ! use sound && ! 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 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 sound audio) \ - $(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 sound || 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 sound || ! use video; then - ewarn "You have disabled sound 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." -} |