mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
43 lines
1 KiB
Bash
43 lines
1 KiB
Bash
|
# $Id$
|
||
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||
|
# Contributor: William Díaz <wdiaz@archlinux.us>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
# - configure with --enable-compile-warnings=no
|
||
|
|
||
|
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 --enable-compile-warnings=no
|
||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|