Here's a patch for libksysguard.

The package compiles with libretools (x86_64, i686, armv7h)
It works (tested on x86_64)

Changes:
- removed "depends+=(qt5-webchannel)" because it is not
used by upstream build recipe
- rewrote removing of qt5-webengine
- added dependency fix for i686 architecture
From 0e49d8547e23213a50564579be7e39039142212e Mon Sep 17 00:00:00 2001
From: SolveFinder <kwop...@proton.me>
Date: Mon, 8 Jan 2024 18:38:48 +0300
Subject: [PATCH] updpkg: libre/libksysguard 5.27.10-1.parabola1

---
 libre/libksysguard/PKGBUILD | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/libre/libksysguard/PKGBUILD b/libre/libksysguard/PKGBUILD
index bf2970c02..5f1aebe0e 100644
--- a/libre/libksysguard/PKGBUILD
+++ b/libre/libksysguard/PKGBUILD
@@ -12,23 +12,25 @@
 
 
 pkgname=libksysguard
-pkgver=5.27.8
+pkgver=5.27.10
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=2
+pkgrel=1
 pkgrel+=.parabola1
 pkgdesc='Library to retrieve information on the current status of computer hardware'
 arch=(x86_64)
 arch+=(i686 armv7h)
 url='https://kde.org/plasma-desktop/'
 license=(LGPL)
-depends=(libxres knewstuff5)
-depends+=(qt5-webchannel)
+depends=(libxres qt5-webengine knewstuff5)
+depends=( ${depends[*]/qt5-webengine/} )  # non-free
 makedepends=(extra-cmake-modules kdoctools5 qt5-tools)
+[[ "${CARCH}" == i686 ]] && depends=(     ${depends[*]%5}     ) # k*5 things n/a i686
+[[ "${CARCH}" == i686 ]] && makedepends=( ${makedepends[*]%5} ) # k*5 things n/a i686
 conflicts=('ksysguard<5.21.90')
 groups=(plasma)
 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
 install=libksysguard.install
-sha256sums=('a024c0183b0aed1e2fb4661ba0e31942f54a4a630ceb14ca745ac5f76245fd7d'
+sha256sums=('17fc33b028cb272391b68c46e93b2d806d8254e6af9399d61375d49041ff3ce5'
             'SKIP')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <j...@jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bs...@kde.org>
-- 
2.43.0

_______________________________________________
Dev mailing list
Dev@lists.parabola.nu
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to