pmaports/kde/kactivities/APKBUILD
Bart Ribbers 5b0c90e31e Update KDE Frameworks to 5.42.0 (#1164)
Fixes #979: Top drawer and background missing on first boot
2018-01-24 23:23:36 +00:00

40 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kactivities
pkgver=5.42.0
pkgrel=0
arch="all"
pkgdesc="Core components for the KDE's Activities"
url='https://community.kde.org/Frameworks'
license="GPL-2.0 LGPL-2.1"
depends="qt5-qtbase-sqlite"
depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev kio-dev"
makedepends="$depends_dev extra-cmake-modules boost doxygen qt5-qttools-dev boost-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
prepare() {
mkdir -p "$srcdir"/build
}
build() {
cd "$srcdir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DQML_INSTALL_DIR=lib/qt/qml \
-DBUILD_QCH=ON
make
}
check() {
cd "$srcdir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$srcdir"/build
make DESTDIR="${pkgdir}" install
}
sha512sums="9ca8fb9aca5eb62eb1f3ea7c0d930289657ea3c9f035ef6dba3c8d528de1e966e4ecbce4393c93d8e980c50a0538e024cbd00964a88d77841f19e77bb40fbbaf kactivities-5.42.0.tar.xz"