#!/bin/bash
#
# Copyright 2008-2026 Sasa Ostrouska <saxa@droplinegnome.org>
# Copyright 2014 John Truex <apolluwn@gmail.com>
# Available under the terms of the GNU GPL.
#

NAME="telepathy-glib"
VERSION="0.24.2"
REVISION="3"

PKG_SOURCEURL='http://telepathy.freedesktop.org/releases/$NAME/$NAME-$VERSION.tar.gz'
PKG_SANIFYNOTOUCH="1"
PKG_PATCH[0]='telepathy-glib-0.24.2-build-fix.patch'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare

applypatch 0 1

analyzesource
configure --enable-vala-bindings=yes \
	--enable-introspection=yes
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
