clickable_minimum_required: 8
builder: cmake
kill: UTPass

scripts:
  style: >-
    echo 'Running Astyle :' && astyle --options=.astylerc --recursive '*.cpp,*.h' --exclude=build && echo 'Running QmlFormat' && find . -name "*.qml" -exec qmlformat -i {} \; && echo 'Success'


dependencies_target:
- libgit2-dev
- libquazip5-dev
- libgpgmepp-dev
- libgpgme-dev
- libjson-c-dev
- gpg

libraries:
  rnp:
    builder: cmake
    make_jobs: 2
    dependencies_target:
    - libbz2-dev
    - zlib1g-dev
    - libjson-c-dev
    build_args: [
        -DCRYPTO_BACKEND=openssl
    ]

install_lib:
- "libgit2.so*"
- "libmbedtls.so*"
- "libmbedx509.so*"
- "libmbedcrypto.so*"
- "libhttp_parser.so*"
- "libssh2.so*"
- "libquazip5.so*"
- "libgpg-error.so.0.28.0"
- "libassuan.so*"
- "libgpgme.so*"
- "libgpgmepp.so*"
- "libqgpgme.so*"

