34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'libnice'
|
|
pkgname=libnice
|
|
version=0.1.22
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dcrypto-library=openssl -Dgtk_doc=disabled -Dtests=disabled
|
|
-Dexamples=disabled $(vopt_feature gir introspection)"
|
|
hostmakedepends="glib-devel pkg-config"
|
|
makedepends="gstreamer1-devel openssl-devel libglib-devel"
|
|
short_desc="Implementation of the IETF's draft ICE (for P2P UDP data streams)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://libnice.freedesktop.org/"
|
|
changelog="https://gitlab.freedesktop.org/libnice/libnice/-/raw/master/NEWS"
|
|
distfiles="https://libnice.freedesktop.org/releases/libnice-${version}.tar.gz"
|
|
checksum=a5f724cf09eae50c41a7517141d89da4a61ec9eaca32da4a0073faed5417ad7e
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libnice-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|