summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2018-09-15 12:51:11 -0300
committerRodrigo Bezerra2018-09-15 12:51:11 -0300
commit52d56edce365bfa7853731d9172235ae1e9c732a (patch)
treebf52e43a14bb2a02e1be78641a070c721fe47588
parented08d03ebc48b8e2b4af970cb315d95c40ab0651 (diff)
downloadaur-52d56edce365bfa7853731d9172235ae1e9c732a.tar.gz
Update to version 0.3.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD57
2 files changed, 39 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 59fabfcf362..206ae4d9e9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = lib32-webrtc-audio-processing
pkgdesc = AudioProcessing library based on Google's implementation of WebRTC
- pkgver = 0.3
- pkgrel = 2
+ pkgver = 0.3.1
+ pkgrel = 1
url = https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
arch = x86_64
license = custom
makedepends = git
depends = lib32-gcc-libs
- optdepends = webrtc-audio-processing: development headers
- source = git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=fc0e76139404e08cc5b8024daafa1ddf576a4e21
+ depends = webrtc-audio-processing
+ source = git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=e882a5442ac22c93648e12837248d651d18b9247
sha256sums = SKIP
pkgname = lib32-webrtc-audio-processing
diff --git a/PKGBUILD b/PKGBUILD
index 98955379741..d2f8686f9d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,54 @@
-_pkgbasename=webrtc-audio-processing
-pkgname=lib32-$_pkgbasename
-pkgver=0.3
-pkgrel=2
+# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
+# Contributor: zaplo
+
+_basename=webrtc-audio-processing
+pkgname=lib32-webrtc-audio-processing
+pkgver=0.3.1
+pkgrel=1
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
url="https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
arch=(x86_64)
license=(custom)
-depends=(lib32-gcc-libs)
+depends=(lib32-gcc-libs webrtc-audio-processing)
makedepends=(git)
-optdepends=('webrtc-audio-processing: development headers')
-_commit=fc0e76139404e08cc5b8024daafa1ddf576a4e21 # tags/v0.3^0
+_commit=e882a5442ac22c93648e12837248d651d18b9247 # tags/v0.3.1^0
source=("git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
- cd $_pkgbasename
- git describe --tags | sed 's/^v//;s/-/+/g'
+ cd $_basename
+
+ git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
- cd $_pkgbasename
- NOCONFIGURE=1 ./autogen.sh
+ cd $_basename
+
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $_pkgbasename
- export CC='gcc -m32'
- export CXX='g++ -m32'
- ./configure --disable-static --prefix=/usr --libdir=/usr/lib32
- make
+ cd $_basename
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --build=i686-pc-linux-gnu \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --disable-static
+
+ make
}
package() {
- cd $_pkgbasename
- make DESTDIR=${pkgdir} install
- if ! [ -z "$pkgdir/usr/include/webrtc_audio_processing" ]; then
- rm -r "$pkgdir/usr/include"
- fi
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd $_basename
+
+ make DESTDIR=${pkgdir} install
+
+ rm -r "$pkgdir/usr/include"
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}