mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 08:34:38 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=telepathy-qt
|
|
pkgver=0.9.4
|
|
pkgrel=4
|
|
pkgdesc="A library for Qt-based Telepathy clients."
|
|
arch=('x86_64')
|
|
url="http://telepathy.freedesktop.org"
|
|
groups=('telepathy')
|
|
license=('LGPL')
|
|
depends=('qt' 'telepathy-farstream' 'python2-dbus')
|
|
makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
|
|
conflicts=('telepathy-qt4')
|
|
provides=('telepathy-qt4')
|
|
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
"farstream-0.2.patch")
|
|
sha256sums=('f1b1db3a9f96ece92df430a8de4d30317f4c58a06fe99e82cc2c6875791e61f2'
|
|
'5eb39f16b3988f0b50da29a64838af36e96aec38a1e9353a22242eec76ec0f8a')
|
|
|
|
prepare() {
|
|
mkdir build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
patch -p1 -i "${srcdir}"/farstream-0.2.patch
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|