2012-09-26 01:59:23 +00:00
|
|
|
|
# Template file for 'zeitgeist'
|
|
|
|
|
pkgname=zeitgeist
|
2013-09-27 07:19:11 +00:00
|
|
|
|
version=0.9.14
|
2015-01-13 14:01:31 +00:00
|
|
|
|
revision=8
|
2012-09-26 01:59:23 +00:00
|
|
|
|
build_style=gnu-configure
|
2015-01-13 13:55:24 +00:00
|
|
|
|
configure_args="--enable-fts --enable-datahub $(vopt_enable gir introspection)"
|
|
|
|
|
hostmakedepends="pkg-config intltool vala-devel>=0.26 $(vopt_if gir gobject-introspection)"
|
2013-09-27 07:34:08 +00:00
|
|
|
|
makedepends="
|
2014-02-14 13:47:03 +00:00
|
|
|
|
python-rdflib json-glib-devel>=0.16.2 gtk+3-devel telepathy-glib-devel
|
2015-01-13 13:55:24 +00:00
|
|
|
|
python-gobject-devel>=3.10 dbus-devel sqlite-devel xapian-core-devel raptor"
|
|
|
|
|
depends="python-dbus python-gobject"
|
2014-01-01 15:10:11 +00:00
|
|
|
|
pycompile_module="zeitgeist"
|
2012-09-26 01:59:23 +00:00
|
|
|
|
short_desc="logs the users’ activities and events"
|
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
|
homepage="http://zeitgeist-project.com"
|
|
|
|
|
license="LGPL-2.1"
|
2013-09-27 07:19:11 +00:00
|
|
|
|
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.xz"
|
|
|
|
|
checksum=769b5abfe67ef632414efa1d35a1462c5cd86c8792bb4635b4c3d93a5f15f061
|
2012-09-26 01:59:23 +00:00
|
|
|
|
|
2014-02-14 13:47:03 +00:00
|
|
|
|
# Package build options
|
|
|
|
|
build_options="gir"
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
|
build_options_default="gir"
|
|
|
|
|
fi
|
|
|
|
|
|
2012-09-26 01:59:23 +00:00
|
|
|
|
post_install() {
|
|
|
|
|
rm -rf ${DESTDIR}/usr/doc
|
|
|
|
|
}
|
2013-04-14 16:49:07 +00:00
|
|
|
|
|
2013-09-27 07:19:11 +00:00
|
|
|
|
libzeitgeist2_package() {
|
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/*.so.*"
|
2014-02-14 13:47:03 +00:00
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
|
fi
|
2013-09-27 07:19:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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
|
2014-02-14 13:47:03 +00:00
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
|
fi
|
2013-09-27 07:19:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|