# libtelepathy
if [ $MODULE = "libtelepathy" ]; then
build_library http://telepathy.freedesktop.org/releases/libtelepathy/libtelepathy-0.2.0.tar.gz
fi
# telepathy-glib
if [ $MODULE = "telepathy-glib" ]; then
build_library http://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-0.6.0.tar.gz
fi
# telepathy-stream-engine
if [ $MODULE = "telepathy-stream-engine" ]; then
# Remove X11 dependency from xerrorhandler.c and undef USE_REALTIME to disable sched_setscheduler
PATCH_ARCHIVE="$SCRIPT_DIR/telepathy-stream-engine-0.4.0.patch"
build_library http://telepathy.freedesktop.org/releases/stream-engine/telepathy-stream-engine-0.4.0.tar.gz
PATCH_ARCHIVE=
fi
# telepathy-sofia-sip
if [ $MODULE = "telepathy-sofia-sip" ]; then
tp_sofia_sip_write_manager () {
# Copy the sofiasip.manager file that was generated by write-mgr-file on the device
cp $SCRIPT_DIR/sofiasip.manager src/
}
PRE_MAKE=tp_sofia_sip_write_manager
build_library http://downloads.sourceforge.net/tp-sofiasip/telepathy-sofiasip-0.4.1.tar.gz
PRE_MAKE=
fi