716e6c10eb
This commit adds a test case, which makes sure that the KDE framework and plasma framework version are always the same. Additional changes: * APKBUILD parser parses the URL now (that's the best way I found to categorize the KDE aports in frameworks and other) * Changed single quotes to double quotes in KDE APKBUILDs, so the parser doesn't include the single quotes in the parsed result * Added the test case to the gitlab CI config
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kactivities-stats
|
|
pkgver=5.48.0
|
|
pkgrel=0
|
|
arch="all"
|
|
pkgdesc="A library for accessing the usage data collected by the activities system"
|
|
url="https://community.kde.org/Frameworks"
|
|
license='LGPL-2.1"
|
|
depends=""
|
|
depends_dev="boost-dev qt5-qtbase-dev kconfig-dev kactivities-dev
|
|
graphviz-dev qt5-qttools-dev qt5-qtdeclarative-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/build"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/$pkgname-$pkgver \
|
|
-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
|
|
}
|
|
sha512sums="a3e0d69135ffcc49c71dd9f18e69ff2dd03d49b42284cec1c2dd2bae0e88c17fa60bb46dca049eb438ec573436f4c4034599d444d66ef94454b45ecf38a09a18 kactivities-stats-5.48.0.tar.xz"
|