[arch-commits] Commit in libnice/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Jan 21 15:38:36 UTC 2019
Date: Monday, January 21, 2019 @ 15:38:36
Author: heftig
Revision: 344560
archrelease: copy trunk to extra-x86_64
Added:
libnice/repos/extra-x86_64/PKGBUILD
(from rev 344559, libnice/trunk/PKGBUILD)
Deleted:
libnice/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-21 15:38:17 UTC (rev 344559)
+++ PKGBUILD 2019-01-21 15:38:36 UTC (rev 344560)
@@ -1,39 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: William Díaz <wdiaz at archlinux.us>
-
-pkgname=libnice
-pkgver=0.1.14+70+gfb2f1f7
-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)
-makedepends=(gstreamer gtk-doc git)
-optdepends=(gstreamer)
-_commit=fb2f1f77a31baa91968fc81c205f980b6913f403 # master
-source=("git+https://anongit.freedesktop.org/git/libnice/libnice#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --disable-static --with-gstreamer-0.10=no --enable-gtk-doc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: libnice/repos/extra-x86_64/PKGBUILD (from rev 344559, libnice/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-21 15:38:36 UTC (rev 344560)
@@ -0,0 +1,39 @@
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: William Díaz <wdiaz at archlinux.us>
+
+pkgname=libnice
+pkgver=0.1.15
+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=e25c3e5113c7b7002a78bcca2ecf058bbf7de6d4 # tags/0.1.15^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() {
+ # FIXME: fix tests
+ arch-meson $pkgname build -D tests=disabled -D gtk_doc=enabled
+ ninja -C build
+}
+
+check() {
+ : meson install -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list