void-packages/srcpkgs/folks/template
2020-09-18 18:46:27 +02:00

38 lines
1.1 KiB
Bash

# Template file for 'folks'
pkgname=folks
version=0.14.0
revision=1
build_style=meson
build_helper="gir qemu"
configure_args="-Db_lto=false"
hostmakedepends="pkg-config intltool glib-devel python3 python3-dbusmock
evolution-data-server-devel $(vopt_if gir vala)"
makedepends="readline-devel telepathy-glib-devel zeitgeist-devel
libgee08-devel evolution-data-server-devel tracker-devel
$(vopt_if gir vala-devel)"
depends="zeitgeist"
short_desc="GObject Library to aggregate people into metacontacts"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Folks"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d6e778da637d3b33fd9a6b45115e8157d8868211dc08b943d1075b5eb7282bb9
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
folks-devel_package() {
depends="${makedepends} ${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
vmove usr/share/vala
fi
}
}