44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Template file for 'telepathy-glib'
|
|
pkgname=telepathy-glib
|
|
version=0.24.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool libxslt python glib-devel"
|
|
makedepends="dbus-glib-devel"
|
|
short_desc="Library for GLib-based Telepathy components"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://telepathy.freedesktop.org"
|
|
distfiles="$homepage/releases/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
configure_args+=" --enable-vala-bindings --enable-introspection"
|
|
makedepends+=" gobject-introspection vala-devel"
|
|
else
|
|
configure_args+=" --disable-vala-bindings --disable-introspection"
|
|
fi
|
|
|
|
telepathy-glib-devel_package() {
|
|
depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|