git » krita.git » commit 9aae8b4

upgpkg: 5.2.2-1: Update to 5.2.2

author Antonio Rojas
2023-12-11 19:25:11 UTC
committer Antonio Rojas
2023-12-11 19:25:11 UTC
parent 9263775c9651b75306a4a3ff542b602ae38efe04

upgpkg: 5.2.2-1: Update to 5.2.2

.SRCINFO +9 -5
PKGBUILD +8 -5
sip-6.8.patch +13 -0

diff --git a/.SRCINFO b/.SRCINFO
index 82da0e7..82ff101 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = krita
 	pkgdesc = Edit and paint images
-	pkgver = 5.2.1
-	pkgrel = 2
+	pkgver = 5.2.2
+	pkgrel = 1
 	url = https://krita.org
 	arch = x86_64
 	license = GPL3
@@ -68,12 +68,16 @@ pkgbase = krita
 	optdepends = libmypaint: support for MyPaint brushes
 	optdepends = poppler-qt5: PDF filter
 	optdepends = python-pyqt5: for the Python plugins
-	source = https://download.kde.org/stable/krita/5.2.1/krita-5.2.1.tar.gz
-	source = https://download.kde.org/stable/krita/5.2.1/krita-5.2.1.tar.gz.sig
+	source = https://download.kde.org/stable/krita/5.2.2/krita-5.2.2.tar.gz
+	source = https://download.kde.org/stable/krita/5.2.2/krita-5.2.2.tar.gz.sig
+	source = xsimd-12.patch
+	source = sip-6.8.patch
 	validpgpkeys = 05D00A8B73A686789E0A156858B9596C722EA3BD
 	validpgpkeys = E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F
 	validpgpkeys = 064182440C674D9F8D0F6F8B4DA79EDA231C852B
-	sha256sums = 27665b512b3b78eff117e8dbf70e7b53e7ec7f4417a27fd4d22aefb012b2f5cf
+	sha256sums = c1d2e4a36d7d8aa296d021e52be493cc679d3fe5e8aa4fc13c434d33e8154ce2
 	sha256sums = SKIP
+	sha256sums = bdf2fd09b65dfae8fd7817b302486d6b82df8c0d56fd980afac019a82d3cd716
+	sha256sums = bb3b503993030bb98a99c6a0376c65ee74d0c32c1e8932110698682eed1e3d3c
 
 pkgname = krita
diff --git a/PKGBUILD b/PKGBUILD
index f9a7e43..1fb09cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
 # Maintainer: Antonio Rojas <arojas@archlinux,org>
 
 pkgname=krita
-_pkgver=5.2.1
+_pkgver=5.2.2
 pkgver=${_pkgver/-/}
-pkgrel=2
+pkgrel=1
 pkgdesc='Edit and paint images'
 arch=(x86_64)
 url='https://krita.org'
@@ -72,15 +72,18 @@ optdepends=('kimageformats5: PSD support'
             'poppler-qt5: PDF filter'
             'python-pyqt5: for the Python plugins')
 source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig}
-        xsimd-12.patch)
-sha256sums=('27665b512b3b78eff117e8dbf70e7b53e7ec7f4417a27fd4d22aefb012b2f5cf'
+        xsimd-12.patch
+        sip-6.8.patch)
+sha256sums=('c1d2e4a36d7d8aa296d021e52be493cc679d3fe5e8aa4fc13c434d33e8154ce2'
             'SKIP'
-            'bdf2fd09b65dfae8fd7817b302486d6b82df8c0d56fd980afac019a82d3cd716')
+            'bdf2fd09b65dfae8fd7817b302486d6b82df8c0d56fd980afac019a82d3cd716'
+            'bb3b503993030bb98a99c6a0376c65ee74d0c32c1e8932110698682eed1e3d3c')
 validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD'  # Boudewijn Rempt <foundation@krita.org>
               'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F'  # Dmitry Kazakov (main key) <dimula73@gmail.com>
               '064182440C674D9F8D0F6F8B4DA79EDA231C852B') # Stichting Krita Foundation <foundation@krita.org>
 
 prepare() {
+  patch -d $pkgname-$_pkgver -p1 < sip-6.8.patch
   patch -d $pkgname-$_pkgver -p1 < xsimd-12.patch
 }
 
diff --git a/sip-6.8.patch b/sip-6.8.patch
new file mode 100644
index 0000000..9579e4f
--- /dev/null
+++ b/sip-6.8.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/modules/pyproject.toml.in b/cmake/modules/pyproject.toml.in
+index 090b2d4b0c..085ddf4179 100644
+--- a/cmake/modules/pyproject.toml.in
++++ b/cmake/modules/pyproject.toml.in
+@@ -9,7 +9,7 @@ name = "@module_name_toml@"
+ sip-module = "@sip_name@"
+ sip-include-dirs = @sip_include_dirs@
+ sip-files-dir = "@module_srcs@"
+-abi-version = "12"
++abi-version = "12.8"
+ 
+ [tool.sip.bindings.@module_name_toml@]
+ tags = @module_tags@