From ea915bf3b06080a059630e618bcbfa5765035998 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 7362da2a1..9153c0ae8 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-103-qt-5-15-8-core22-sdk/current"