app-id: org.flozz.yoga-image-optimizer runtime: org.freedesktop.Platform runtime-version: "25.08" sdk: org.freedesktop.Sdk command: yoga-image-optimizer finish-args: - --share=ipc - --socket=fallback-x11 - --socket=wayland - --filesystem=host modules: - name: yoga-image-optimizer buildsystem: simple build-commands: # Build locales - ./build-locales.py # Build and install some packages at first - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "setuptools" --no-build-isolation - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "cffi" --no-build-isolation - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "scmver" --no-build-isolation - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "meson-python" --no-build-isolation - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "pycairo" --no-build-isolation # Build and install YOGA Image Optimizer itself - CXXFLAGS=-Wno-error pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix="${FLATPAK_DEST}" "." --no-build-isolation - ./linuxpkg/copy-data.sh ${FLATPAK_DEST} sources: - dependencies.json - type: file path: ./build-locales.py - type: git url: "https://github.com/flozz/yoga-image-optimizer.git" tag: v1.2.4 commit: 6b61a29f08def515847a79e19d66397562c07253