[arch-commits] Commit in jami-daemon/repos (2 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun Oct 24 23:51:30 UTC 2021
Date: Sunday, October 24, 2021 @ 23:51:29
Author: svenstaro
Revision: 1033271
archrelease: copy trunk to community-staging-x86_64
Added:
jami-daemon/repos/community-staging-x86_64/
jami-daemon/repos/community-staging-x86_64/PKGBUILD
(from rev 1033270, jami-daemon/trunk/PKGBUILD)
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
Copied: jami-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 1033270, jami-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-10-24 23:51:29 UTC (rev 1033271)
@@ -0,0 +1,69 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=jami-daemon
+pkgver=20211004
+pkgrel=2
+_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=(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 021fe3f904b15e149cf647fe2ebdf530b5a8f11ba226396b6df1c8b85c406a532e6d9c310617434b520de787ec0cc4b07d9d54507d51b80627a5c23e884516c2)
+
+prepare() {
+ cd ${pkgname}
+ cp ../pjproject-${_pjprojectver}.tar.gz contrib/tarballs
+ mkdir contrib/native
+ autoreconf -fvi
+}
+
+build() {
+ cd ${pkgname}/contrib/native
+ ../bootstrap \
+ --disable-downloads \
+ --disable-all \
+ --enable-pjproject
+ make DEPS_pjproject=
+
+ cd ../..
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --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
+}
+
+#check() {
+# 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 ${pkgname}
+ make DESTDIR="${pkgdir}" install
+ #meson install -C build --destdir "${pkgdir}"
+}
More information about the arch-commits
mailing list