void-packages/srcpkgs/telepathy-farstream/template

36 lines
1.2 KiB
Bash

# Template file for 'telepathy-farstream'
pkgname=telepathy-farstream
version=0.6.2
revision=4
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool libxslt $(vopt_if gir gobject-introspection)"
makedepends="dbus-glib-devel telepathy-glib-devel farstream-devel vala-devel"
short_desc="Telepathy library that uses Farstream to handle Call channels"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://telepathy.freedesktop.org"
distfiles="https://telepathy.freedesktop.org/releases/telepathy-farstream/telepathy-farstream-$version.tar.gz"
checksum=6fa099f22d13a2a49240445a13e918928aef097675d76e5cc9f98ab496087e0a
replaces="telepathy-farsight>=0"
# Package build options
build_options="gir"
build_options_default="gir"
telepathy-farstream-devel_package() {
depends="dbus-glib-devel telepathy-glib-devel farstream-devel>=0.2.0
gstreamer1-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}