webrtc-audio-processing: update to 0.3.

This commit is contained in:
Juan RP 2016-06-25 07:51:59 +02:00
parent bd2a6d7ed2
commit 606b0184f2
4 changed files with 25 additions and 30 deletions

View file

@ -1022,7 +1022,7 @@ libiptcdata.so.0 libiptcdata-1.0.4_1
libutempter.so.0 libutempter-1.1.5_1
libxatracker.so.2 libxatracker-10.0.0_2
libtumbler-1.so.0 tumbler-4.9.2_1
libwebrtc_audio_processing.so.0 webrtc-audio-processing-0.1_1
libwebrtc_audio_processing.so.1 webrtc-audio-processing-0.3_1
libcupsmime.so.1 libcups-1.5.3_1
libcupsppdc.so.1 libcups-1.5.3_1
libcupscgi.so.1 libcups-1.5.3_1

View file

@ -0,0 +1,20 @@
--- webrtc/base/checks.cc.orig 2016-06-25 07:47:34.099515548 +0200
+++ webrtc/base/checks.cc 2016-06-25 07:48:28.554122463 +0200
@@ -16,7 +16,7 @@
#include <cstdio>
#include <cstdlib>
-#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
+#if defined(__GLIBC__) && defined(__GLIBCXX__)
#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(__GLIBC__) && defined(__GLIBCXX__)
void* trace[100];
int size = backtrace(trace, sizeof(trace) / sizeof(*trace));
char** symbols = backtrace_symbols(trace, size);

View file

@ -1,24 +0,0 @@
--- src/typedefs.h 2011-10-21 00:29:33.000000000 -0400
+++ src/typedefs.h 2014-01-28 18:42:57.816865572 -0500
@@ -77,7 +77,19 @@
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else
-#error Please add support for your architecture in typedefs.h
+/* instead of failing, use typical unix defines... */
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WEBRTC_ARCH_BIG_ENDIAN
+#else
+#error __BYTE_ORDER__ is not defined!
+#endif
+#if defined(__LP64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
#endif
#if defined(__SSE2__) || defined(_MSC_VER)

View file

@ -1,18 +1,17 @@
# Template file for 'webrtc-audio-processing'
pkgname=webrtc-audio-processing
version=0.1
revision=3
version=0.3
revision=1
build_style=gnu-configure
short_desc="AudioProcessing library based on Google's implementation of WebRTC"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
distfiles="$homepage/$pkgname-$version.tar.xz"
checksum=ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc
checksum=756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vinstall PATENTS 644 usr/share/licenses/${pkgname}
vlicense COPYING
}
webrtc-audio-processing-devel_package() {