Skip to content

Commit

Permalink
Build Snapcraft packages from source and libdigidocpp
Browse files Browse the repository at this point in the history
IB-7219

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma committed Oct 26, 2023
1 parent 4df213d commit af3ad00
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,18 @@ apps:
command: usr/bin/digidoc-tool

parts:
libdigidocpp:
plugin: cmake
source: https://github.com/open-eid/libdigidocpp.git
stage-packages: [libxalan-c112, libxerces-c3.2, libxml-security-c20]
build-packages: [g++, xxd, libxml-security-c-dev, libssl-dev, zlib1g-dev, xsdcxx]
cmake-parameters: [-DCMAKE_INSTALL_PREFIX=/usr, -DCMAKE_FIND_ROOT_PATH=/usr]
qdigidoc4:
plugin: cmake
source: .
stage-packages: [opensc-pkcs11, libdigidocpp-tools]
build-packages: [libdigidocpp-dev, libssl-dev, libpcsclite-dev, libldap2-dev]
stage-packages: [opensc-pkcs11]
build-packages: [libssl-dev, libpcsclite-dev, libldap2-dev]
after: [libdigidocpp]
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- "-DCMAKE_FIND_ROOT_PATH=/usr\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
- "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"

0 comments on commit af3ad00

Please sign in to comment.