[arch-commits] Commit in jami-daemon/repos (3 files)
Bruno Pagani
archange at gemini.archlinux.org
Sat Jul 23 17:07:02 UTC 2022
Date: Saturday, July 23, 2022 @ 17:07:02
Author: archange
Revision: 1255843
archrelease: copy trunk to community-testing-x86_64
Added:
jami-daemon/repos/community-testing-x86_64/
jami-daemon/repos/community-testing-x86_64/PKGBUILD
(from rev 1255842, jami-daemon/trunk/PKGBUILD)
jami-daemon/repos/community-testing-x86_64/missing-trace-tools.patch
(from rev 1255842, jami-daemon/trunk/missing-trace-tools.patch)
---------------------------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++++++
missing-trace-tools.patch | 10 +++++++
2 files changed, 69 insertions(+)
Copied: jami-daemon/repos/community-testing-x86_64/PKGBUILD (from rev 1255842, jami-daemon/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-07-23 17:07:02 UTC (rev 1255843)
@@ -0,0 +1,59 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=jami-daemon
+pkgver=20220719
+pkgrel=1
+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=(glibc opendht gnutls nettle libgit2 libsecp256k1 ffmpeg speexdsp
+ fmt yaml-cpp jsoncpp zlib alsa-lib libpulse jack libupnp libnatpmp
+ openssl webrtc-audio-processing systemd-libs libarchive)
+# portaudio needs a not-yet-upstream patch https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/650
+makedepends=(git cmake perl asio msgpack-c msgpack-cxx restinio systemd meson)
+checkdepends=(cppunit)
+_commit=9c60e53c0c07828fca72aa5e6def1cbdb20465bf
+_pjprojectver=4af5d666d18837abaac94c8ec6bfc84984dcf1e2
+source=(git+https://git.jami.net/savoirfairelinux/${pkgname}.git#commit=${_commit}
+ https://github.com/savoirfairelinux/pjproject/archive/${_pjprojectver}/pjproject-${_pjprojectver}.tar.gz)
+noextract=(pjproject-${_pjprojectver}.tar.gz)
+sha512sums=(SKIP 3113daca372c84beda1f9f9a1b73f02ba7d565bb1d40662cc30bf741ec0ffda4e7d69034521073ce12f80498c071166a67959531e39abb865ea8d1e48564677f)
+
+pkgver() {
+ cd ${pkgname}
+ TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD
+}
+
+prepare() {
+ cd ${pkgname}
+ cp ../pjproject-${_pjprojectver}.tar.gz contrib/tarballs
+ mkdir contrib/native
+}
+
+build() {
+ cd ${pkgname}/contrib/native
+ export CXXFLAGS+=' -fpermissive'
+ ../bootstrap \
+ --disable-downloads \
+ --disable-all \
+ --enable-pjproject
+ make DEPS_pjproject=
+
+ cd "${srcdir}"
+ arch-meson ${pkgname} build -D interfaces=library -D opensl=disabled -D portaudio=disabled \
+ $( ((CHECKFUNC)) && echo -D tests=true) \
+ -D pkg_config_path="${PWD}/${pkgname}/contrib/$(cc -dumpmachine)/lib/pkgconfig"
+ meson compile -C build
+}
+
+#check() {
+# https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/649
+# meson test -C build --print-errorlogs
+#}
+
+package() {
+ meson install -C build --destdir "${pkgdir}"
+}
Copied: jami-daemon/repos/community-testing-x86_64/missing-trace-tools.patch (from rev 1255842, jami-daemon/trunk/missing-trace-tools.patch)
===================================================================
--- community-testing-x86_64/missing-trace-tools.patch (rev 0)
+++ community-testing-x86_64/missing-trace-tools.patch 2022-07-23 17:07:02 UTC (rev 1255843)
@@ -0,0 +1,10 @@
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -348,6 +348,7 @@ if get_option('interfaces').contains('library')
+ 'jami/presence_const.h',
+ 'jami/presencemanager_interface.h',
+ 'jami/security_const.h',
++ 'jami/trace-tools.h',
+ subdir: 'jami'
+ )
+ if conf.get('ENABLE_VIDEO')
More information about the arch-commits
mailing list