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