Date: Wednesday, December 14, 2022 @ 13:42:47
Author: arojas
Revision: 464296
archrelease: copy trunk to extra-x86_64
Added:
krita/repos/extra-x86_64/PKGBUILD
(from rev 464295, krita/trunk/PKGBUILD)
krita/repos/extra-x86_64/find-xsimd.patch
(from rev 464295, krita/trunk/find-xsimd.patch)
krita/repos/extra-x86_64/keys/
Deleted:
krita/repos/extra-x86_64/PKGBUILD
krita/repos/extra-x86_64/keys/
------------------+
PKGBUILD | 76 ++++++++++++++++++++++++++++-------------------------
find-xsimd.patch | 21 ++++++++++++++
2 files changed, 62 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-14 13:42:29 UTC (rev 464295)
+++ PKGBUILD 2022-12-14 13:42:47 UTC (rev 464296)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <arojas@archlinux,org>
-
-pkgname=krita
-_pkgver=5.1.3
-pkgver=${_pkgver/-/}
-pkgrel=1
-pkgdesc='Edit and paint images'
-arch=(x86_64)
-url='https://krita.org'
-license=(GPL3)
-depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg
qt5-multimedia quazip
- gsl libraw exiv2 openexr fftw openjpeg2 opencolorio libwebp
hicolor-icon-theme)
-makedepends=(extra-cmake-modules kdoctools boost eigen poppler-qt5
python-pyqt5 libheif
- qt5-tools sip kseexpr libmypaint libjxl xsimd)
-optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations'
- 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter'
- 'kseexpr: SeExpr generator layer' 'kimageformats: PSD support'
'libmypaint: support for MyPaint brushes'
- 'krita-plugin-gmic: GMic plugin' 'libjxl: JPEG-XL filter')
-source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig})
-sha256sums=('ebdf8fd303087221b1b9cead9961b53a8b299afbf071997acc7350ca0127828d'
- 'SKIP')
-validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD' # Boudewijn Rempt
<[email protected]>
- 'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F' # Dmitry Kazakov
(main key) <[email protected]>
- '064182440C674D9F8D0F6F8B4DA79EDA231C852B') # Stichting Krita
Foundation <[email protected]>
-options=(debug)
-
-build() {
- cmake -B build -S $pkgname-$_pkgver \
- -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
Copied: krita/repos/extra-x86_64/PKGBUILD (from rev 464295,
krita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-14 13:42:47 UTC (rev 464296)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas@archlinux,org>
+
+pkgname=krita
+_pkgver=5.1.4
+pkgver=${_pkgver/-/}
+pkgrel=1
+pkgdesc='Edit and paint images'
+arch=(x86_64)
+url='https://krita.org'
+license=(GPL3)
+depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg
qt5-multimedia quazip
+ gsl libraw exiv2 openexr fftw openjpeg2 opencolorio libwebp
hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools boost eigen poppler-qt5
python-pyqt5 libheif
+ qt5-tools sip kseexpr libmypaint libjxl xsimd)
+optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations'
+ 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter'
+ 'kseexpr: SeExpr generator layer' 'kimageformats: PSD support'
'libmypaint: support for MyPaint brushes'
+ 'krita-plugin-gmic: GMic plugin' 'libjxl: JPEG-XL filter')
+source=(https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig}
+ find-xsimd.patch)
+sha256sums=('c22b020862596eb2fdd911e1b179dbbce7b081be111457a2eacaf6ae1cca2dcb'
+ 'SKIP'
+ '622c9ffbbfef72dd024b391b879c79ae34da11d52b2f3488dfd8ee42bf7b453b')
+validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD' # Boudewijn Rempt
<[email protected]>
+ 'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F' # Dmitry Kazakov
(main key) <[email protected]>
+ '064182440C674D9F8D0F6F8B4DA79EDA231C852B') # Stichting Krita
Foundation <[email protected]>
+options=(debug)
+
+prepare() {
+ patch -d $pkgname-$_pkgver -p1 < find-xsimd.patch
+}
+
+build() {
+ cmake -B build -S $pkgname-$_pkgver \
+ -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
Copied: krita/repos/extra-x86_64/find-xsimd.patch (from rev 464295,
krita/trunk/find-xsimd.patch)
===================================================================
--- find-xsimd.patch (rev 0)
+++ find-xsimd.patch 2022-12-14 13:42:47 UTC (rev 464296)
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7d075a7223..6dc88e243a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1052,10 +1052,12 @@ list (APPEND ANDROID_EXTRA_LIBS ${LCMS2_LIBRARIES})
+ ##
+ ## Test for xsimd
+ ##
+-find_package(xsimd 8.1.0)
+-if(NOT xsimd_FOUND)
+- find_package(xsimd 9)
+-endif()
++foreach(xsimd_version 8.1.0 9 10)
++ if(NOT xsimd_FOUND)
++ find_package(xsimd ${xsimd_version})
++ endif()
++endforeach()
++
+ set_package_properties(xsimd PROPERTIES
+ DESCRIPTION "C++ wrappers for SIMD intrinsics"
+ URL "https://github.com/xtensor-stack/xsimd"