1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
app-id: com.github.paolostivanin.OTPClient
runtime: org.gnome.Platform
runtime-version: '45'
sdk: org.gnome.Sdk
command: otpclient
finish-args:
- "--share=ipc"
- "--socket=fallback-x11"
- "--socket=wayland"
- "--device=all"
- "--talk-name=org.freedesktop.secrets"
modules:
- name: jansson
cleanup:
- "/include"
- "/bin"
- "/share"
- "/lib/pkgconfig"
- "/lib/*.la"
sources:
- type: archive
url: https://github.com/akheron/jansson/releases/download/v2.14/jansson-2.14.tar.gz
sha256: 5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929
- shared-modules/libsecret/libsecret.json
- name: protobuf
cleanup:
- "/include"
- "/bin"
- "/share"
- "/lib/pkgconfig"
- "/lib/*.la"
sources:
- type: archive
url: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.12.tar.gz
sha256: 22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de
- name: protobuf-c
cleanup:
- "/include"
- "/bin"
- "/share"
- "/lib/pkgconfig"
- "/lib/*.la"
sources:
- type: archive
url: https://github.com/protobuf-c/protobuf-c/archive/refs/tags/v1.5.0.tar.gz
sha256: 7b404c63361ed35b3667aec75cc37b54298d56dd2bcf369de3373212cc06fd98
- name: qrencode
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DBUILD_SHARED_LIBS=TRUE"
sources:
- type: archive
url: https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz
sha256: 5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c
- name: zbar
config-opts:
- "--without-qt"
- "--without-qt5"
- "--without-gtk"
- "--without-xv"
- "--without-imagemagick"
- "--without-dbus"
- "--with-python=python3"
- "--disable-doc"
- "--enable-codes=qrcode"
sources:
- type: archive
url: https://www.linuxtv.org/downloads/zbar/zbar-0.23.93.tar.gz
sha256: 78ae427a529f0399561bc198de5c2c7ca3f11d05fa9e903e65e501168433d218
- name: libcotp
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DCMAKE_INSTALL_LIBDIR=lib"
cleanup:
- "/include"
sources:
- type: archive
url: https://github.com/paolostivanin/libcotp/archive/v3.0.0.tar.gz
sha256: ff0b9ce208c4c6542a0f1e739cf31978fbf28848c573837c671a6cb7b56b2c12
- name: OTPClient
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DUSE_FLATPAK_APP_FOLDER=ON"
sources:
- type: git
url: https://github.com/paolostivanin/OTPClient.git
branch: master
|