diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-27 18:07:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-27 18:07:28 +0000 |
commit | 67f76a858f1ac826bd8a550d756d9ec6e340ed4f (patch) | |
tree | 45f4ada6be05bc180a14e017c9d5c6b58a0eec6e /net-libs/ptlib | |
parent | 38b7258d086dd5e263c3bbe3880c8c956676bc71 (diff) |
gentoo resync : 27.01.2018
Diffstat (limited to 'net-libs/ptlib')
-rw-r--r-- | net-libs/ptlib/Manifest | 11 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch | 39 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.10-respect_cflags_cxxflags.patch | 14 | ||||
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch | 29 | ||||
-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/metadata.xml | 25 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.10.11.ebuild | 225 |
10 files changed, 0 insertions, 401 deletions
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest deleted file mode 100644 index f9e8db713e73..000000000000 --- a/net-libs/ptlib/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX ptlib-2.10.10-mga-bison-parameter.patch 820 BLAKE2B 9168cef397a8699c90f65d586253e07eb023485f242b3edfd15ab88c246baadb59c10d4f699cab3620e6cf4c1418c0223fd4675d01a5d7910e92d3e85f196a42 SHA512 9e28f29c26bd990bea3ff22bff8594eb24aff9a485bea54ebd97d0ec96d693ba64ee872fe1e7036188167d31f010a38ee811821236673bfaddbe28854a584748 -AUX ptlib-2.10.10-respect_cflags_cxxflags.patch 578 BLAKE2B 75360ba7fcd2643887e748c39d323466b095e244c3ad28cb747f0eaa825f74b4156749d09ac040184e23ee8fa3f9428aca5de58cd44984decc101a2dd5c99753 SHA512 551d9b8dd248fa66da731bd274c6183deacdbfe48d46b3686ae72aca5b622d4f62c00f6e27bf989d9ae8f2b9c58481b29c84eb99ee0c0a994668037c81bc15f8 -AUX ptlib-2.10.11-gcc6.patch 979 BLAKE2B 08faf2766450c4d7945a0db78b8525f6fc17f329e731725bedf19fd9471f01d78058909dfdbbe50991cb352e5d835e7c530d562aa6ebab8e1430ee84d8e484ee SHA512 11433fc6bdc3e6e275b5a8545796d566fe5e7ad26908205f8cb689ccc4e243d7abb94a11a0e18b60b7ac5ff8a546303b204db85f632e5e8da8d993d98183621b -AUX ptlib-2.10.9-disable-telnet-symbols.patch 636 BLAKE2B 541478b517fd779c0a32b881cdfd568855bf7eafb56c11ef84e80e2b858ace74c3ebe4cd6c69bea27407adb7e4a5fdc18ae2ea1af3fe1f4a73514454e8bb29fa SHA512 63568fd8b6333af4ce553acf3a143dd91ff948ba905333ffa4e0156be4557aacedc75c6f2025d36216b6c9719fa79da9a9fe77c9c6f9e07d5e9764358532d682 -AUX ptlib-2.10.9-pkgconfig_ldflags.patch 444 BLAKE2B df7f56bd2a68c9266fbd7bb1651355fd7bece0658cb983a60e75ef8e7c97a4cc4c3715fd6c412abbbe8606d827542d8cd1002a2a78c99dcbc672909604986b30 SHA512 948a3c3ba011ae773b0c575109b833446bc5acc7dd3415545dc5f53548a0c2d973f3485672d3694a373242b9ff33911fd9c5efe67c42c8be1289b7622f87e8b4 -AUX ptlib-2.10.9-respect_cxxflags.patch 350 BLAKE2B 683b044721a8abbf36aed816e0a74b9578f063a8ab48d6edbe99c3d37c0880f7824290ad468270ab9e6f7979350b72457306d79ad17d706c9a1a281bf5182a16 SHA512 a74aa658f73b0b73db90324a7e6ef6546e43c190aa052119abf6898c70938a64a896b62d4a237002c7e235f1ba527c80e3befb9757da5de18934a029abf1bd7d -AUX ptlib-2.10.9-svn_revision_override.patch 706 BLAKE2B 01051f4fd2d27425b9331d69b276bb0821df3e60ddc90dc5311cd6398af55ff5de1e21e9eec5cf7673315ce41cf5cd41e9605de33691789b8ef030f47d829cfa SHA512 be1c89ba86f6587d59fa9ed14e2db4ec02639922461d06e28ef302e2ae9085f7d6c388b51931ec32d78aff0c38eb72d48714e6602e296ce934053eaf6f1bb137 -DIST ptlib-2.10.10-htmldoc.tar.bz2 4504867 BLAKE2B a260c8a170c067e89f07185e0512f7857f2ffcc3c93a3d3853bd93a367333fcd94cd7e9d767e2131180fb9be09ce16c1f4d6c8052bee2db6feda8274d9eaa674 SHA512 7db5d169ad107132d2bca945a1269bae0dd0100b7566b1766dda83d0559a6f2044ffc21905520f7f15d218dd0b1290eaa13d5150d81340c6b0a9a464a713741d -DIST ptlib-2.10.11.tar.bz2 3736259 BLAKE2B f594f71ca11b7828b5bcb88f5b7468c3689afa68d2cac6693a37cce12aa188e5c4b724eb08e3a8f077c57613846ba1b261c2b3a16a9345030332b5dd0c5b83e3 SHA512 ac8af8962330abf11986ccb863be0990c2e78ae611666d17c68068b72c4a5ea523ba74c55566284c3549e2346e407ccfffb5cc509fbf6ef19f1eb51dcb8b5f15 -EBUILD ptlib-2.10.11.ebuild 6278 BLAKE2B 9fd19dbce5213407461371b812bbc2b125b42f1f8015461249bd99b1ff2050f1d6bd643fc1923ede31759f65de948e2f760606ab8995808914c8b83c9a287a4b SHA512 caf82a7e556ea73801c06e7d08699662bd82391f21bd0d95ebfe7ff6e108f6c81dd774a17f4bda6b778fcbe17d0484c8cfeea6c84afd987f96d5cc27118ae9a1 -MISC metadata.xml 1102 BLAKE2B 59263308311f10f4e5a7f0425ab60fd6d60af2131dbd64c8b0517ea4a02b102f28d9b340b76c0522c3eac87304c28630525c01dc66922c35b60be473b9694300 SHA512 1d45a13f4197fbf7fc9ae6f8f0222309f59dd0fd7bedd6844125c48e60431d99a81d0e4dbeee4b9aa1dc4fb2c1e100f262b113dadf46e65613ed5a09e18435f7 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 deleted file mode 100644 index fcc8d0d2e7a8..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.10-mga-bison-parameter.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200 -+++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100 -@@ -121,9 +121,9 @@ - static int yylex(); - - #ifdef __GNUC__ --static int yyerror(char const *msg); -+static int yyerror(void *, char const *msg); - #else --static void yyerror(char const *msg); -+static void yyerror(void *, char const *msg); - #endif - - -@@ -132,7 +132,8 @@ - - %} - --%pure_parser -+%pure-parser -+%parse-param {void *parseParam} - - %union { - time_t Number; -@@ -1018,12 +1019,12 @@ - #endif - - #ifdef __GNUC__ --int yyerror(const char * s) -+int yyerror(void *var, const char * s) - { - return 0; - } - #else --static void yyerror(const char * s) -+static void yyerror(void *var, const char * s) - { - } - #endif 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 deleted file mode 100644 index 4442d333fcd1..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.10-respect_cflags_cxxflags.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ur ptlib-2.10.10.orig/make/ptbuildopts.mak.in ptlib-2.10.10/make/ptbuildopts.mak.in ---- ptlib-2.10.10.orig/make/ptbuildopts.mak.in 2014-08-04 18:11:02.000000000 +0000 -+++ ptlib-2.10.10/make/ptbuildopts.mak.in 2014-08-04 18:11:32.000000000 +0000 -@@ -15,8 +15,8 @@ - OSTYPE = @OSTYPE@ - OSRELEASE = @OSRELEASE@ - --STDCCFLAGS += @STDCCFLAGS@ @CPPFLAGS@ --STDCXXFLAGS += @STDCXXFLAGS@ @CPPFLAGS@ -+STDCCFLAGS += @STDCCFLAGS@ @CFLAGS@ -+STDCXXFLAGS += @STDCXXFLAGS@ @CXXFLAGS@ - OPTSTDCCFLAGS += @OPTSTDCCFLAGS@ - LDFLAGS += @LDFLAGS@ - ENDLDLIBS += @ENDLDLIBS@
\ No newline at end of file diff --git a/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch b/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch deleted file mode 100644 index 140de64f16e4..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.11-gcc6.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/src/ptlib/unix/svcproc.cxx -+++ b/src/ptlib/unix/svcproc.cxx -@@ -217,7 +217,7 @@ - pid_t pid; - - { -- ifstream pidfile(pidfilename); -+ ifstream pidfile(static_cast<const char*>(pidfilename)); - if (!pidfile.is_open()) { - cout << "Could not open pid file: \"" << pidfilename << "\"" - " - " << strerror(errno) << endl; -@@ -384,7 +384,7 @@ - // Run as a daemon, ie fork - - if (!pidfilename) { -- ifstream pidfile(pidfilename); -+ ifstream pidfile(static_cast<const char*>(pidfilename)); - if (pidfile.is_open()) { - pid_t pid; - pidfile >> pid; -@@ -412,7 +412,7 @@ - cout << "Daemon started with pid " << pid << endl; - if (!pidfilename) { - // Write out the child pid to magic file in /var/run (at least for linux) -- ofstream pidfile(pidfilename); -+ ofstream pidfile(static_cast<const char*>(pidfilename)); - if (pidfile.is_open()) - pidfile << pid; - else 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 deleted file mode 100644 index 0a3012c8510a..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index acd531977c3b..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.9-pkgconfig_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index dc09f960f05a..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.9-respect_cxxflags.patch +++ /dev/null @@ -1,10 +0,0 @@ -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 deleted file mode 100644 index 5531fd9f6fcb..000000000000 --- a/net-libs/ptlib/files/ptlib-2.10.9-svn_revision_override.patch +++ /dev/null @@ -1,18 +0,0 @@ -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/metadata.xml b/net-libs/ptlib/metadata.xml deleted file mode 100644 index 11317127f35c..000000000000 --- a/net-libs/ptlib/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="asn">Enable ASN decoding/encoding 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> - <upstream> - <remote-id type="sourceforge">opalvoip</remote-id> - </upstream> -</pkgmetadata> 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 02495a8d0e38..000000000000 --- a/net-libs/ptlib/ptlib-2.10.11.ebuild +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 -xmpp 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 ) - xmpp? ( 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" \ - "${FILESDIR}/${P}-gcc6.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 xmpp 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 -} |