2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=attica-qt
|
2019-02-11 13:36:33 +00:00
|
|
|
_pkgname="${pkgname/-qt/}"
|
2019-05-14 22:30:19 +00:00
|
|
|
pkgver=5.58.0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Qt5 library that implements the Open Collaboration Services API"
|
|
|
|
url="https://community.kde.org/Frameworks"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
depends_dev="qt5-qtbase-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
|
2019-02-11 13:36:33 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$_pkgname-$pkgver.tar.xz"
|
2017-11-26 17:08:10 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2019-02-11 13:36:33 +00:00
|
|
|
options="!check" # ProviderTest::testFetchInvalidProvider() fails with: Could not fetch provider
|
|
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
2018-12-22 08:14:43 +00:00
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-02-11 13:36:33 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2019-05-14 22:30:19 +00:00
|
|
|
sha512sums="e33104beb353982e587384b1ddc831f640177d2b0e24ec2c7f378ef8e9b7e2a998e3425ebdb3c17cab56fe3873b296c86302e7a9a00641e06e8a2896163e7703 attica-5.58.0.tar.xz"
|