006a0ab42f
I've also added a patch to stop Plasma from setting the brightness to 1 at boot. This comes from upstream, and can be removed once Plasma 5.12 is out.
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.11.5
|
|
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-x11extras-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="3a4c08aba07a71841643fc830a77ae4684ed41a8f26e6222d202738fb3c9f7ee2e816f15bcbbf5b3032fc100d33feb4d6771bf335c70548ab3bb4440d6d90286 libksysguard-5.11.5.tar.xz"
|