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: Build quazip as a part from source

Scarlett Moore4ec987679f2a
diff --git a/packaging/linux/snap/snapcraft.yaml b/packaging/linux/snap/snapcraft.yaml
index 657a877fec..d5c1526228 100644
--- a/packaging/linux/snap/snapcraft.yaml
+++ b/packaging/linux/snap/snapcraft.yaml
@@ -32,6 +32,19 @@ slots:
name: org.kde.krita
bus: session
parts:
+ quazip:
+ source: https://github.com/stachenov/quazip.git
+ source-tag: v1.5
+ plugin: cmake
+ build-packages:
+ - zlib1g-dev
+ cmake-parameters:
+ - -DCMAKE_INSTALL_PREFIX=/usr
+ - -DCMAKE_BUILD_TYPE=Release
+ - -DENABLE_TESTING=OFF
+ - -DBUILD_TESTING=OFF
+ - -DKDE_SKIP_TEST_SETTINGS=ON
+ - -DQUAZIP_QT_MAJOR_VERSION=6
kdcraw:
source: https://invent.kde.org/graphics/libkdcraw.git
source-branch: release/26.04
@@ -50,6 +63,7 @@ parts:
krita:
after:
- kdcraw
+ - quazip
source: .
source-type: local
plugin: cmake
@@ -106,7 +120,6 @@ parts:
- libsdl2-dev
- libfribidi-dev
- libfreetype6-dev
- - libquazip5-dev
build-snaps:
- ffmpeg-2404-sdk
- kf6-core24-sdk/latest/beta