2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kactivities
|
2018-07-15 09:09:52 +00:00
|
|
|
pkgver=5.48.0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
arch="all"
|
|
|
|
pkgdesc="Core components for the KDE's Activities"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +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-libs $pkgname-doc"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
prepare() {
|
2017-11-26 17:08:10 +00:00
|
|
|
mkdir -p "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$srcdir"/build
|
|
|
|
cmake "$builddir" \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DQML_INSTALL_DIR=lib/qt/qml \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$srcdir"/build
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2018-07-15 09:09:52 +00:00
|
|
|
sha512sums="a0009b382c71d606aff567374465b93fa0fba95b47310b2b538b547fb4af791a44af683c9d4e9662c3bec99a8fb9e7e435156c97fa17d940ae05ef5bbb36da8a kactivities-5.48.0.tar.xz"
|