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

53 lines
1.4 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'zeitgeist'
pkgname=zeitgeist
version=0.9.14
revision=8
build_style=gnu-configure
configure_args="--enable-fts --enable-datahub $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool vala-devel $(vopt_if gir gobject-introspection)"
makedepends="
python-rdflib json-glib-devel gtk+3-devel telepathy-glib-devel
python-gobject-devel dbus-devel sqlite-devel xapian-core-devel raptor"
depends="python-dbus python-gobject"
pycompile_module="zeitgeist"
short_desc="logs the users activities and events"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://zeitgeist-project.com"
license="LGPL-2.1"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=769b5abfe67ef632414efa1d35a1462c5cd86c8792bb4635b4c3d93a5f15f061
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
post_install() {
rm -rf ${DESTDIR}/usr/doc
}
libzeitgeist2_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
zeitgeist-devel_package() {
short_desc+=" - development files"
depends="libzeitgeist2>=${version}_${revision}"
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
}
}