pmaports/kde/attica-qt/APKBUILD

37 lines
1.1 KiB
Text
Raw Normal View History

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