void-packages/srcpkgs/folks/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

40 lines
1.2 KiB
Bash

# Template file for 'folks'
pkgname=folks
version=0.10.1
revision=1
build_style=gnu-configure
build_options="gir"
configure_args="
--disable-static --disable-fatal-warnings
--disable-libsocialweb-backend --disable-schemas-compile
$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool vala-devel
$(vopt_if gir gobject-introspection)"
makedepends="
readline-devel telepathy-glib-devel zeitgeist-devel
libgee08-devel evolution-data-server-devel tracker-devel"
depends="zeitgeist"
short_desc="GObject Library to aggregate people into metacontacts"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org/wiki/Folks"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0d53a6197a5734cc03477d8fa83c1d9ee510f3dc0c6f3aa7b8bb734d6027caa9
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"
vmove usr/share/vala
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}