From b2bfa9012dc6775ae01bda339e723f9b67e3db30 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Sun, 1 Dec 2019 14:04:39 -0800 Subject: [PATCH] Remove unmaintained / unused ebuilds --- dev-util/bob/build.sh | 3 + media-libs/bzrtp/Manifest | 4 - media-libs/bzrtp/bzrtp-1.0.6.ebuild | 20 --- media-libs/bzrtp/bzrtp-9999.ebuild | 43 ----- media-libs/bzrtp/files/cmake-fix.patch | 11 -- media-libs/mediastreamer/Manifest | 6 - .../files/mediastreamer-gitversion.patch | 24 --- .../files/mediastreamer-gitversion2.patch | 13 -- .../files/mediastreamer-underlinking.patch | 53 ------ .../files/mediastreamer-xxd.patch | 16 -- .../mediastreamer/mediastreamer-2.16.1.ebuild | 165 ------------------ media-plugins/mediastreamer-x264/Manifest | 2 - .../mediastreamer-x264-1.5.3.ebuild | 35 ---- net-im/jitsi-bin/Manifest | 3 - net-im/jitsi-bin/jitsi-bin-2.11.5602.ebuild | 38 ---- net-libs/bctoolbox/Manifest | 3 - net-libs/bctoolbox/bctoolbox-0.6.0.ebuild | 19 -- net-libs/bctoolbox/bctoolbox-9999.ebuild | 34 ---- net-libs/ortp/Manifest | 2 - net-libs/ortp/ortp-1.0.2.ebuild | 48 ----- net-voip/belle-sip/Manifest | 2 - net-voip/belle-sip/belle-sip-1.6.3.ebuild | 59 ------- net-voip/linphone/Manifest | 4 - net-voip/linphone/files/linphone-nls.patch | 19 -- .../files/linphone-no-cam-crash-fix.patch | 12 -- net-voip/linphone/linphone-3.12.0.ebuild | 122 ------------- 26 files changed, 3 insertions(+), 757 deletions(-) delete mode 100644 media-libs/bzrtp/Manifest delete mode 100644 media-libs/bzrtp/bzrtp-1.0.6.ebuild delete mode 100644 media-libs/bzrtp/bzrtp-9999.ebuild delete mode 100644 media-libs/bzrtp/files/cmake-fix.patch delete mode 100644 media-libs/mediastreamer/Manifest delete mode 100644 media-libs/mediastreamer/files/mediastreamer-gitversion.patch delete mode 100644 media-libs/mediastreamer/files/mediastreamer-gitversion2.patch delete mode 100644 media-libs/mediastreamer/files/mediastreamer-underlinking.patch delete mode 100644 media-libs/mediastreamer/files/mediastreamer-xxd.patch delete mode 100644 media-libs/mediastreamer/mediastreamer-2.16.1.ebuild delete mode 100644 media-plugins/mediastreamer-x264/Manifest delete mode 100644 media-plugins/mediastreamer-x264/mediastreamer-x264-1.5.3.ebuild delete mode 100644 net-im/jitsi-bin/Manifest delete mode 100644 net-im/jitsi-bin/jitsi-bin-2.11.5602.ebuild delete mode 100644 net-libs/bctoolbox/Manifest delete mode 100644 net-libs/bctoolbox/bctoolbox-0.6.0.ebuild delete mode 100644 net-libs/bctoolbox/bctoolbox-9999.ebuild delete mode 100644 net-libs/ortp/Manifest delete mode 100644 net-libs/ortp/ortp-1.0.2.ebuild delete mode 100644 net-voip/belle-sip/Manifest delete mode 100644 net-voip/belle-sip/belle-sip-1.6.3.ebuild delete mode 100644 net-voip/linphone/Manifest delete mode 100644 net-voip/linphone/files/linphone-nls.patch delete mode 100644 net-voip/linphone/files/linphone-no-cam-crash-fix.patch delete mode 100644 net-voip/linphone/linphone-3.12.0.ebuild diff --git a/dev-util/bob/build.sh b/dev-util/bob/build.sh index 8154c55..db18567 100755 --- a/dev-util/bob/build.sh +++ b/dev-util/bob/build.sh @@ -229,6 +229,9 @@ emerge --config sys-libs/timezone-data echo "Setting locale to C" eselect locale set C source /etc/profile + +#echo "Setting linker to gold" +#binutils-config --linker ld.gold EOF # Updating world, using our make.conf and settings diff --git a/media-libs/bzrtp/Manifest b/media-libs/bzrtp/Manifest deleted file mode 100644 index 3329b35..0000000 --- a/media-libs/bzrtp/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX cmake-fix.patch 405 BLAKE2B 731149da40ec16356a41d610deeb5257f56c4fd29f44f804ca68b37a7370befb5b0bc21b9c64b24fb76db5c44c1b1ed27fadfade5a95c69b15e6f406311d06f8 SHA512 b1a2c8b4d12ead71a9b4c26fe5738b7e10e5e71bace72aa45715a9a3b4bcab072c61a885f979b1f18804d030c7715f12bfca92a39aa22c06ac017af81c7c0776 -DIST bzrtp-1.0.6.tar.gz 134824 BLAKE2B b6dea2e9a82cd68bc37696a7d86ba4a225b7ff27b075a90113ce6e6aca3a6ed3b787ec9a567bcfa168e05e71d9ad248e3713c3269ce53717c194fcb2f1b7bdb2 SHA512 e1ed1ec43afbc7c5eedfa34d3db926edf16412ad47968d2fab24b6d21dd84353ad0efccd979b99b251e0f98cb4f4b52b5c97b7ca6a577d314da86dcbd6752bb1 -EBUILD bzrtp-1.0.6.ebuild 452 BLAKE2B aa667ae6998f330f0d950a8de3755ec48cda29882f96a3412a8ddfa802e8f4caad41bd72e1542307c344e86ee944e09301058ee5e2ca1eb415395e6ee6d938fa SHA512 77bae3d78da3eb95d003767e96679827fec14a818d9c3acc0e630b71d1953e1948aa1711a2d3bd60cba418bd2e8795e559a673c81b8fc95caa9091bbd08e1ac8 -EBUILD bzrtp-9999.ebuild 812 BLAKE2B f1a53d5146c94eadbdf2754e267b9ca5ec0d67fa1e93ccbfa9d3edfc1b7c802f0b219dd1297d19c3a5b9ccbe3c55d477060a5fdd5b0190bf9fa2076d794be390 SHA512 96c12a05431650899caeb244523038676511eb69e7dc63ad8ade2ba724ce6cf0de49b8e40ff7a1c65239702b8f3eae76b580299dbe64f6464d384c53651f34f5 diff --git a/media-libs/bzrtp/bzrtp-1.0.6.ebuild b/media-libs/bzrtp/bzrtp-1.0.6.ebuild deleted file mode 100644 index 3a1047e..0000000 --- a/media-libs/bzrtp/bzrtp-1.0.6.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Implementation of ZRTP keys exchange protocol" -HOMEPAGE="http://www.linphone.org" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=net-libs/bctoolbox-0.6.0 - dev-libs/libxml2:2 - dev-db/sqlite:3" -RDEPEND="${DEPEND}" diff --git a/media-libs/bzrtp/bzrtp-9999.ebuild b/media-libs/bzrtp/bzrtp-9999.ebuild deleted file mode 100644 index f7f560e..0000000 --- a/media-libs/bzrtp/bzrtp-9999.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -if [[ ${PV} = 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.linphone.org/BC/public/bzrtp.git" - SRC_URI="" -else - SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Implementation of ZRTP keys exchange protocol" -HOMEPAGE="http://www.linphone.org" -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -DEPEND=">net-libs/bctoolbox-0.6.0 - dev-libs/libxml2:2 - dev-db/sqlite:3" -RDEPEND="${DEPEND}" - -src_prepare() { - eapply_user - epatch "${FILESDIR}/cmake-fix.patch" - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DENABLE_STRICT=NO - ) - cmake-utils_src_configure -} - - diff --git a/media-libs/bzrtp/files/cmake-fix.patch b/media-libs/bzrtp/files/cmake-fix.patch deleted file mode 100644 index a2b8c4f..0000000 --- a/media-libs/bzrtp/files/cmake-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- build/CMakeLists.txt.orig 2019-07-22 09:42:36.746268335 +0100 -+++ build/CMakeLists.txt 2019-07-22 09:44:06.927185614 +0100 -@@ -47,7 +47,7 @@ - - set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) - --bc_generate_rpm_specfile("rpm/bzrtp.spec.cmake" "${PROJECT_SOURCE_DIR}/bzrtp.spec") -+# bc_generate_rpm_specfile("rpm/bzrtp.spec.cmake" "${PROJECT_SOURCE_DIR}/bzrtp.spec") - - include(CPack) - diff --git a/media-libs/mediastreamer/Manifest b/media-libs/mediastreamer/Manifest deleted file mode 100644 index 85e0e7a..0000000 --- a/media-libs/mediastreamer/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX mediastreamer-gitversion.patch 972 BLAKE2B cb96b9f02a1b25131e567d3add8247760da9eb76fe1ef9c7a4714674ac6980f2f84c95ddec0cbe78012f964cea97edb45b0b7f9f73f1606f602b11d1de6bf28e SHA512 8b57e59404ae73dd558508d639f82974fbf5c3905fad7299e77d02aacb58b1e96b107a103ebb09b35197b4c4b117b09fb6b4a583f61592df46ce42ebdeaeb19e -AUX mediastreamer-gitversion2.patch 638 BLAKE2B 27953bd1580a21d433f5116aa561dc52a44d068049698efc188c2a7f3487bbbb3ff9f493450bcb0244dfee90f52bd430dc10aebdedfc22acad6c5900451d74b8 SHA512 fe3d81208dff85c0727a829b6d8895081b2b6ceb506a60ef836a7c6b2b88348e6cab53b5c7f60f230a10a24ab3e534996819a27dd60ec5ce8bc3047e52bcf05f -AUX mediastreamer-underlinking.patch 2073 BLAKE2B 327972b03b20150034da9c4ef8afd811165c3e9fefea48711d87fbb69622b560d3356f1692d2c296c71714fddf7f4bedeaefd8ebabb3cf5328ffc3e4d6400f35 SHA512 8677e1a42680d67bc5624173b406a1c6fc04435917e73a844a79b0ee97648220bf994ed0eaf4762a86ffdc9e489b44774435bd48618f2b0966d39e6d9b40e485 -AUX mediastreamer-xxd.patch 598 BLAKE2B 1c76aafd33204fc8c5f61859e92f67e954ee1a1423a3e04ca22ddc12f355053ed6d9b4742151a7aeae0471985e0d48d08e42341e90bf5c63ab5eceb60d1a49bc SHA512 8fc5c75728833387850bb7d76410d9c65da43f8beae9b683722ddb4291317940a2cb82b29a5eb5db37b26d475c9c5229098baa7e71ea7f7d1cb1650e167f2f17 -DIST mediastreamer-2.16.1.tar.gz 18904458 BLAKE2B 22e721a7fec8ed86e8bb764f338261911b7e91338d87218e42b576b1b604b88fb3df9daaf89e3b998dbc9f4eb59e4095d8050b3a5385d8273cf3bd021d0d8152 SHA512 44b3a5092aedf65b5503c7843c88e4acc2d0e72093a4f057440355c281135a17c898c1c01438e372bf7c8ae2f30a79ad8a59315f3f3d9b914599a185e90fbe81 -EBUILD mediastreamer-2.16.1.ebuild 4396 BLAKE2B f7bf0e584cac334ab58e6b6fa9145940a13039ebc0dbcf404b16d6f6d9f45b57489603bd840d7d84be6c806e53fbffac6f31c481a6819ea35defe6eb7206e257 SHA512 7a2b2817aabb9a0f088ab61c657d64a950794ec0b61dbe1969e814cfffb7a829de1eb20e7d84164fcc88ae1d8d07adb9177f38ab739ac3355db91b1d62c5033e diff --git a/media-libs/mediastreamer/files/mediastreamer-gitversion.patch b/media-libs/mediastreamer/files/mediastreamer-gitversion.patch deleted file mode 100644 index b05f544..0000000 --- a/media-libs/mediastreamer/files/mediastreamer-gitversion.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/base/msfactory.c b/src/base/msfactory.c -index 11d5627..94a29e5 100644 ---- a/src/base/msfactory.c -+++ b/src/base/msfactory.c -@@ -24,8 +24,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - # ifndef MEDIASTREAMER_VERSION - # define MEDIASTREAMER_VERSION "unknown" - # endif --# ifndef MS2_GIT_VERSION --# define MS2_GIT_VERSION "unknown" -+# ifndef GIT_VERSION -+# define GIT_VERSION "unknown" - # endif - #endif - -@@ -174,7 +174,7 @@ void ms_factory_init(MSFactory *obj){ - ortp_set_log_level_mask(ORTP_LOG_DOMAIN, ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); - } - -- ms_message("Mediastreamer2 factory " MEDIASTREAMER_VERSION " (git: " MS2_GIT_VERSION ") initialized."); -+ ms_message("Mediastreamer2 factory " MEDIASTREAMER_VERSION " (git: " GIT_VERSION ") initialized."); - /* register builtin MSFilter's */ - for (i=0;ms_base_filter_descs[i]!=NULL;i++){ - ms_factory_register_filter(obj,ms_base_filter_descs[i]); diff --git a/media-libs/mediastreamer/files/mediastreamer-gitversion2.patch b/media-libs/mediastreamer/files/mediastreamer-gitversion2.patch deleted file mode 100644 index 763021a..0000000 --- a/media-libs/mediastreamer/files/mediastreamer-gitversion2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/base/msfactory.c b/src/base/msfactory.c -index 94a29e5..8771281 100644 ---- a/src/base/msfactory.c -+++ b/src/base/msfactory.c -@@ -174,7 +174,7 @@ void ms_factory_init(MSFactory *obj){ - ortp_set_log_level_mask(ORTP_LOG_DOMAIN, ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); - } - -- ms_message("Mediastreamer2 factory " MEDIASTREAMER_VERSION " (git: " GIT_VERSION ") initialized."); -+ ms_message("Mediastreamer2 factory " MEDIASTREAMER_VERSION " (git: unknown) initialized."); - /* register builtin MSFilter's */ - for (i=0;ms_base_filter_descs[i]!=NULL;i++){ - ms_factory_register_filter(obj,ms_base_filter_descs[i]); diff --git a/media-libs/mediastreamer/files/mediastreamer-underlinking.patch b/media-libs/mediastreamer/files/mediastreamer-underlinking.patch deleted file mode 100644 index b6b60a9..0000000 --- a/media-libs/mediastreamer/files/mediastreamer-underlinking.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 497ad9c27385c02f4f038b6e787ada9c7b6f8373 Mon Sep 17 00:00:00 2001 -From: hasufell -Date: Wed, 9 Oct 2013 18:24:28 +0200 -Subject: [PATCH] fix underlinking - ---- - configure.ac | 20 ++++++++++++++++++++ - src/Makefile.am | 2 +- - 2 files changed, 21 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 9f402bd..4b923a9 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -893,6 +893,26 @@ fi - echo "G729 AnnexB in RFC3389 is disabled." - fi - AM_CONDITIONAL(LIBBCG729,test x$g729bCN != xfalse) -+dnl Check for clock_gettime, in libc for FreeBSD, in rt for linux, -+dnl in rt for Solaris 7, in posix4 for Solaris 2.5.1 -+LIB_CLOCK_GETTIME= -+clk_saved_libs=$LIBS -+AC_SEARCH_LIBS([clock_gettime], [rt posix4], -+ [test "$ac_cv_search_clock_gettime" = "none required" || -+ LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime]) -+AC_SUBST([LIB_CLOCK_GETTIME]) -+ -+AC_MSG_CHECKING([for working clock_gettime]) -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], -+ [[clock_gettime(CLOCK_REALTIME, 0);]])], [gnupg_cv_clock_gettime=yes], [gnupg_cv_clock_gettime=no]) -+AC_MSG_RESULT($gnupg_cv_clock_gettime) -+ -+if test x"$gnupg_cv_clock_gettime" = xyes; then -+ AC_DEFINE([HAVE_CLOCK_GETTIME], 1, -+ [Define to 1 if you have the `clock_gettime' function.]) -+fi -+LIBS=$clk_saved_libs -+ - - dnl ################################################## - dnl # Check for doxygen -diff --git a/src/Makefile.am b/src/Makefile.am ---- a/src/Makefile.am 2015-03-22 14:54:22.241017401 +0500 -+++ b/src/Makefile.am 2015-03-22 14:53:58.336018407 +0500 -@@ -327,7 +327,7 @@ - awk 'BEGIN { print("MSFilterDesc * ms_voip_filter_descs[]={") } { printf("&%s,\n",$$1) } END{ print("NULL\n};\n") } ' $(abs_builddir)/voipdescs.txt >> $(abs_builddir)/$@ - - --libmediastreamer_base_la_LIBADD = $(ORTP_LIBS) -+libmediastreamer_base_la_LIBADD = $(ORTP_LIBS) @LIB_CLOCK_GETTIME@ - libmediastreamer_base_la_LDFLAGS = -no-undefined -version-info $(LIBMEDIASTREAMER_SO_VERSION) - libmediastreamer_voip_la_LDFLAGS = -no-undefined -version-info $(LIBMEDIASTREAMER_SO_VERSION) - diff --git a/media-libs/mediastreamer/files/mediastreamer-xxd.patch b/media-libs/mediastreamer/files/mediastreamer-xxd.patch deleted file mode 100644 index d557adb..0000000 --- a/media-libs/mediastreamer/files/mediastreamer-xxd.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/src/Makefile.am 2015-03-22 15:10:30.685976674 +0500 -+++ b/src/Makefile.am 2015-03-22 15:13:33.590968982 +0500 -@@ -471,11 +471,11 @@ - - yuv2rgb.fs.h: yuv2rgb.fs - cd $(abs_srcdir) && \ -- xxd -i yuv2rgb.fs | sed s/}\;/,0x00}\;/ > $(abs_builddir)/yuv2rgb.fs.h -+ xxdi.pl yuv2rgb.fs | sed s/}\;/0x00}\;/ > $(abs_builddir)/yuv2rgb.fs.h - - yuv2rgb.vs.h: yuv2rgb.vs - cd $(abs_srcdir) && \ -- xxd -i yuv2rgb.vs | sed s/}\;/,0x00}\;/ > $(abs_builddir)/yuv2rgb.vs.h -+ xxdi.pl yuv2rgb.vs | sed s/}\;/0x00}\;/ > $(abs_builddir)/yuv2rgb.vs.h - - #because make bundle serahc in this dir - install-data-local: diff --git a/media-libs/mediastreamer/mediastreamer-2.16.1.ebuild b/media-libs/mediastreamer/mediastreamer-2.16.1.ebuild deleted file mode 100644 index b811f38..0000000 --- a/media-libs/mediastreamer/mediastreamer-2.16.1.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Mediastreaming library for telephony application" -HOMEPAGE="http://www.linphone.org/" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -# Many cameras will not work or will crash an application if mediastreamer2 is -# not built with v4l2 support (taken from configure.ac) -# TODO: run-time test for ipv6: does it really need ortp[ipv6] ? -IUSE="+alsa amr bindist bv16 coreaudio debug doc examples +filters g726 g729 gsm ilbc - ipv6 jpeg libav matroska ntp-timestamp opengl opus +ortp oss pcap portaudio pulseaudio sdl - silk +speex static-libs test theora tools upnp v4l video vpx x264 X" - -REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio ) - video? ( || ( opengl sdl X ) ) - theora? ( video ) - X? ( video ) - v4l? ( video ) - opengl? ( video )" - -RDEPEND=">=net-libs/bctoolbox-0.6.0 - media-libs/bzrtp - net-libs/libsrtp:0 - alsa? ( media-libs/alsa-lib ) - g726? ( >=media-libs/spandsp-0.0.6_pre1 ) - gsm? ( media-sound/gsm ) - matroska? ( >=media-libs/bcmatroska2-0.23 ) - opus? ( media-libs/opus ) - ortp? ( >=net-libs/ortp-1.0.2 ) - pcap? ( sys-libs/libcap ) - portaudio? ( media-libs/portaudio ) - pulseaudio? ( media-sound/pulseaudio ) - speex? ( media-libs/speex media-libs/speexdsp ) - upnp? ( net-libs/libupnp:0 ) - video? ( - libav? ( media-video/libav:0/11 ) - - opengl? ( media-libs/glew:0 - virtual/opengl - x11-libs/libX11 ) - v4l? ( media-libs/libv4l - sys-kernel/linux-headers ) - theora? ( media-libs/libtheora ) - sdl? ( media-libs/libsdl[video,X] ) - X? ( x11-libs/libX11 - x11-libs/libXv ) )" - -DEPEND="${RDEPEND} - dev-util/intltool - app-editors/vim-core - virtual/pkgconfig - doc? ( app-doc/doxygen ) - opengl? ( dev-util/xxdi ) - test? ( >=dev-util/cunit-2.1_p3[ncurses] ) - X? ( x11-base/xorg-proto )" - -PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) ) - g729? ( !bindist? ( media-libs/bcg729 ) ) - ilbc? ( media-plugins/mediastreamer-ilbc ) - video? ( x264? ( media-plugins/mediastreamer-x264 ) ) - silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )" - -src_prepare() { - eapply_user - - # variable causes "command not found" warning and is not - # needed anyway - sed -i \ - -e 's/$(ACLOCAL_MACOS_FLAGS)//' \ - Makefile.am || die - - # respect user's CFLAGS - sed -i \ - -e "s:-O2::;s: -g::" \ - configure.ac || die "patching configure.ac failed" - - # change default paths - sed -i \ - -e "s:\(prefix/share\):\1/${PN}:" \ - configure.ac || die "patching configure.ac failed" - - # fix doc installation dir - sed -i \ - -e "s:\$(pkgdocdir):\$(docdir):" \ - help/Makefile.am || die "patching help/Makefile.am failed" - - # fix html installation dir - sed -i \ - -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" \ - help/Makefile.am || die "patching help/Makefile.am failed" - - # linux/videodev.h dropped in 2.6.38 - sed -i \ - -e 's:linux/videodev.h ::' \ - configure.ac || die - - # break check for conflicts with polarssl (emdedtls is used instead anyway) - sed -i \ - -e 's:sha1_update:sha1_update_XXX:' \ - configure.ac || die - - epatch \ - "${FILESDIR}/${PN}-underlinking.patch" \ - "${FILESDIR}/${PN}-xxd.patch" \ - "${FILESDIR}/${PN}-gitversion.patch" \ - "${FILESDIR}/${PN}-gitversion2.patch" # second one because of cmake - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DENABLE_SHARED=ON - -DENABLE_STATIC=$(usex static-libs) - -DENABLE_DEBUG_LOGS=$(usex debug) - -DENABLE_DOC=$(usex doc) - -DENABLE_NON_FREE_CODECS=ON - -DENABLE_PCAP=$(usex pcap) - -DENABLE_STRICT=OFF - -DENABLE_TOOLS=$(usex tools) - -DENABLE_UNIT_TESTS=$(usex test) - -DENABLE_SRTP=ON - -DENABLE_SOUND=ON - -DENABLE_G726=$(usex g726) - -DENABLE_GSM=$(usex gsm) - -DENABLE_BV16=$(usex bv16) - -DENABLE_OPUS=$(usex opus) - -DENABLE_SPEEX_CODEC=$(usex speex) - -DENABLE_SPEEX_DSP=$(usex speex) - -DENABLE_G729=$(usex g729) - -DENABLE_G729B_CNG=$(usex g729) - -DENABLE_VIDEO=$(usex video) - -DENABLE_MKV=$(usex matroska) - -DENABLE_JPEG=$(usex jpeg) - ) - - # Other options - # -DENABLE_FIXED_POINT=$(usex point) - # -DENABLE_RELATIVE_PREFIX=$(usex prefix) - - cmake-utils_src_configure -} - -src_test() { - default - cd tester || die - ./mediastreamer2_tester || die -} - -src_install() { - cmake-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins tester/*.c - fi -} diff --git a/media-plugins/mediastreamer-x264/Manifest b/media-plugins/mediastreamer-x264/Manifest deleted file mode 100644 index 283aa00..0000000 --- a/media-plugins/mediastreamer-x264/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST msx264-1.5.3.tar.gz 341750 BLAKE2B af9325d900a80b9e6073d6de8ef081bbe1e6e059a7a02311bb75ec368943efed8880a00c45b260cb429ad0bd5826ea3dca4ff0a15b2b0debf7c81f0955214a39 SHA512 fb8e6fd9f82c09386f813a4c502dacd5a959770cf70f49a582a44259626174f38ed0aadc1686fe8f13136fbd1ee7ed92da7ee675d8a0d8c25de640378b55a498 -EBUILD mediastreamer-x264-1.5.3.ebuild 734 BLAKE2B 23ab448847fffd13f2d7d2cf0a92e7a8b4ce69888f1d93c045a246e2051f2f43d5bb4a060c52452ba4a8f2d4487ef2b06903911e6b150b0dbd299fa972d9b34d SHA512 3d1ff24bbb193e432bb009e4def6e486d18636986424fdc553b29589ee66037a1ab41b2561b91cdc8930be5140139f2d44d983b979473cb11a574b203d791f55 diff --git a/media-plugins/mediastreamer-x264/mediastreamer-x264-1.5.3.ebuild b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.5.3.ebuild deleted file mode 100644 index c9c4fad..0000000 --- a/media-plugins/mediastreamer-x264/mediastreamer-x264-1.5.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -MY_PN="msx264" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="mediastreamer plugin: add H264 support" -HOMEPAGE="http://www.linphone.org/" -SRC_URI="http://www.linphone.org/releases/sources/plugins/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="libav" - -RDEPEND=">=media-libs/mediastreamer-2.7.0:=[video] - >=media-libs/x264-0.0.20100118:= - libav? ( media-video/libav:0= ) - !libav? ( media-video/ffmpeg:0= )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -src_configure() { - mycmakeargs=( - -DENABLE_SHARED=ON - -DENABLE_STATIC=OFF - ) - cmake-utils_src_configure -} diff --git a/net-im/jitsi-bin/Manifest b/net-im/jitsi-bin/Manifest deleted file mode 100644 index 1334130..0000000 --- a/net-im/jitsi-bin/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST jitsi-2.11-5602.i686.rpm 46620136 BLAKE2B 529866cc875a0ab25e44c28d3a13ca50e4826a1b2b6cbf955f1a6fb4e3443df8a9dd56c6cb4247ce5bc60f13124fbe58d4a000909fbdac65aee34e3fa15c6521 SHA512 9c080eda0699241abd794a6f079be1adea2ca2032dee25927b364aa3ca3cd279fc7782c47678635f93924d6004e3f07ac3ab7bb1b19e5ffd939a06597126e2d1 -DIST jitsi-2.11-5602.x86_64.rpm 46622200 BLAKE2B 80fd79aa33fe3bb842267c2e21e0d8979c056c74bf7b5bd3e5b417c29fc2782d9cea30a29c3fd97ca6fc9e5aecef1d5c39288d29b6e3e282e053570e3d0d8c9f SHA512 dfe53d52789e4c12e00a26c8a8515a72f539a67305fbef2298c29c30d6d6e742d8fd3604117f5c25ef41a4825510e7d0605f5c250831befa17f020cd3413c1b7 -EBUILD jitsi-bin-2.11.5602.ebuild 742 BLAKE2B 4f82eed5c75cb6477bf8404968de185a9c890d925fb09e7d33db223764825aa3e606479ea77875e7c45939044d3d7240cc4e04f8502112f9274857bb98a2bc80 SHA512 f10f8a922b65ac0fb42757699ace32ed615846e5b0e2d755c1e6273f27a764f108c60c4033279ababd12306dfc0b661dcc3538d0d35f6161bc15e4e0e0a14c6e diff --git a/net-im/jitsi-bin/jitsi-bin-2.11.5602.ebuild b/net-im/jitsi-bin/jitsi-bin-2.11.5602.ebuild deleted file mode 100644 index ffaf493..0000000 --- a/net-im/jitsi-bin/jitsi-bin-2.11.5602.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit rpm -MY_PV=$(ver_rs 2 -) - -DESCRIPTION="Secure IM communicator that supports SIP, XMPP, AIM/ICQ, Windows Live, Yahoo" -HOMEPAGE="https://jitsi.org/" -#https://download.jitsi.org/jitsi/nightly/rpm/ -SRC_URI=" - x86? ( https://download.jitsi.org/jitsi/nightly/rpm/jitsi-${MY_PV}.i686.rpm ) - amd64? ( https://download.jitsi.org/jitsi/nightly/rpm/jitsi-${MY_PV}.x86_64.rpm )" - -RESTRICT="strip" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=virtual/jre-1.7" - -QA_PREBUILT=" - usr/share/jitsi/lib/native/* -" - -S="${WORKDIR}" - -src_unpack() { - rpm_unpack -} - -src_install() { - cp -pPR "${S}/usr" "${D}"/ -} diff --git a/net-libs/bctoolbox/Manifest b/net-libs/bctoolbox/Manifest deleted file mode 100644 index 161f630..0000000 --- a/net-libs/bctoolbox/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST bctoolbox-0.6.0.tar.gz 111344 BLAKE2B 63960c59d3eb6b759d5c8fd32077f94f8da17a9d9d57d524462900cd216ed45c233a4b33cbd72280ad86760024c7bf42539493ca8fc3644df1e2feb797c2ae32 SHA512 83179260632558de5604322e67fb90fb0c1d2c635ce7e9c378442d4fff2bda5ed7e2ba83b8118f04bc450b6de9869685f0a0fb67b020674e9ec484962d202e21 -EBUILD bctoolbox-0.6.0.ebuild 469 BLAKE2B 07b77de0acb0441aa71c87b660dc903765ddc788da1363c1b934b3f96dcc1dc444d4fa597dd837aa99446da002e760e47f15721406750b471fbdc52f7620ecab SHA512 172f2e31046f1cc1cb594798f8d9a3ebe326cc8b36fb457dcb8c84c399eb101ebf0f56ea860ae0bdf6398b368bb21a9017f4a17c9c0e924381c6db7cbddf14a8 -EBUILD bctoolbox-9999.ebuild 731 BLAKE2B c56b976b17b587ab7b2befb5d056d97bd9eb8823975f932488553697e849010d2c02fa30936b3b60006c18a6092d7f5dd1bc13f91f5c0f92f51f15fcf94d2f8c SHA512 dd5748a69f5711bc30386c784bd03910f056b28421533a8252b45db7b8f43a3966eb0d4c13cb9405b07bbef3e09976d817e1a1711e373bf077205c14453916a8 diff --git a/net-libs/bctoolbox/bctoolbox-0.6.0.ebuild b/net-libs/bctoolbox/bctoolbox-0.6.0.ebuild deleted file mode 100644 index ac5e3ab..0000000 --- a/net-libs/bctoolbox/bctoolbox-0.6.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Utilities library used by Belledonne Communications softwares" -HOMEPAGE="https://savannah.nongnu.org/projects/linphone/" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND=">=dev-util/bcunit-3.0.2 - net-libs/mbedtls" -RDEPEND="${DEPEND}" diff --git a/net-libs/bctoolbox/bctoolbox-9999.ebuild b/net-libs/bctoolbox/bctoolbox-9999.ebuild deleted file mode 100644 index 711b8a0..0000000 --- a/net-libs/bctoolbox/bctoolbox-9999.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -if [[ ${PV} = 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.linphone.org/BC/public/bctoolbox.git" - SRC_URI="" -else - SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Utilities library used by Belledonne Communications softwares" -HOMEPAGE="https://savannah.nongnu.org/projects/linphone/" - -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND=">=dev-util/bcunit-3.0.2 - net-libs/mbedtls" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DENABLE_STRICT=NO - ) - cmake-utils_src_configure -} diff --git a/net-libs/ortp/Manifest b/net-libs/ortp/Manifest deleted file mode 100644 index 16f0c1d..0000000 --- a/net-libs/ortp/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ortp-1.0.2.tar.gz 223758 BLAKE2B 04d4d80a11520e1f76326f5df5df1a3fd3d00219ec9358a11d4660ea2f77a9fb67387b9f8cdf6c64719a260dac21504968f96d286fe9b30be8bb13c8ecf4d7e7 SHA512 653f0a607ff8a3d44a81ff73840ffe121140d04288965f18e8e9dc1d09c28eb86cf8efef3b2bbbdff0e76299a2cf87a28d8028a70bf1918616fb10c61d77f95e -EBUILD ortp-1.0.2.ebuild 955 BLAKE2B 9f50001bdce862c866be12204fe411b8e33ec82ba7a96318a9745fef76f54e0415807f02ea30ecebe39ef96e420703f2e5dd9c8850e184d3320f13e2432a0db4 SHA512 34e835490102308264c9ffadf977436134ea6de56327651bab469c6fce6ea145d61d57638af7a04ca390838e5462b26ca6bced81c0a6cc56704a265a40bf517f diff --git a/net-libs/ortp/ortp-1.0.2.ebuild b/net-libs/ortp/ortp-1.0.2.ebuild deleted file mode 100644 index b872b1b..0000000 --- a/net-libs/ortp/ortp-1.0.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils - -DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack" -HOMEPAGE="http://www.linphone.org/" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/9" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc examples ntp-timestamp" - -RDEPEND=" - >=net-libs/bctoolbox-0.6 -" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) - virtual/pkgconfig -" - -S="${WORKDIR}/${P}-0" - -src_configure() { - local mycmakeargs=( - -DENABLE_SHARED=ON - -DENABLE_STATIC=OFF - -DENABLE_DOC=$(usex doc) - -DENABLE_NTP_TIMESTAMP=$(usex ntp-timestamp) - -DENABLE_PERF=OFF - -DENABLE_STRICT=OFF - -DENABLE_TESTS=OFF - -DENABLE_DEBUG_LOGS=$(usex debug) - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins src/tests/*.c - fi -} diff --git a/net-voip/belle-sip/Manifest b/net-voip/belle-sip/Manifest deleted file mode 100644 index 9243813..0000000 --- a/net-voip/belle-sip/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST belle-sip-1.6.3.tar.gz 610200 BLAKE2B c5b9d325df32295f935ca76ddda954ef45284621ab5f5037aab026e1db1838b68baa204b0697858f31bd95b458dab8b426f07627e6456c09050161d3e9d4bf77 SHA512 4f7049a06195a702a424fbec1671dc5075c3fbcd3fbb9dd990c15115d291ffcbde2b47440c479ef45d0f3251fa75774729c6a11ff1826adb53359c61e80c5df2 -EBUILD belle-sip-1.6.3.ebuild 1083 BLAKE2B 1920104b16bdc5bc48e5342ff5bc166f70de51c7c81a62625dc7c2320d7fc4d6edb8393145dfba67e224972d6aac8daaea3135ab427fab06a87906e39f953d54 SHA512 e487edf45038a67d848255345f98ed8275cd53609d995bdd34d94d925d03e4b504abb3e905f41d9ae21df4b4fa7b14c3df7e98c9ed0b81822e00ef0e0e02ba1e diff --git a/net-voip/belle-sip/belle-sip-1.6.3.ebuild b/net-voip/belle-sip/belle-sip-1.6.3.ebuild deleted file mode 100644 index 72a02f8..0000000 --- a/net-voip/belle-sip/belle-sip-1.6.3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="C object oriented SIP Stack." -HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip/overview" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -SLOT="0" - -IUSE="examples test -tunnel" -REQUIRED_USE="" - -DEPEND="${RDEPEND} - net-libs/bctoolbox - dev-java/antlr:3 - dev-libs/antlr-c - dev-util/intltool - sys-devel/libtool - virtual/pkgconfig - test? ( >=dev-util/cunit-2.1_p3[ncurses] )" - -S="${WORKDIR}/${P}-0" - -src_configure() { - local mycmakeargs=( - -DENABLE_SHARED=ON - -DENABLE_STATIC=OFF - -DENABLE_STRICT=OFF - -DENABLE_TUNNEL=$(usex tunnel) - -DENABLE_TESTS=$(usex test) - ) - - # other options - # -DENABLE_RTP_MAP_ALWAYS_IN_SDP=$(usex sdp) - - cmake-utils_src_configure -} - -src_test() { - default - test -d tester || die - emake -C tester test -} - -src_install() { - cmake-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins tester/*.c - fi -} diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest deleted file mode 100644 index a8a96d6..0000000 --- a/net-voip/linphone/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX linphone-nls.patch 401 BLAKE2B 65871bf4882c3e902eea109b2dc923409a95caf1474f2065fe9e2b819a072675aa68e8a18a1987ab69d9969947e765a729e7710c701edc7e9e059f8423f85782 SHA512 cec3043ca002b120907ab64177e5abed50109daae9f6bbcd6d4242667cb180bf33b2cc5a7a4f335c77fc3925736087de3f9e037daa909cc19257ca419f966820 -AUX linphone-no-cam-crash-fix.patch 432 BLAKE2B d23767e45f4fddc345d9df871f84784fcc3a0ac96ae4f0c56e794926acd5e478df880249884f3c05cb991f9b060ef5bd5ec5ec434f4796a011175cc8f737f6c0 SHA512 e9810831b0ab605d77f18b81f2b97f8567ed37cd744ebf944a437b0a38033d2455b120d5e11d0a4ab7d0779c6407a893bf6fc3aebb588ce97a36cffadf1695f2 -DIST linphone-3.12.0.tar.gz 18667484 BLAKE2B 2d0d76e7b10009045627c1ac946a70dd0c0c4d27f3f2f3981a113821d1013e83cef641951b86afe87b203a8ae70b06a7770fff1984b2f1f9e7f82e5f3e6e0d14 SHA512 d4b8c9976c19c468e7c9c9be519840d67861b0d79f8d0d84404ed70cde43434a6be38128f80341862b9f5ec57809bce79060db58550cd8661b31cefe4c6633f0 -EBUILD linphone-3.12.0.ebuild 3254 BLAKE2B f94cef60a1af87c20fa53cedb1e5955d05d156d77b3fdf6b43b8ad5c54d873d02064e851e3734c34fbdfb548e19632cd828b05b864590af6baba1d61b4bff719 SHA512 a25e4e87a5edde26aeaba899dc65ff3592c0939023cafad65d056c47958e2ab80ecaf2347c3f4c64a854ab2481117aa2837129790697bbc9020dadd57960ea63 diff --git a/net-voip/linphone/files/linphone-nls.patch b/net-voip/linphone/files/linphone-nls.patch deleted file mode 100644 index fb53aec..0000000 --- a/net-voip/linphone/files/linphone-nls.patch +++ /dev/null @@ -1,19 +0,0 @@ -Author: hasufell -Date: Sun Sep 29 20:19:39 2013 +0200 - - fix nls - ---- a/configure.ac -+++ b/configure.ac -@@ -79,7 +79,10 @@ AC_SUBST(CONSOLE_FLAGS) - AC_SUBST(GUI_FLAGS) - - dnl localization tools --IT_PROG_INTLTOOL([0.40], [no-xml]) -+AM_NLS -+if test "$USE_NLS" != "no"; then -+ IT_PROG_INTLTOOL([0.40], [no-xml]) -+fi - - AM_CONDITIONAL(BUILD_TESTS,test x$build_tests != xno) - diff --git a/net-voip/linphone/files/linphone-no-cam-crash-fix.patch b/net-voip/linphone/files/linphone-no-cam-crash-fix.patch deleted file mode 100644 index a15cc9b..0000000 --- a/net-voip/linphone/files/linphone-no-cam-crash-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/gtk/propertybox.c b/gtk/propertybox.c -index 2b1e12c..9e35f3a 100644 ---- a/gtk/propertybox.c -+++ b/gtk/propertybox.c -@@ -42,6 +42,7 @@ void linphone_gtk_fill_combo_box(GtkWidget *combo, const char **devices, const c - This dummy text needs to be removed first*/ - } - -+ if (p) - for(;*p!=NULL;++p){ - if ( cap==CAP_IGNORE - || (cap==CAP_CAPTURE && linphone_core_sound_device_can_capture(linphone_gtk_get_core(),*p)) diff --git a/net-voip/linphone/linphone-3.12.0.ebuild b/net-voip/linphone/linphone-3.12.0.ebuild deleted file mode 100644 index 011acad..0000000 --- a/net-voip/linphone/linphone-3.12.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PLOCALES="ar cs de es fi fr he hu it ja lt nb-NO nl pl pt-BR ru sr sv tr zh-CN zh-TW" - -inherit l10n multilib pax-utils cmake-utils - -DESCRIPTION="Video softphone based on the SIP protocol" -HOMEPAGE="http://www.linphone.org/" -SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]? -IUSE="assistant -doc gsm-nonstandard gtk ipv6 ldap libnotify -ncurses nls +sqlite tools upnp vcard video zlib" -# w/o sqlite it most likely will crash -REQUIRED_USE="assistant? ( gtk ) - libnotify? ( gtk )" - -RDEPEND=" - >=media-libs/mediastreamer-2.16.0[upnp?,video?] - >=net-libs/ortp-0.24.0 - net-libs/bctoolbox - >=net-voip/belle-sip-1.6.3 - virtual/udev - media-libs/bzrtp - gtk? ( - dev-libs/glib:2 - >=gnome-base/libglade-2.4.0:2.0 - >=x11-libs/gtk+-2.4.0:2 - assistant? ( >=net-libs/libsoup-2.26 ) - libnotify? ( x11-libs/libnotify ) - ) - gsm-nonstandard? ( >=media-libs/mediastreamer-2.15.0[gsm] ) - ldap? ( - dev-libs/cyrus-sasl - net-nds/openldap - ) - ncurses? ( - sys-libs/readline:0 - sys-libs/ncurses:0 - ) - sqlite? ( dev-db/sqlite:3 ) - tools? ( dev-libs/libxml2 ) - upnp? ( net-libs/libupnp:0 ) - vcard? ( >=net-voip/belcard-1.0.2 ) - video? ( >=media-libs/mediastreamer-2.15.0[v4l] ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-text/sgmltools-lite ) - nls? ( dev-util/intltool ) -" - -pkg_setup() { - if ! use gtk && ! use ncurses ; then - ewarn "gtk and ncurses are disabled." - ewarn "At least one of these use flags are needed to get a front-end." - ewarn "Only liblinphone is going to be installed." - fi -} - -src_prepare() { - default - eapply "${FILESDIR}"/${PN}-nls.patch \ - "${FILESDIR}"/${PN}-no-cam-crash-fix.patch - - # another workaround for upstream bug - printf "#define LIBLINPHONE_GIT_VERSION \"${PV}\"\n" > "${S}"/coreapi/gitversion.h - printf "#define LIBLINPHONE_GIT_VERSION \"${PV}\"\n" > "${S}"/coreapi/liblinphone_gitversion.h - - l10n_find_plocales_changes po "" .po - rm_locale() { rm -f ${1/-/_}; } - l10n_for_each_disabled_locale_do rm_locale - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DENABLE_SHARED=ON - -DENABLE_STATIC=OFF - -DENABLE_CONSOLE_UI=$(usex ncurses) - -DENABLE_DOC=$(usex doc) - -DENABLE_JAVADOC=$(usex doc) - -DENABLE_GTK_UI=$(usex gtk) - -DENABLE_LDAP=$(usex ldap) - -DENABLE_SQLITE_STORAGE=$(usex sqlite) - -DENABLE_STRICT=OFF - -DENABLE_TOOLS=$(usex tools) - -DENABLE_TUTORIALS=$(usex doc) - -DENABLE_UNIT_TESTS=OFF - -DENABLE_UPDATE_CHECK=OFF - -DENABLE_VIDEO=$(usex video) - -DENABLE_DEBUG_LOGS=ON - -DENABLE_NLS=$(usex nls) - -DENABLE_VCARD=$(usex vcard) - -DENABLE_ROOTCA_DOWNLOAD=ON - -DENABLE_CXX_WRAPPER=OFF - -DENABLE_CSHARP_WRAPPER=OFF - ) - - # cxx wrapper is broken in 3.12.0 - # who needs csharp wrapper? - - # more options - # -DENABLE_DATE=$(usex date) - # -DENABLE_DAEMON=$(usex daemon) - # -DENABLE_RELATIVE_PREFIX=$(usex prefix) - # -DENABLE_TUNNEL=$(usex tunnel) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc AUTHORS BUGS ChangeLog NEWS README.md README.arm TODO - pax-mark m "${ED%/}/usr/bin/linphone" -}