Skip to content

Commit

Permalink
Build Snapcraft packages from source
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 36fe9fb commit d6741af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions client/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ class MacMenuBar {};
#include <MAPI.h>
#endif

#include <optional>

using namespace std::chrono;

const QStringList Application::CONTAINER_EXT {
Expand Down
9 changes: 7 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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, libflatbuffers-dev, zlib1g-dev]
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- "-DCMAKE_FIND_ROOT_PATH=/usr\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"

0 comments on commit d6741af

Please sign in to comment.