42 lines
1.8 KiB
Plaintext
42 lines
1.8 KiB
Plaintext
app-id: @FULLNAME@
|
|
runtime: org.kde.Platform
|
|
runtime-version: "5.15-24.08"
|
|
sdk: org.kde.Sdk
|
|
command: @TARGET_NAME@
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=fallback-x11
|
|
- --socket=wayland
|
|
- --socket=pulseaudio
|
|
- --filesystem=home
|
|
- --device=dri
|
|
@@FLATPAK_FINISH_ARGS@@
|
|
modules:
|
|
- name: libsodium
|
|
buildsystem: simple
|
|
build-commands:
|
|
- ./autogen.sh && ./configure --prefix=/app --enable-shared --disable-static && make && make install
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/jedisct1/libsodium.git
|
|
tag: 1.0.18
|
|
commit: 45b09a607d596e40adbff9ab812e47d85175c053
|
|
|
|
- name: shstk
|
|
buildsystem: simple
|
|
build-commands:
|
|
- mkdir -p _build && cd _build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/app -DINSTALL_DIR=/app -DLOCAL=1 -DSHSTKPROJECT=1 -DROOT_DIR=/run/build/shstk -DUTILS=OFF -DDESIGNER_PLUGINS=OFF -DQGLVIEW=OFF -DQGLENGINE=OFF -DICU=OFF && ninja && ninja install
|
|
- for f in /app/lib/*.so*; do patchelf --set-rpath /app/lib "$f" 2>/dev/null || true; done
|
|
sources:
|
|
- type: dir
|
|
path: /home/andrey/work/shstk
|
|
cleanup: []
|
|
|
|
- name: @TARGET_NAME@
|
|
buildsystem: simple
|
|
build-commands:
|
|
- mkdir -p _build && cd _build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/app/cmake/flatpak-toolchain.cmake -DPIP_DIR=/app -DQAD_DIR=/app -DBUILD_STAND=OFF -DBUILD_BSM=OFF -DBUILD_TSS=OFF -DPIP_CMG=/app/bin/pip_cmg -DPIP_RC=/app/bin/pip_rc -DPIP_TR=/app/bin/pip_tr -DPIP_DEPLOY_TOOL=/app/bin/deploy_tool && ninja && mkdir -p /app/bin /app/bin/lang /app/bin/uds_scripts && cp -f gui/AWRCANFlasherGUI /app/bin/ && cp -f core/awrcanflasher /app/bin/ && cp -f gui/qt5/*.qm /app/bin/lang/ 2>/dev/null || true && cp -rf ../uds_scripts/* /app/bin/uds_scripts/ 2>/dev/null || true
|
|
sources:
|
|
- type: dir
|
|
path: @SOURCE_DIR@/..
|