Date: Monday, April 22, 2019 @ 22:14:14
  Author: heftig
Revision: 351958

archrelease: copy trunk to testing-x86_64

Added:
  libnice/repos/testing-x86_64/
  libnice/repos/testing-x86_64/PKGBUILD
    (from rev 351957, libnice/trunk/PKGBUILD)

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

Copied: libnice/repos/testing-x86_64/PKGBUILD (from rev 351957, 
libnice/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2019-04-22 22:14:14 UTC (rev 351958)
@@ -0,0 +1,38 @@
+# Contributor: Ionut Biru <ib...@archlinux.org>
+# Contributor: William Díaz <wd...@archlinux.us>
+
+pkgname=libnice
+pkgver=0.1.15+47+g62cbfbd
+pkgrel=1
+pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)"
+url="https://nice.freedesktop.org";
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 gnutls gupnp-igd)
+makedepends=(gstreamer gtk-doc git meson gobject-introspection)
+optdepends=(gstreamer)
+_commit=62cbfbd552debcf477056dfadac52156b5ff6565  # master
+source=("git+https://gitlab.freedesktop.org/libnice/libnice.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=enabled -D tests=disabled
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}

Reply via email to