diff options
Diffstat (limited to 'community/powerdevil/APKBUILD')
-rw-r--r-- | community/powerdevil/APKBUILD | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/community/powerdevil/APKBUILD b/community/powerdevil/APKBUILD index 4b7d4c458c7..ee9e5456dda 100644 --- a/community/powerdevil/APKBUILD +++ b/community/powerdevil/APKBUILD @@ -1,20 +1,23 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-plasma pkgname=powerdevil -pkgver=5.22.0 +pkgver=6.0.3 pkgrel=0 pkgdesc="Manages the power consumption settings of a Plasma Shell" # armhf blocked by extra-cmake-modules -# s390x blocked by libksysguard -arch="all !armhf !s390x !mips64" +arch="all !armhf" url="https://kde.org/plasma-desktop/" 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=" bluez-qt-dev + ddcutil-dev eudev-dev - kactivities-dev kauth-dev + kcmutils-dev kconfig-dev kcrash-dev kdbusaddons-dev @@ -22,39 +25,48 @@ depends_dev=" ki18n-dev kidletime-dev kio-dev + kirigami-dev + kitemmodels-dev knotifications-dev knotifyconfig-dev kwayland-dev libkscreen-dev networkmanager-qt-dev + plasma-activities-dev plasma-workspace-dev - qt5-qtbase-dev - qt5-qtx11extras-dev + qt6-qtbase-dev solid-dev " makedepends="$depends_dev extra-cmake-modules kdoctools-dev + libcap-utils + samurai " +checkdepends="bash" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac -source="https://download.kde.org/$_rel/plasma/$pkgver/powerdevil-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/plasma/powerdevil.git" +source="https://download.kde.org/stable/plasma/$pkgver/powerdevil-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + # HAVE_DDCUTIL needs to be set manually for now but is enabled by default in the next + # (post 5.28.x) powerdevil version. Nothing changed in particular warranting it to be + # enabled again, but upstream mentions the reasons for originally disabling it by default + # aren't known anymore and it's time to re-enable again + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + ctest --test-dir build --output-on-failure -E "migrateconfig_test(1_default_configs_can_suspend_to_ram|2_activities|2a_activities_no_double_migration|3_profiles|4_profiles_more)" } package() { @@ -69,5 +81,5 @@ package() { } sha512sums=" -02e2bbbb763b130a22dca307a580f7f68f0cef2fb0f9d57c8a877897b22d368165f28e9182ff9dc71259595f9c74cf5d030e1e701ec0431d3c567cac0c967803 powerdevil-5.22.0.tar.xz +e96db98ac84a7d98445a79acb1cfc3878d4ffa9c8de55094d3e918458335825b34e0251557c10665963330f93760df898d2577f09d4badce3d965efb3dec41ee powerdevil-6.0.3.tar.xz " |