Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
kweathercore


Commits:
15d3462a by Antonio Rojas at 2023-11-16T08:49:08+01:00
upgpkg: 0.7-4: Bump for kde-unstable

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,23 +1,29 @@
 pkgbase = kweathercore
        pkgdesc = Library to facilitate retrieval of weather information 
including forecasts and alerts
        pkgver = 0.7
-       pkgrel = 3
+       pkgrel = 4
        url = https://invent.kde.org/libraries/kweathercore
        arch = x86_64
        license = GPL
        makedepends = doxygen
        makedepends = extra-cmake-modules
-       makedepends = qt5-tools
+       makedepends = qt6-tools
        depends = gcc-libs
        depends = glibc
-       depends = kholidays5
-       depends = ki18n5
-       depends = qt5-base
-       depends = qt5-location
+       depends = kholidays
+       depends = ki18n
+       depends = qt6-base
+       depends = qt6-positioning
        source = 
https://download.kde.org/stable/kweathercore/0.7/kweathercore-0.7.tar.xz
        source = 
https://download.kde.org/stable/kweathercore/0.7/kweathercore-0.7.tar.xz.sig
+       source = 
https://invent.kde.org/libraries/kweathercore/-/commit/207eff94.patch
+       source = 
https://invent.kde.org/libraries/kweathercore/-/commit/6d7e43f1.patch
+       source = 
https://invent.kde.org/libraries/kweathercore/-/commit/0b6bfc05.patch
        validpgpkeys = 0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D
        sha256sums = 
04dde83ae543163735776dc50edab3510247d4825432840a78fade9b237a79fd
        sha256sums = SKIP
+       sha256sums = 
8331863eeb7b6bbb5133b76198b9156b042edb71bde30b41371327f2666c1b71
+       sha256sums = 
629f6ac0a2b0aa3c050c40997202c0c5c8121ca58612f4423a479b4ce8137cd0
+       sha256sums = 
619ffec63b2b1fe2fbb066c5570b80b3e7a9b8fa9cd8e83025e9effed4b8fc11
 
 pkgname = kweathercore


=====================================
PKGBUILD
=====================================
@@ -2,28 +2,41 @@
 
 pkgname=kweathercore
 pkgver=0.7
-pkgrel=3
+pkgrel=4
 pkgdesc='Library to facilitate retrieval of weather information including 
forecasts and alerts'
 arch=(x86_64)
 license=(GPL)
 url='https://invent.kde.org/libraries/kweathercore'
 depends=(gcc-libs
          glibc
-         kholidays5
-         ki18n5
-         qt5-base
-         qt5-location)
+         kholidays
+         ki18n
+         qt6-base
+         qt6-positioning)
 makedepends=(doxygen
              extra-cmake-modules
-             qt5-tools)
-source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+             qt6-tools)
+source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/libraries/kweathercore/-/commit/207eff94.patch
+        https://invent.kde.org/libraries/kweathercore/-/commit/6d7e43f1.patch
+        https://invent.kde.org/libraries/kweathercore/-/commit/0b6bfc05.patch)
 sha256sums=('04dde83ae543163735776dc50edab3510247d4825432840a78fade9b237a79fd'
-            'SKIP')
+            'SKIP'
+            '8331863eeb7b6bbb5133b76198b9156b042edb71bde30b41371327f2666c1b71'
+            '629f6ac0a2b0aa3c050c40997202c0c5c8121ca58612f4423a479b4ce8137cd0'
+            '619ffec63b2b1fe2fbb066c5570b80b3e7a9b8fa9cd8e83025e9effed4b8fc11')
 validpgpkeys=(0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D) # Bhushan Shah 
(mykolab address) <[email protected]>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 207eff94.patch # Support Qt6
+  patch -d $pkgname-$pkgver -p1 < 6d7e43f1.patch # Support Qt6
+  patch -d $pkgname-$pkgver -p1 < 0b6bfc05.patch # Support Qt6
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \
+    -DQT_MAJOR_VERSION=6 \
     -DBUILD_QCH=ON
   cmake --build build
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kweathercore/-/commit/15d3462a98564dbb255f03a9ece2d05f48cace67

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kweathercore/-/commit/15d3462a98564dbb255f03a9ece2d05f48cace67
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to