mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-28 00:51:44 +02:00
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=powerdevil
|
|
pkgver=5.16.4
|
|
pkgrel=0
|
|
pkgdesc="Manages the power consumption settings of a Plasma Shell"
|
|
arch="all !ppc64le !s390x" # Limited by plasma-workspace -> libksysguard -> qt5-qtwebengine
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
|
|
depends="upower"
|
|
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kactivities-dev kauth-dev kidletime-dev kconfig-dev kdbusaddons-dev solid-dev ki18n-dev kglobalaccel-dev kio-dev knotifyconfig-dev kwayland-dev kcrash-dev knotifications-dev libkscreen-dev plasma-workspace-dev bluez-qt-dev networkmanager-qt-dev eudev-dev"
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools-dev"
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
|
|
sha512sums="15c7c2d4bc7eba68a59c538f8ea62b3fde8e62320dd9144e96534aaccafabc5cea5bb38900cec90a4946b0b531c83cd7c59db7d0d1fc186b216916b5a5d6a743 powerdevil-5.16.4.tar.xz"
|