pmaports/kde/attica-qt/APKBUILD
Bart Ribbers 3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00

36 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=attica-qt
_pkgname="${pkgname/-qt/}"
pkgver=5.57.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="217c0d00fedd594826eaefbed683008df00403179243c938eebdb46a429a24be4a684286d7f813593711059f9ffbb4c5ff6261a436b6d568f9fedd96f52ed0b3 attica-5.57.0.tar.xz"