summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2021-08-02 20:38:58 -0300
committerRodrigo Bezerra2021-08-02 20:38:58 -0300
commit301e6fe3475f441396625486897b7765b0fceb7d (patch)
tree5cdbe54e4993eb0bf13463735ce084e6d2ea4132
parent4595211adbb63214caa434b9e98d3a88063df23a (diff)
downloadaur-lib32-webrtc-audio-processing.tar.gz
Update PKGBUILD to the changes in the repo
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 764ed1cd133..b8b69f9e187 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = lib32-webrtc-audio-processing
pkgdesc = AudioProcessing library based on Google's implementation of WebRTC
pkgver = 0.3.1
- pkgrel = 2
+ pkgrel = 3
url = https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
arch = x86_64
license = custom
makedepends = git
depends = lib32-gcc-libs
depends = webrtc-audio-processing
- source = git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=e882a5442ac22c93648e12837248d651d18b9247
+ source = git+https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing.git#commit=e882a5442ac22c93648e12837248d651d18b9247
sha256sums = SKIP
pkgname = lib32-webrtc-audio-processing
-
diff --git a/PKGBUILD b/PKGBUILD
index b35067f17bc..d91610b025a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_basename=webrtc-audio-processing
pkgname=lib32-webrtc-audio-processing
pkgver=0.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
url="https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
arch=(x86_64)
@@ -12,7 +12,7 @@ license=(custom)
depends=(lib32-gcc-libs webrtc-audio-processing)
makedepends=(git)
_commit=e882a5442ac22c93648e12837248d651d18b9247 # tags/v0.3.1^0
-source=("git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=$_commit")
+source=("git+https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@@ -40,6 +40,8 @@ build() {
--libdir=/usr/lib32 \
--disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
@@ -50,5 +52,5 @@ package() {
rm -r "$pkgdir/usr/include"
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
}