[arch-commits] Commit in jami-daemon/repos (2 files)
Bruno Pagani
archange at archlinux.org
Sun Apr 5 21:03:08 UTC 2020
Date: Sunday, April 5, 2020 @ 21:03:08
Author: archange
Revision: 611989
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 611988, jami-daemon/trunk/PKGBUILD)
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
Copied: jami-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 611988, jami-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-05 21:03:08 UTC (rev 611989)
@@ -0,0 +1,64 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=ring-daemon
+pkgname=jami-daemon
+pkgver=20190813
+pkgrel=4
+_pjprojectver=5dfa75be7d69047387f9b0436dd9492bbbf03fe4
+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 restbed libsecp256k1 util-linux
+ opus libjsoncpp.so)
+makedepends=(git boost msgpack-c autoconf-archive)
+#checkdepends=(cppunit)
+provides=(${_pkgname})
+conflicts=(${_pkgname})
+replaces=(${_pkgname})
+_commit=26b35255a94aa9a13cbf3b3aa530d4b282a79565
+source=("git+https://git.jami.net/savoirfairelinux/ring-daemon.git#commit=${_commit}"
+ "https://github.com/pjsip/pjproject/archive/${_pjprojectver}/pjproject-${_pjprojectver}.tar.gz")
+noextract=("pjproject-${_pjprojectver}.tar.gz")
+sha512sums=('SKIP'
+ 'a9433b47294434288d61524dea556687fb02137ed56a10e8e2ba85d7888a2ca2a5bea4ae4a9ad008a4c208c5ec53fe364b10ed14481700d6aa8b9b6137e5e9ee')
+
+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 \
+ --enable-ipv6
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+# Disabled because some tests (TURN) use the network.
+#check() {
+# cd ${_pkgname}
+# make -k check
+#}
+
+package() {
+ cd ${_pkgname}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list