2011-03-03 15:39:19 +01:00
|
|
|
# Template file for 'telepathy-logger'
|
|
|
|
pkgname=telepathy-logger
|
2013-03-28 22:36:45 +01:00
|
|
|
version=0.8.0
|
2014-02-16 12:03:39 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-04-04 07:48:28 +02:00
|
|
|
configure_args="--disable-static --disable-schemas-compile"
|
2014-02-16 12:03:39 +01:00
|
|
|
hostmakedepends="pkg-config intltool libxslt glib-devel"
|
2013-03-28 22:36:45 +01:00
|
|
|
makedepends="dbus-glib-devel libxml2-devel sqlite-devel telepathy-glib-devel"
|
2011-03-03 15:39:19 +01:00
|
|
|
short_desc="Telepathy framework logging daemon"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-30 14:11:54 +02:00
|
|
|
homepage="http://telepathy.freedesktop.org/wiki/Logger"
|
|
|
|
license="LGPL-2.1"
|
2012-10-10 16:57:37 +02:00
|
|
|
distfiles="http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.bz2"
|
2013-03-28 22:36:45 +01:00
|
|
|
checksum=d476f3c16fa25988ced2c0771de70542091d81b5fdd657317cad5c4b110520a2
|
2014-02-16 12:03:39 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
telepathy-logger-devel_package() {
|
|
|
|
depends="libxml2-devel telepathy-glib-devel ${sourcepkg}-${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 12:03:39 +01:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|