{ "app-id": "io.github.dinopathtream.TripleWrapper", "runtime": "org.gnome.Platform", "runtime-version": "50", "sdk": "org.gnome.Sdk", "command": "triplewrapper-gui", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-stable" ], "finish-args": [ "--share=ipc", "--socket=wayland", "--socket=fallback-x11", "--device=dri", "--filesystem=xdg-documents:rw", "--filesystem=xdg-download:rw", "--filesystem=xdg-run/media:rw", "--filesystem=xdg-run/mount:rw", "--filesystem=/mnt:rw", "--filesystem=/media:rw", "--talk-name=org.freedesktop.UDisks2" ], "cleanup": [ "/include", "/lib/pkgconfig", "/man", "/share/doc", "/share/gtk-doc", "/share/man", "/share/pkgconfig", "*.la", "*.a", "__pycache__", "*.pyc", "*.pyo" ], "build-options": { "env": { "PYTHONPATH": "/app/lib/python3.13/site-packages" } }, "modules": [ { "name": "7zip", "buildsystem": "simple", "build-commands": [ "make -C CPP/7zip/Bundles/Alone2 -f makefile.gcc -j$FLATPAK_BUILDER_N_JOBS CFLAGS_WARN=-Wno-error=array-bounds", "install -Dm755 CPP/7zip/Bundles/Alone2/_o/7zz /app/bin/7zz", "ln -s 7zz /app/bin/7z", "install -Dm644 DOC/License.txt DOC/copying.txt DOC/unRarLicense.txt -t /app/share/licenses/io.github.dinopathtream.TripleWrapper/7zip/" ], "sources": [ { "type": "archive", "url": "https://github.com/ip7z/7zip/archive/refs/tags/24.09.tar.gz", "archive-type": "tar-gzip", "sha256": "e4757b307925227724a2044651193664ba3d04e9ac13b8e631f1667896014bbf", "strip-components": 1 } ] }, { "name": "pixz", "buildsystem": "simple", "build-commands": [ "./configure --prefix=/app", "make -j$FLATPAK_BUILDER_N_JOBS", "make install", "install -Dm644 LICENSE -t /app/share/licenses/io.github.dinopathtream.TripleWrapper/pixz/" ], "sources": [ { "type": "archive", "url": "https://github.com/vasi/pixz/releases/download/v1.0.7/pixz-1.0.7.tar.gz", "archive-type": "tar-gzip", "sha256": "d1b6de1c0399e54cbd18321b8091bbffef6d209ec136d4466f398689f62c3b5f", "strip-components": 1 } ] }, { "name": "triplewrapper-core", "buildsystem": "simple", "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin", "env": { "CARGO_HOME": "/run/build/triplewrapper-core/cargo", "CARGO_NET_OFFLINE": "true" } }, "build-commands": [ "cargo --offline fetch --manifest-path src/core/Cargo.toml", "cargo build --offline --release --manifest-path src/core/Cargo.toml", "install -Dm755 src/core/target/release/triplewrapper-core /app/bin/triplewrapper-core", "install -Dm644 LICENSE -t /app/share/licenses/io.github.dinopathtream.TripleWrapper/triplewrapper-core/" ], "sources": [ { "type": "git", "url": "https://github.com/DinoPathTeam/TripleWrapper.git", "tag": "v1.0" }, "cargo-sources.json", { "type": "shell", "commands": [ "mkdir -p .cargo", "cp -vf cargo/config .cargo/config.toml" ] } ] }, { "name": "triplewrapper-gui", "buildsystem": "meson", "config-opts": [ "--prefix=/app" ], "sources": [ { "type": "git", "url": "https://github.com/DinoPathTeam/TripleWrapper.git", "tag": "v1.0" } ] } ] }