[arch-commits] Commit in powerdevil/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jun 16 18:26:21 UTC 2022


    Date: Thursday, June 16, 2022 @ 18:26:21
  Author: arojas
Revision: 448850

Fix changing screen brightness

Modified:
  powerdevil/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-16 18:22:43 UTC (rev 448849)
+++ PKGBUILD	2022-06-16 18:26:21 UTC (rev 448850)
@@ -4,7 +4,7 @@
 
 pkgname=powerdevil
 pkgver=5.25.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Manages the power consumption settings of a Plasma Shell'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -13,9 +13,11 @@
 makedepends=(extra-cmake-modules kdoctools)
 optdepends=('kinfocenter: for the Energy Information KCM' 'power-profiles-daemon: power profiles support')
 groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/plasma/powerdevil/-/commit/2ebe655d.patch)
 sha256sums=('71b63a3135d60e2ad172cf72c2d095014b2ed97b8406124118ae6f410bb30fbb'
-            'SKIP')
+            'SKIP'
+            '3f03b8807acd3035ab5e6f1a1a3236d3b0146485e96b877f8d66a7a752e2a2e6')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr at jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah at kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson at kde.org>
@@ -22,6 +24,10 @@
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 2ebe655d.patch # Fix changing screen brightness
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \



More information about the arch-commits mailing list