git » qqc2-desktop-style.git » commit ff1b873

upgpkg: 5.248.0-2: Fix comboboxes with Qt 6.7

author Antonio Rojas
2024-01-21 20:11:05 UTC
committer Antonio Rojas
2024-01-21 20:11:05 UTC
parent b3d361a906425a1261252e5c67ea18276b3b8e85

upgpkg: 5.248.0-2: Fix comboboxes with Qt 6.7

.SRCINFO +5 -2
PKGBUILD +9 -3

diff --git a/.SRCINFO b/.SRCINFO
index d200a3b..8dc5232 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
 pkgbase = qqc2-desktop-style
 	pkgdesc = A style for Qt Quick Controls 2 to make it follow your desktop theme
 	pkgver = 5.248.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://community.kde.org/Frameworks
 	arch = x86_64
 	groups = kf6
-	license = LGPL
+	license = LGPL-2.0-only
+	license = LGPL-3.0-only
 	makedepends = extra-cmake-modules
 	depends = gcc-libs
 	depends = glibc
@@ -18,9 +19,11 @@ pkgbase = qqc2-desktop-style
 	depends = sonnet
 	source = https://download.kde.org/unstable/frameworks/5.248.0/qqc2-desktop-style-5.248.0.tar.xz
 	source = https://download.kde.org/unstable/frameworks/5.248.0/qqc2-desktop-style-5.248.0.tar.xz.sig
+	source = https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/73303bf4.patch
 	validpgpkeys = 53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB
 	validpgpkeys = E0A3EB202F8E57528E13E72FD7574483BB57B18D
 	sha256sums = 7561607923c3290ee5ef0f131e513157d02cbf0a7fcc5aa308b652f234423dde
 	sha256sums = SKIP
+	sha256sums = 018da87ce024c61316f118aca4b675c36a42a9be4cc82ff69e45a11435ca414a
 
 pkgname = qqc2-desktop-style
diff --git a/PKGBUILD b/PKGBUILD
index 86b4b07..330a54d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=qqc2-desktop-style
 pkgver=5.248.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A style for Qt Quick Controls 2 to make it follow your desktop theme'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -18,12 +18,18 @@ depends=(gcc-libs
          sonnet)
 makedepends=(extra-cmake-modules)
 groups=(kf6)
-source=(https://download.kde.org/unstable/frameworks/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/unstable/frameworks/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/73303bf4.patch)
 sha256sums=('7561607923c3290ee5ef0f131e513157d02cbf0a7fcc5aa308b652f234423dde'
-            'SKIP')
+            'SKIP'
+            '018da87ce024c61316f118aca4b675c36a42a9be4cc82ff69e45a11435ca414a')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB  # David Faure <faure@kde.org>
               E0A3EB202F8E57528E13E72FD7574483BB57B18D) # Jonathan Esk-Riddell <jr@jriddell.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 73303bf4.patch # Fix comboboxes with Qt 6.7
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF