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
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libksysguard
|
|
pkgver=5.13.4
|
|
pkgrel=0
|
|
pkgdesc="Libksysguard"
|
|
arch="all"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-qtx11extras-dev
|
|
kcoreaddons-dev kconfig-dev ki18n-dev kcompletion-dev kauth-dev kwidgetsaddons-dev
|
|
kiconthemes-dev kconfigwidgets-dev kservice-dev kcodecs-dev plasma-framework
|
|
kpackage-dev"
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools"
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
options="!check" # Fails due to requiring running X11
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="64274c57ae3c8dbe7060b1f4e2ca642532400a7f1a0acc9e308ba8d448b9c98aaf8fa90408d511593b3250bb297f16d2c09ffcba43be04d9f25aa871879a3144 libksysguard-5.13.4.tar.xz"
|