2012-03-22 13:10:20 +01:00
|
|
|
# Template file for 'telepathy-farstream'
|
|
|
|
pkgname=telepathy-farstream
|
2012-09-26 07:53:02 +02:00
|
|
|
version=0.6.0
|
2014-06-27 13:43:28 +02:00
|
|
|
revision=6
|
2012-03-22 13:10:20 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-05-07 14:19:44 +02:00
|
|
|
hostmakedepends="pkg-config intltool libxslt"
|
2014-02-16 12:05:54 +01:00
|
|
|
makedepends="
|
2013-04-14 15:09:59 +02:00
|
|
|
dbus-glib-devel telepathy-glib-devel>=0.19.9 farstream-devel>=0.2.0
|
2014-06-27 13:27:26 +02:00
|
|
|
python-devel python-gobject2-devel gst-python-devel vala-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
replaces="telepathy-farsight>=0"
|
2012-03-22 13:10:20 +01:00
|
|
|
short_desc="Telepathy library that uses Farstream to handle Call channels"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2012-09-26 07:53:02 +02:00
|
|
|
homepage="http://telepathy.freedesktop.org"
|
|
|
|
distfiles="$homepage/releases/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
checksum=0524e09f6f3a9617b9dcb5a1c1cb75fa80afb722709f9967386a091925096413
|
2014-02-16 12:05:54 +01:00
|
|
|
|
|
|
|
# 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-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2012-03-22 13:10:20 +01:00
|
|
|
|
2013-04-14 15:09:59 +02:00
|
|
|
telepathy-farstream-devel_package() {
|
|
|
|
depends="dbus-glib-devel telepathy-glib-devel farstream-devel>=0.2.0
|
2014-06-27 13:27:26 +02:00
|
|
|
gstreamer1-devel ${sourcepkg}>=${version}_${revision}"
|
2013-04-14 15:09:59 +02:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 12:05:54 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 15:09:59 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2014-02-16 12:05:54 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|