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


Commits:
9263775c by Antonio Rojas at 2023-11-30T00:05:27+01:00
Support xsimd 12

- - - - -


2 changed files:

- PKGBUILD
- + xsimd-12.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -71,13 +71,19 @@ optdepends=('kimageformats5: PSD support'
             'libmypaint: support for MyPaint brushes'
             'poppler-qt5: PDF filter'
             'python-pyqt5: for the Python plugins')
-source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig})
+source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig}
+        xsimd-12.patch)
 sha256sums=('27665b512b3b78eff117e8dbf70e7b53e7ec7f4417a27fd4d22aefb012b2f5cf'
-            'SKIP')
+            'SKIP'
+            'bdf2fd09b65dfae8fd7817b302486d6b82df8c0d56fd980afac019a82d3cd716')
 validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD'  # Boudewijn Rempt 
<[email protected]>
               'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F'  # Dmitry Kazakov 
(main key) <[email protected]>
               '064182440C674D9F8D0F6F8B4DA79EDA231C852B') # Stichting Krita 
Foundation <[email protected]>
 
+prepare() {
+  patch -d $pkgname-$_pkgver -p1 < xsimd-12.patch
+}
+
 build() {
   cmake -B build -S $pkgname-$_pkgver \
     -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON \


=====================================
xsimd-12.patch
=====================================
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 94786e9279..a08bcb3027 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1070,7 +1070,7 @@ endif()
+ ##
+ ## Test for xsimd
+ ##
+-foreach(xsimd_version 8.1.0 9 10 11)
++foreach(xsimd_version 8.1.0 9 10 11 12)
+     if(NOT xsimd_FOUND)
+         find_package(xsimd ${xsimd_version})
+     endif()



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/krita/-/commit/9263775c9651b75306a4a3ff542b602ae38efe04

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


Reply via email to