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