blob: 255da0a719104b2805744f80e359cf38ac7ceba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnice
pkgver=0.1.16
pkgrel=0
pkgdesc="GLib ICE implementation"
options="!check" # Testsuite fails
url="https://nice.freedesktop.org/wiki/"
arch="all"
license="LGPL-2.0-or-later MPL-1.1"
makedepends="
glib-dev
gnutls-dev
gstreamer-dev
gobject-introspection-dev
gtk-doc
meson"
subpackages="
$pkgname-dbg
$pkgname-dev
$pkgname-doc
$pkgname-gstreamer:_gst"
source="https://nice.freedesktop.org/releases/libnice-$pkgver.tar.gz"
build() {
meson --prefix=/usr \
--libdir=/usr/lib \
--bindir=/usr/bin \
-Dgtk_doc=enabled \
-Dtests=disabled \
-Dexamples=disabled \
-Dintrospection=enabled \
-Dcrypto-library=gnutls \
-Dgstreamer=enabled \
-Dgupnp=disabled builddir
ninja -C builddir
}
package() {
DESTDIR="$pkgdir" ninja -C builddir install
}
_gst() {
pkgdesc="Gstreamer 1.0 plugin for libnice"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/gstreamer-1.0 "$subpkgdir"/usr/lib/
}
sha512sums="8fdf0f9fcf43c0fdffbdcb61988a7f9e14bd13bb1bc561d2b9faf493deb18151da14d484740571a302fa203ec7109d45c361ea791e81a2b29932a26220ce902c libnice-0.1.16.tar.gz"
|