void-packages/srcpkgs/libnice/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
880 B
Bash

# Template file for 'libnice'
pkgname=libnice
version=0.1.10
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool gtk-doc gettext-devel pkg-config intltool"
makedepends="gstreamer-devel gstreamer1-devel libsoup-devel gupnp-igd-devel"
short_desc="An implementation of the IETF's draft ICE (for P2P UDP data streams)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://nice.freedesktop.org"
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
checksum=1dbfb663b730889ae8cab13a2913fe557d581f70b513c918bbbd0b7d3eefebc9
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libnice-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share
}
}