summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/iperf/PKGBUILD2
-rw-r--r--core/libcap/PKGBUILD4
-rw-r--r--extra/pulseaudio/PKGBUILD2
-rw-r--r--extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch24
-rw-r--r--extra/webrtc-audio-processing/PKGBUILD12
5 files changed, 37 insertions, 7 deletions
diff --git a/community/iperf/PKGBUILD b/community/iperf/PKGBUILD
index 71a359d8d..9c79172db 100644
--- a/community/iperf/PKGBUILD
+++ b/community/iperf/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=iperf
pkgver=2.0.5
pkgrel=5
pkgdesc='A tool to measure maximum TCP bandwidth'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url='http://iperf.sourceforge.net'
depends=('gcc-libs')
diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD
index cd7b32b4e..191430f20 100644
--- a/core/libcap/PKGBUILD
+++ b/core/libcap/PKGBUILD
@@ -16,12 +16,12 @@ md5sums=('b4896816b626bea445f0b3849bdd4077'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- make
+ make lib=lib
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make prefix=/usr DESTDIR=${pkgdir} RAISE_SETFCAP=no install
+ make prefix=/usr lib=lib DESTDIR=${pkgdir} RAISE_SETFCAP=no install
chmod 755 ${pkgdir}/usr/lib/libcap.so.${pkgver}
rm ${pkgdir}/usr/lib/libcap.a
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index 945cd757a..2cfcc38b5 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=2.0
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(GPL LGPL)
makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
diff --git a/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
new file mode 100644
index 000000000..93a3d098a
--- /dev/null
+++ b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
@@ -0,0 +1,24 @@
+From 6480b6b44e376cbec2d8e4499692573a3861e003 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd@luon.net>
+Date: Sat, 19 May 2012 21:52:09 +0200
+Subject: [PATCH] Don't error or set options for unknown architectures
+
+---
+ src/typedefs.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/typedefs.h b/src/typedefs.h
+index 6620550..774905b 100644
+--- a/src/typedefs.h
++++ b/src/typedefs.h
+@@ -77,7 +77,6 @@
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
+ #else
+-#error Please add support for your architecture in typedefs.h
+ #endif
+
+ #if defined(__SSE2__) || defined(_MSC_VER)
+--
+1.7.10
+
diff --git a/extra/webrtc-audio-processing/PKGBUILD b/extra/webrtc-audio-processing/PKGBUILD
index d091b96bc..3b78626e8 100644
--- a/extra/webrtc-audio-processing/PKGBUILD
+++ b/extra/webrtc-audio-processing/PKGBUILD
@@ -6,16 +6,22 @@ pkgver=0.1
pkgrel=1
_gitrev=9413986
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
license=(custom)
depends=(gcc-libs)
options=(!libtool)
-source=("$url/$pkgname-$pkgver.tar.xz")
-sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc')
+source=("$url/$pkgname-$pkgver.tar.xz"
+ 0001-Don-t-error-or-set-options-for-unknown-architectures.patch)
+sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc'
+ '0f423b24565d0c50be4937b6f50a43cfd683c1a76c25ef80fca5f731e283fe1c')
build() {
cd $pkgname-$pkgver
+
+# Patch from Debian
+ patch -Np1 -i ${srcdir}/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
+
./configure --prefix=/usr --disable-static
make
}