pmaports/main/telepathy-qt/APKBUILD
Bart Ribbers 9c7cffa8f4
main/telepathy-qt: upgrade to 0_git20190920 (!644)
[ci:skip-build]: already built successfully in CI
2019-09-25 22:57:05 +02:00

45 lines
1.6 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
# Git version to have Python 3 support, not needed once 0.9.8 is released
pkgname=telepathy-qt
pkgver=0.9.7_git20190920
pkgrel=0
_commit="336ff2a4b4f9a12bd0ff525f836ed37e564121a7"
arch="all"
url="http://telepathy.freedesktop.org/wiki/"
license="LGPL-2.1-or-later"
pkgdesc="A library for Qt-based Telepathy clients"
depends_dev="telepathy-farstream-dev telepathy-glib-dev gstreamer-dev"
makedepends="$depends_dev cmake python3 qt5-qttools-dev dbus doxygen"
#source="https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-$pkgver.tar.gz"
source="$pkgname-$_commit.tar.gz::https://github.com/TelepathyIM/telepathy-qt/archive/$_commit.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # failing on armhf
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DDESIRED_QT_VERSION=5 \
-DENABLE_EXAMPLES=OFF \
-DENABLE_TESTS=TRUE
make
doxygen doxygen.cfg
}
check() {
# BaseConnectionManager requires jabber support
# BaseProtocol is broken
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "Base(ConnectionManager|Protocol)"
}
package() {
DESTDIR="$pkgdir" make install
install -d "$pkgdir"/usr/share/doc/$pkgname
cp -r doc/html "$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="fc4e852b0f5c10733233e174b72e0bedb167af1231c84629edddfaf8802eafb8516b5db9f0e3eee30823aee7233158e208b614c97ac51b67777414d199272cd4 telepathy-qt-336ff2a4b4f9a12bd0ff525f836ed37e564121a7.tar.gz"