2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=attica-qt
|
2019-01-18 14:02:04 +00:00
|
|
|
pkgver=5.54.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=""
|
|
|
|
depends_dev="qt5-qtbase-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
|
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-${pkgver}.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
builddir="$srcdir/${pkgname/-qt/}-$pkgver"
|
|
|
|
|
2018-12-22 08:14:43 +00:00
|
|
|
# ProviderTest::testFetchInvalidProvider() fails with: Could not fetch provider
|
|
|
|
options="!check"
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2019-01-18 14:02:04 +00:00
|
|
|
sha512sums="f278423e5bcbd1899d6c41caceee740e3caee01dd1af20303827ec5a807e262e560b068dcb6619f5410ebe815b71b1244ccc453c49956c3bfd1452a88ecf5b18 attica-5.54.0.tar.xz"
|