From 64a530973994d698d7f4e4eb86fb7715794c4b57 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Tue, 5 Jul 2022 10:35:14 +0300 Subject: [PATCH] Build Snapcraft packages from source IB-7219 Signed-off-by: Raul Metsma --- snapcraft.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index f6e8ba27f..13abb8157 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -26,5 +26,10 @@ apps: parts: qdigidoc4: - plugin: nil - stage-packages: [qdigidoc4, opensc-pkcs11, libdigidocpp-tools] + plugin: cmake + source: . + stage-packages: [opensc-pkcs11, libdigidocpp-tools] + build-packages: [libdigidocpp-dev, libssl-dev, libpcsclite-dev, libldap2-dev] + cmake-parameters: + - -DCMAKE_INSTALL_PREFIX=/usr + - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"