void-packages/srcpkgs/telepathy-logger/template

38 lines
1.2 KiB
Bash

# Template file for 'telepathy-logger'
pkgname=telepathy-logger
version=0.8.2
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool libxslt glib-devel python $(vopt_if gir gobject-introspection)"
makedepends="dbus-glib-devel libxml2-devel sqlite-devel telepathy-glib-devel"
short_desc="Telepathy framework logging daemon"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://telepathy.freedesktop.org/components/telepathy-logger/"
distfiles="http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.bz2"
checksum=8fcad534d653b1b365132c5b158adae947810ffbae9843f72dd1797966415dae
# Package build options
build_options="gir"
build_options_default="gir"
pre_configure() {
export PYTHON=python2
}
telepathy-logger-devel_package() {
depends="libxml2-devel telepathy-glib-devel ${sourcepkg}-${version}_${revision}"
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
vmove usr/share/gtk-doc
}
}