2011-03-02 09:52:15 +01:00
|
|
|
# Template file for 'telepathy-glib'
|
|
|
|
pkgname=telepathy-glib
|
2014-03-27 11:00:08 +01:00
|
|
|
version=0.24.0
|
2014-05-13 09:10:59 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-05-13 09:10:59 +02:00
|
|
|
configure_args="--disable-static"
|
|
|
|
hostmakedepends="pkg-config intltool libxslt python glib-devel"
|
|
|
|
makedepends="dbus-glib-devel"
|
2011-03-02 09:52:15 +01:00
|
|
|
short_desc="Library for GLib-based Telepathy components"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-29 16:53:29 +02:00
|
|
|
license="LGPL-2.1"
|
2012-08-16 16:32:11 +02:00
|
|
|
homepage="http://telepathy.freedesktop.org"
|
|
|
|
distfiles="$homepage/releases/$pkgname/$pkgname-$version.tar.gz"
|
2014-03-27 11:00:08 +01:00
|
|
|
checksum=ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf
|
2014-01-30 16:30:33 +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
|
2014-05-13 09:10:59 +02:00
|
|
|
configure_args+=" --enable-vala-bindings --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection vala-devel"
|
2014-01-30 16:30:33 +01:00
|
|
|
else
|
2014-05-13 09:10:59 +02:00
|
|
|
configure_args+=" --disable-vala-bindings --disable-introspection"
|
2014-01-30 16:30:33 +01:00
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
telepathy-glib-devel_package() {
|
2014-05-13 09:10:59 +02:00
|
|
|
depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-07-31 13:54:09 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-30 16:30:33 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
2014-05-13 09:10:59 +02:00
|
|
|
vmove usr/share/vala
|
2014-01-30 16:30:33 +01:00
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2013-07-31 13:54:09 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|