2012-07-11 07:00:28 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2012-01-25 10:06:02 +08:00
|
|
|
|
|
|
|
pkgname=telepathy-qt
|
2014-07-27 18:38:16 +08:00
|
|
|
pkgver=0.9.4
|
2014-07-27 23:19:08 +08:00
|
|
|
pkgrel=2
|
2012-01-25 10:06:02 +08:00
|
|
|
pkgdesc="A library for Qt-based Telepathy clients."
|
2013-04-04 19:47:39 +08:00
|
|
|
arch=('x86_64')
|
2012-01-25 10:06:02 +08:00
|
|
|
url="http://telepathy.freedesktop.org"
|
|
|
|
groups=('telepathy')
|
|
|
|
license=('LGPL')
|
|
|
|
options=('!libtool')
|
2013-11-15 02:40:22 +08:00
|
|
|
depends=('qt' 'telepathy-farstream' 'python2-dbus')
|
2012-01-25 10:06:02 +08:00
|
|
|
makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
|
2012-01-25 13:42:39 +08:00
|
|
|
conflicts=('telepathy-qt4')
|
|
|
|
provides=('telepathy-qt4')
|
2013-11-15 02:40:22 +08:00
|
|
|
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
2014-07-27 18:38:16 +08:00
|
|
|
"farstream-0.2.patch")
|
|
|
|
sha256sums=('f1b1db3a9f96ece92df430a8de4d30317f4c58a06fe99e82cc2c6875791e61f2'
|
|
|
|
'5eb39f16b3988f0b50da29a64838af36e96aec38a1e9353a22242eec76ec0f8a')
|
2012-01-25 10:06:02 +08:00
|
|
|
|
2014-07-27 18:38:16 +08:00
|
|
|
prepare() {
|
|
|
|
mkdir build
|
2012-01-25 10:06:02 +08:00
|
|
|
|
2014-07-27 18:38:16 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
patch -p1 -i "${srcdir}"/farstream-0.2.patch
|
|
|
|
}
|
2013-11-15 02:40:22 +08:00
|
|
|
|
2014-07-27 18:38:16 +08:00
|
|
|
build() {
|
2012-01-25 10:06:02 +08:00
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2014-07-27 18:38:16 +08:00
|
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
|
2012-06-03 23:22:08 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2012-01-25 10:06:02 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|