diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-10 19:16:39 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-10 19:16:39 +0000 |
commit | 3e010a93325af3c409140f2860434010f69a90a5 (patch) | |
tree | 4df3238d1bb61ed421a846df9402d99de716e817 /user/libnice/APKBUILD | |
parent | 4afc854d8d31fb2dca0d7df866af6695e4cbda97 (diff) | |
download | packages-3e010a93325af3c409140f2860434010f69a90a5.tar.gz packages-3e010a93325af3c409140f2860434010f69a90a5.tar.bz2 packages-3e010a93325af3c409140f2860434010f69a90a5.tar.xz packages-3e010a93325af3c409140f2860434010f69a90a5.zip |
user/libnice: new package
Diffstat (limited to 'user/libnice/APKBUILD')
-rw-r--r-- | user/libnice/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libnice/APKBUILD b/user/libnice/APKBUILD new file mode 100644 index 000000000..15c544c34 --- /dev/null +++ b/user/libnice/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libnice +pkgver=0.1.15 +pkgrel=0 +pkgdesc="GLib-based Interactive Connectivity Establishment (ICE) library" +url="https://nice.freedesktop.org/wiki/" +arch="all" +license="MPL-1.1 AND LGPL-2.1-only" +depends="" +depends_dev="glib-dev" +makedepends="$depends_dev gobject-introspection-dev gstreamer-dev openssl-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://nice.freedesktop.org/releases/libnice-$pkgver.tar.gz + dont-error-on-socket-close.patch + " + +build() { + cd "$builddir" + LDFLAGS="-Wl,-z,stack-size=1048576" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static + make +} + +check() { + cd "$builddir" + # multi-make causes test-drop-invalid test to fail + make -j1 check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="60a8bcca06c0ab300dfabbf13e45aeac2085d553c420c5cc4d2fdeb46b449b2b9c9aee8015b0662c16bd1cecf5a49824b7e24951a8a0b66a87074cb00a619c0c libnice-0.1.15.tar.gz +c81aff0f8a674315997f2ecc1f0cbc501b54d49c142949aee68af42aaccf2a2f61d5eb46ce8c123b05fb98c2cd5ef5751b9228783e5e221b12be06b805da0ad3 dont-error-on-socket-close.patch" |