summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Pierangeli2020-06-29 08:14:12 +0000
committerCaleb Maclennan2020-06-29 08:14:12 +0000
commit10ce5fac0ee7bdbc4ce3741f3b9759b03a4c2245 (patch)
tree5f8fa1e8dd4efa5a5cc3857e8374f4e68f5e5680
parentf97ab04a662ec88b29bce28d59dc08aeafc9aa57 (diff)
downloadaur-10ce5fac0ee7bdbc4ce3741f3b9759b03a4c2245.tar.gz
upgpkg: pjproject 2.10-1
upstream release Add aarch64 support
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad85a880cc5..ee68731349e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,6 +4,7 @@ pkgbase = pjproject
pkgrel = 1
url = https://www.pjsip.org/
arch = x86_64
+ arch = aarch64
arch = armv7h
arch = i686
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index c342e7c0b58..a4ddf80d113 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Andrea Pierangeli <andrea.pierangeli@gmail.com>
# Contributor: Xavier Devlamynck <magicrhesus@ouranos.be>
# Contributor: Marti Raudsepp <marti@juffo.org>
# Contributor: Travis Hegner <travis.hegner@gmail.com>
@@ -8,7 +9,7 @@ pkgname=("$pkgbase" "python-$pkgbase")
pkgver=2.10
pkgrel=1
pkgdesc='Open source SIP stack and media stack'
-arch=('x86_64' 'armv7h' 'i686')
+arch=('x86_64' 'aarch64' 'armv7h' 'i686')
url='https://www.pjsip.org/'
license=('GPL')
makedepends=('alsa-lib' 'e2fsprogs' 'ffmpeg' 'libsamplerate' 'libsrtp'
@@ -30,6 +31,9 @@ prepare() {
build() {
cd "$pkgbase-$pkgver"
export CXXFLAGS="$CXXFLAGS -fPIC"
+ if [ "$CARCH" = "aarch64" ]; then
+ arch_opts=(--disable-libwebrtc)
+ fi
if [ "$CARCH" = "i686" ]; then
export CXXFLAGS="$CXXFLAGS -march=i686"
arch_opts=(--disable-libwebrtc)