[arch-commits] Commit in ring-daemon/repos (2 files)

Jan Steffens heftig at archlinux.org
Sat Jan 13 00:47:54 UTC 2018


    Date: Saturday, January 13, 2018 @ 00:47:53
  Author: heftig
Revision: 281728

archrelease: copy trunk to community-staging-x86_64

Added:
  ring-daemon/repos/community-staging-x86_64/
  ring-daemon/repos/community-staging-x86_64/PKGBUILD
    (from rev 281727, ring-daemon/trunk/PKGBUILD)

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

Copied: ring-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 281727, ring-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-13 00:47:53 UTC (rev 281728)
@@ -0,0 +1,68 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=ring-daemon
+pkgver=20171215.1.bc414d7
+pkgrel=4
+epoch=2
+_pjver=2.6
+pkgdesc="Ring is a free and universal communication platform which preserves the users' privacy and freedoms (daemon)"
+arch=("x86_64")
+url="https://ring.cx"
+license=('GPL3')
+groups=("ring")
+depends=('opendht' 'yaml-cpp' 'alsa-lib' 'libpulse' 'jack' 'jsoncpp'
+         'libsamplerate' 'libsndfile' 'dbus-c++' 'ffmpeg' 'udev' 'gnutls'
+         'expat' 'gsm' 'libupnp' 'libnatpmp' 'libva' 'libvdpau' 'restbed'
+         'libsecp256k1' 'util-linux' 'alsa-lib' 'libsamplerate' 'opus')
+makedepends=('git' 'boost' 'msgpack-c' 'autoconf-archive')
+#checkdepends=('cppunit')
+source=("git+https://gerrit-ring.savoirfairelinux.com/ring-daemon#commit=d08826f038f6fe9a275ba66ff8d0af60a78a7f88"
+        "http://www.pjsip.org/release/${_pjver}/pjproject-${_pjver}.tar.bz2")
+noextract=("pjproject-${_pjver}.tar.bz2")
+sha256sums=('SKIP'
+            '2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4')
+
+prepare() {
+  cd "${pkgname}"
+  cp ../pjproject-${_pjver}.tar.bz2 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}"
+
+  msg2 'Installing...'
+  make DESTDIR="$pkgdir" install
+
+  msg2 'Cleaning up pkgdir...'
+  find "$pkgdir" -type d -name .git -exec rm -r '{}' +
+  find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list