diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/webrtc-audio-processing |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/webrtc-audio-processing')
6 files changed, 155 insertions, 0 deletions
diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest new file mode 100644 index 000000000000..7bbb7bfa70c7 --- /dev/null +++ b/media-libs/webrtc-audio-processing/Manifest @@ -0,0 +1,10 @@ +AUX webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch 2251 SHA256 27bba25b043404d0b6a08a4137ec606618b6d727077196d63a79fb120edeb171 SHA512 592345960101a9538c6e1197bc8cb296ca0fb0f8c6b9b64f1f4fd906ae4a9c7e9e92de740bf6e1e38cc4efca7cab8265b59542ffcad5d04bb6f1abb399851f0f WHIRLPOOL 9496c29d54974b9af506dd538e73c150a4c9ee90cc9c567e987800be067315bbe5cb1de6cecf56fbe42884c9fb8b8442f00882276e2b8e309bc33c31403587d5 +DIST webrtc-audio-processing-0.1.tar.xz 392540 SHA256 ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 WHIRLPOOL fd3a07d5d4937fd0c37247fe9e428ab2b5623d8dc68ce0339131e7d18527ffaf6e4307f13a5f1a3e0204116f564ba166813bbd07e8e6fc5a80ceecd2ca939b64 +DIST webrtc-audio-processing-0.2.tar.xz 687484 SHA256 4b46a7f91a5d255c2451f9862c86e2a5de904902724b4bba1fd23e2854f21df5 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 WHIRLPOOL bba4b4b339ee4d043d430c3544b84983966d5526dd8e469a8ea1c5def98cba5e1ba3b3663e24b9d13826155c0493a996d385ac2582a52952e8b835664095e668 +DIST webrtc-audio-processing-0.3.tar.xz 688096 SHA256 756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 WHIRLPOOL a36663cb13ae40f24ce401eedaf621177a040e345b9ab01e84b85f78271f288d68bdbd0dfeae04efcb6724820fbdcfadee1ddcf2ee452b38298f8b162f1bfc6a +EBUILD webrtc-audio-processing-0.1-r1.ebuild 651 SHA256 a8f6f99c7a079139bdd08eae6f526819cdfe3bb37deb07141e04f15f905ceb5f SHA512 5f746278420a97ef80ff66823eca9843230acef21687c56987e7f89818bddae5b119a38faec2d5ae413ea95a0ab5e7eb056da840c340757f93d383e99c207d68 WHIRLPOOL 32970ec5ca199a9ddba95682be89bf67d2c6e31135836514e7ea50ef7578618a3d25d7fd63bc55fb759a3300bc17210de971c2fd44f2b99e0b1c39e8e188c05b +EBUILD webrtc-audio-processing-0.2.ebuild 647 SHA256 06830866cefb6a2cb8e0dd8e813205cfffff9184e39a91064f711e16781467de SHA512 492026020fa9ff0e8c69df62837d3b9ba9d6b668e251fcba44a7b4ba02cc4e9494e18532398a1e30b1a123f62afba686c900524d20058974bba38d31d782782b WHIRLPOOL c0681c0c44f29494f9e7c5a4479d7ecf27b556d6744b2e4c726af2dd033b9efeb3fe5be1f06072d34ac42d616bae847e44002eb8e0a212b646442545c06ef1e8 +EBUILD webrtc-audio-processing-0.3.ebuild 722 SHA256 ec26b59e83d18bebca98684449044a42628b1a9423ee6582b13cef28421e8906 SHA512 819f708b48186417540cf045f065a446363b3e6d949033ff29567bc377d9044f382a44d3c26dfee109a9b50438850ccac5f7247d5345d6658b798450da606d6b WHIRLPOOL 8ea9fe7d46523d8c3b9a58fc671cac89358a8712f952fde79ccdd75c11e65e6bfc12cec051c68592bd2c8db6f27b90a15d714f9fb87cac7eb5d0af7e97c3b7a3 +MISC ChangeLog 4191 SHA256 299e3dacc5dfa8f665ba2e300f369662d89fd9a6d0b8cae8add2ce3f65c8d82c SHA512 6a3350185a7293ec5962505abc8eee6715bec03f0d23a387d3e04c78fdea9d204fa92584bca3d6789604c79d0e3f051d561744b0631692ff4b0ea7138800247e WHIRLPOOL af4a59535e722c8897922c70d5e010863e59e3938a795b7c930db3d72f3867cca78fb1c76acfd1bb722c1a215cb9185214397c2c98fefbe7a5972c1aa31b9331 +MISC ChangeLog-2015 1687 SHA256 408f7561d73f9cc5fe396e22abb8518ea2859d1dc999b1557da1483f59da9c42 SHA512 59aae4b904c5478662ff368c3c7923bc77b85fb4f7537a270d8bc7d89ee9bbf0aed271fe0f9c4a91fe701138b6d7eec0af2ac20e7854a639747271adc1e52da8 WHIRLPOOL 9bc55241c6aa91353e9ab614ba561f6306c7921a4efd1204d0a6c22d73d0967191672c11c6603e645879d63d53d7f6152221e5d04aa4fb08a315341a2ab728d8 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch new file mode 100644 index 000000000000..a0332db8e78c --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch @@ -0,0 +1,63 @@ +From b7a166acaddc4c78afa2b653e25114d9114699f3 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Sat, 6 Aug 2016 11:24:50 +0200 +Subject: [PATCH] Proper detection of cxxabi.h and execinfo.h + +The current code in webrtc/base/checks.cc assumes that if __GLIBCXX__ is +defined and __UCLIBC__ is not defined, then both cxxabi.h and execinfo.h +will be available. + +Unfortunately, this is not correct with the musl C library: + + - It defines __GLIBCXX__ + - It does not define __UCLIBC__ (it's not uClibc after all!) + - But it also doesn't provide execinfo.h + +Therefore, in order to make things work properly, we switch to proper +autoconf checks for cxxabi.h and execinfo.h, and only use the backtrace +functionality if both are provided. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + configure.ac | 2 ++ + webrtc/base/checks.cc | 4 ++-- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index acbb3e2..ff4c752 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -45,6 +45,8 @@ AC_SUBST(GNUSTL_CFLAGS) + # Borrowed from gst-plugins-bad + AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-]) + ++AC_CHECK_HEADERS([cxxabi.h execinfo.h]) ++ + # Based on gst-plugins-bad configure.ac and defines in + # <chromium source>/build/config/BUILDCONFIG.gn and + # webrtc/BUILD.gn +diff --git a/webrtc/base/checks.cc b/webrtc/base/checks.cc +index 49a31f2..05d23a6 100644 +--- a/webrtc/base/checks.cc ++++ b/webrtc/base/checks.cc +@@ -16,7 +16,7 @@ + #include <cstdio> + #include <cstdlib> + +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) ++#if defined(HAVE_CXX_ABI_H) && defined(HAVE_EXECINFO_H) + #include <cxxabi.h> + #include <execinfo.h> + #endif +@@ -55,7 +55,7 @@ void PrintError(const char* format, ...) { + // to get usable symbols on Linux. This is copied from V8. Chromium has a more + // advanced stace trace system; also more difficult to copy. + void DumpBacktrace() { +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) ++#if defined(HAVE_CXX_ABI_H) && defined(HAVE_EXECINFO_H) + void* trace[100]; + int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); + char** symbols = backtrace_symbols(trace, size); +-- +2.7.4 + diff --git a/media-libs/webrtc-audio-processing/metadata.xml b/media-libs/webrtc-audio-processing/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/media-libs/webrtc-audio-processing/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild new file mode 100644 index 000000000000..669b496ef207 --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all +inherit autotools-multilib + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="static-libs" + +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" + +DOCS=( AUTHORS NEWS README ) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild new file mode 100644 index 000000000000..eadc437eb47b --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf +} + +multilib_src_install_all() { + find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild new file mode 100644 index 000000000000..b48c1061479e --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch +) + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf +} + +multilib_src_install_all() { + find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +} |