{ "app-id": "io.github.sauegetier.qtbooth", "runtime": "org.kde.Platform", "runtime-version": "6.8", "sdk": "org.kde.Sdk", "command": "qtbooth", "finish-args": [ "--share=ipc", "--share=network", "--device=all", "--filesystem=home", "--socket=wayland", "--socket=x11", "--env=LD_LIBRARY_PATH=/app/lib64:/app/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH" ], "modules": [ { "name": "opencv4", "buildsystem": "cmake", "builddir": true, "config-opts": [ "-DBUILD_TESTS=OFF", "-DBUILD_PERF_TESTS=OFF", "-DBUILD_DOCS=OFF", "-DCMAKE_INSTALL_PREFIX=/app", "-DBUILD_LIST=imgproc,imgcodecs", "-DOPENCV_GENERATE_PKGCONFIG=ON", "-DCMAKE_BUILD_TYPE=Release" ], "sources": [ { "type": "archive", "url": "https://github.com/opencv/opencv/archive/4.5.5.tar.gz", "sha256": "a1cfdcf6619387ca9e232687504da996aaa9f7b5689986b8331ec02cb61d28ad" } ] }, { "name": "onnxruntime", "buildsystem": "simple", "build-options": { "build-args": [ "--share=network" ] }, "build-commands": [ "mkdir -p ${FLATPAK_DEST}/include ${FLATPAK_DEST}/lib64", "cp -r include/* ${FLATPAK_DEST}/include", "cp -r lib/* ${FLATPAK_DEST}/lib64" ], "sources": [ { "type": "archive", "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.21.0/onnxruntime-linux-x64-1.21.0.tgz", "sha256": "7485c7e7aac6501b27e353dcbe068e45c61ab51fbaf598d13970dfae669d20bf" } ] }, { "name": "qtvirtualkeyboard", "buildsystem": "cmake", "config-opts": [ "-DCMAKE_INSTALL_PREFIX=/app", "-DCMAKE_BUILD_TYPE=Release" ], "sources": [ { "type": "archive", "url": "https://download.qt.io/official_releases/qt/6.8/6.8.0/submodules/qtvirtualkeyboard-everywhere-src-6.8.0.tar.xz", "sha256": "8f6502d7f40765fb4960b804927f9d86da39bdf42acc5021353c49527b6d0ce0" } ] }, { "name": "qtbooth", "buildsystem": "simple", "build-commands": [ "qmake CONFIG+=release QT_CONFIG+=no-pkg-config INCLUDEPATH+=/app/include/opencv4 LIBS+=-L/app/lib64 PREFIX=/app", "make -j $(nproc)", "make install" ], "sources": [ { "type": "dir", "path": "../" } ] } ] }