[arch-commits] Commit in libnice/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 09:19:45 UTC 2020


    Date: Tuesday, May 19, 2020 @ 09:19:44
  Author: felixonmars
Revision: 386547

archrelease: copy trunk to staging-x86_64

Added:
  libnice/repos/staging-x86_64/
  libnice/repos/staging-x86_64/PKGBUILD
    (from rev 386546, libnice/trunk/PKGBUILD)

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

Copied: libnice/repos/staging-x86_64/PKGBUILD (from rev 386546, libnice/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 09:19:44 UTC (rev 386547)
@@ -0,0 +1,38 @@
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: William Díaz <wdiaz at archlinux.us>
+
+pkgname=libnice
+pkgver=0.1.16
+pkgrel=2
+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=5969b34e3acd9150506ed8d9d109c73665858f3e  # tags/0.1.16^0
+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
+}



More information about the arch-commits mailing list