{ "id": "org.codeberg.dimkard.glossaico", "runtime": "org.kde.Platform", "runtime-version": "5.15-22.08", "sdk": "org.kde.Sdk", "sdk-extensions": ["org.freedesktop.Sdk.Extension.llvm14"], "add-extensions": { "org.freedesktop.Sdk.Extension.llvm14": { "no-autodownload": "false", "version": "22.08" } }, "command": "glossaico", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=dri", "--share=network", "--socket=pulseaudio", "--env=PATH=/app/bin:/usr/bin:/usr/lib/sdk/llvm14/bin" ], "modules": [ { "name": "PySide2", "buildsystem": "cmake-ninja", "builddir": true, "build-options": { "prepend-path": "/usr/lib/sdk/llvm14/bin", "prepend-ld-library-path": "/usr/lib/sdk/llvm14/lib" }, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DBUILD_TESTS=OFF" ], "sources": [ { "type": "archive", "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.6-src/pyside-setup-opensource-src-5.15.6.tar.xz", "sha256": "171ee058d056599b8e9e8605fe3dae5dabdab7764285b21b28f64760a0f6779d" }, { "type": "patch", "path": "fix_machinery.patch" }, { "type": "patch", "path": "arm-gles2.patch" }, { "type": "shell", "commands": [ "mkdir -p /app/include/qt5tmp && cp -R /usr/include/Qt* /app/include/qt5tmp # https://bugreports.qt.io/broswse/PYSIDE-787", "sed -i 's|--include-paths=|--include-paths=/app/include/qt5tmp:|' sources/pyside2/cmake/Macros/PySideModules.cmake" ] } ] }, { "name": "Cython", "buildsystem" : "simple", "build-commands" : [ "python3 setup.py install --prefix=/app --root=/" ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/4c/76/1e41fbb365ad20b6efab2e61b0f4751518444c953b390f9b2d36cf97eea0/Cython-0.29.32.tar.gz", "sha256": "8733cf4758b79304f2a4e39ebfac5e92341bce47bcceb26c1254398b2f8c1af7" } ] }, { "name": "libyaml", "sources": [ { "type": "archive", "url": "https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz", "sha256": "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" } ] }, { "name": "pyyaml", "buildsystem": "simple", "build-commands": [ "python3 setup.py --with-libyaml build", "python3 setup.py install --prefix=/app --root=/" ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz", "sha256": "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e" } ] }, "python3-requests.json", "python3-python-slugify.json", "python3-librelingo_types.json", "python3-librelingo_utils.json", "python3-librelingo_yaml_loader.json", "python3-librelingo_audios.json", "python3-SQLAlchemy.json", "python3-Babel.json", { "name": "glossaico", "buildsystem" : "simple", "build-commands" : [ "python3 setup.py build", "python3 setup.py install --prefix=/app --root=/" ], "sources": [ { "type": "archive", "url": "https://codeberg.org/dimkard/glossaico/archive/v1.2.tar.gz", "sha256": "e42325b619ec6e5d27f7b6782e10cb98aaa3bfd2a8c0678da9cfc8ade6ad7bc4" }, { "type": "patch", "path": "fix-flatpak-translations.patch" } ] } ] }