Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

snapcraft: xsimd is too old, build from source. Add python3-sipbuild

Scarlett Moorede23848e7e58
diff --git a/packaging/linux/snap/snapcraft.yaml b/packaging/linux/snap/snapcraft.yaml
index a3ec9d7881..a37b36743a 100644
--- a/packaging/linux/snap/snapcraft.yaml
+++ b/packaging/linux/snap/snapcraft.yaml
@@ -32,6 +32,15 @@ slots:
name: org.kde.krita
bus: session
parts:
+ xsimd:
+ source: https://github.com/xtensor-stack/xsimd.git
+ source-tag: 14.1.0
+ plugin: cmake
+ cmake-parameters:
+ - -DCMAKE_INSTALL_PREFIX=/usr
+ - -DCMAKE_BUILD_TYPE=Release
+ - -DENABLE_TESTING=OFF
+ - -DBUILD_TESTING=OFF
kseexpr:
source: https://invent.kde.org/graphics/kseexpr.git
plugin: cmake
@@ -181,6 +190,7 @@ parts:
- eigen
- pyqt6
- kseexpr
+ - xsimd
source: .
source-type: local
plugin: cmake
@@ -225,7 +235,6 @@ parts:
- libxcb-util0-dev
- libxcb1-dev
- libxi-dev
- - libxsimd-dev
- libzug-dev
- pkg-config
- python3-sip-dev
@@ -240,6 +249,7 @@ parts:
- libjxl-dev
- python3-dev
- sip-tools
+ - python3-sipbuild
build-snaps:
- ffmpeg-2404-sdk
- kf6-core24-sdk/latest/beta
@@ -264,7 +274,6 @@ parts:
- libopenjp2-7
- libpng16-16
- libpython3.12
- - libquazip5-1
- libtiff6
- libturbojpeg
- libunibreak5