[arch-commits] Commit in jami-daemon/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Mon Oct 18 18:47:53 UTC 2021
Date: Monday, October 18, 2021 @ 18:47:53
Author: archange
Revision: 1030880
upgpkg: jami-daemon 20211004-1
Tentative update, meson did not worked but other things might be broken
Modified:
jami-daemon/trunk/PKGBUILD
----------+
PKGBUILD | 41 ++++++++++++++++++++++++++---------------
1 file changed, 26 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-18 18:23:22 UTC (rev 1030879)
+++ PKGBUILD 2021-10-18 18:47:53 UTC (rev 1030880)
@@ -2,27 +2,28 @@
# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=jami-daemon
-pkgver=20210308
+pkgver=20211004
pkgrel=1
-_pjprojectver=2.10
+_pjprojectver=2.11
pkgdesc="Free and universal communication platform which preserves the users’ privacy and freedoms (daemon component)"
arch=(x86_64)
url="https://jami.net"
license=(GPL3)
groups=(jami)
-depends=(opendht yaml-cpp alsa-lib libpulse jack jsoncpp dbus-c++ ffmpeg gnutls
- expat libupnp libnatpmp libva libvdpau libsecp256k1 util-linux opus
- openssl asio fmt http-parser libarchive)
-makedepends=(git msgpack-c restinio autoconf-archive)
-#checkdepends=(cppunit)
-_commit=8d428f44847399d9e858ff0090934db095ba8ee3
-source=(git+https://git.jami.net/savoirfairelinux/ring-daemon.git#commit=${_commit}
+depends=(glibc opendht asio gnutls libgit2 libsecp256k1 ffmpeg speexdsp fmt
+ yaml-cpp jsoncpp zlib dbus-c++ alsa-lib libpulse jack
+ libupnp libnatpmp openssl webrtc-audio-processing systemd-libs
+ libarchive) # expat opus http-parser #portaudio
+makedepends=(git meson cmake perl msgpack-c msgpack-cxx restinio autoconf-archive)
+checkdepends=(cppunit)
+_commit=042ad25ca2174df18ca18bcaf39286259fe275be
+source=(git+https://git.jami.net/savoirfairelinux/${pkgname}.git#commit=${_commit}
https://github.com/pjsip/pjproject/archive/${_pjprojectver}/pjproject-${_pjprojectver}.tar.gz)
noextract=(pjproject-${_pjprojectver}.tar.gz)
-sha512sums=(SKIP a67f083df175b536b4e6a7b7fe39e07d3ee805d6917ec64a50694542a7455c33a100889191044ab3fa679b6656774a6be045621aa53510b5f04cdde9ddd59893)
+sha512sums=(SKIP 021fe3f904b15e149cf647fe2ebdf530b5a8f11ba226396b6df1c8b85c406a532e6d9c310617434b520de787ec0cc4b07d9d54507d51b80627a5c23e884516c2)
prepare() {
- cd ring-daemon
+ cd ${pkgname}
cp ../pjproject-${_pjprojectver}.tar.gz contrib/tarballs
mkdir contrib/native
autoreconf -fvi
@@ -29,7 +30,7 @@
}
build() {
- cd ring-daemon/contrib/native
+ cd ${pkgname}/contrib/native
../bootstrap \
--disable-downloads \
--disable-all \
@@ -44,15 +45,25 @@
--sysconfdir=/etc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
+
+# https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/651
+ #cd "${srcdir}"
+ #export PATH="$PATH:${PWD}/${pgname}/contrib/$(cc -dumpmachine)/bin"
+ #arch-meson ${pkgname} build -D interfaces=library,dbus -D opensl=disabled -D portaudio=disabled -D tests=false \
+ # -D pkg_config_path="${PWD}/${pkgname}/contrib/$(cc -dumpmachine)/lib/pkgconfig"
+ #meson compile -C build
}
-# Disabled because some tests (TURN) use the network.
#check() {
-# cd ring-daemon
+# https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/651
+# cd ${pkgname}
# make -k check
+# https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/649
+# meson test -C build --print-errorlogs
#}
package() {
- cd ring-daemon
+ cd ${pkgname}
make DESTDIR="${pkgdir}" install
+ #meson install -C build --destdir "${pkgdir}"
}
More information about the arch-commits
mailing list