pmaports/kde/telepathy-qt5/APKBUILD
PureTryOut 689b8e4fec Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00

34 lines
955 B
Text

pkgname=telepathy-qt5
pkgver=0.9.7
pkgrel=1
arch="all"
url="http://telepathy.freedesktop.org/wiki/"
license="LGPL"
pkgdesc="A library for Qt-based Telepathy clients"
depends="qt5-qtbase telepathy-farstream"
makedepends="cmake doxygen python2 qt5-qttools-dev telepathy-farstream dbus-glib-dev"
source="https://telepathy.freedesktop.org/releases/${pkgname/qt5/qt}/${pkgname/qt5/qt}-$pkgver.tar.gz"
subpackages="$pkgname-dev"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake $srcdir/${pkgname/qt5/qt}-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DDESIRED_QT_VERSION=5 \
-DENABLE_EXAMPLES=OFF \
-DENABLE_TESTS=OFF
make
}
package() {
cd $srcdir/build
make DESTDIR="$pkgdir" install
}
sha512sums="081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877 telepathy-qt-0.9.7.tar.gz"