{ "id": "com.github.huluti.Curtail", "runtime": "org.gnome.Platform", "runtime-version": "48", "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-stable" ], "command": "curtail", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=dri", "--filesystem=home" ], "modules": [ { "name": "jpegoptim", "sources": [ { "type": "archive", "url": "https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.5.tar.gz", "sha256": "90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38", "x-checker-data": { "type": "anitya", "project-id": 1472, "url-template": "https://github.com/tjko/jpegoptim/archive/refs/tags/v$version.tar.gz" } } ] }, { "name": "gccfix", "buildsystem": "simple", "build-commands": [ "ln -s /usr/bin/gcc /app/bin/aarch64-linux-gnu-gcc" ], "cleanup": [ "*" ] }, { "name": "oxipng", "buildsystem": "simple", "build-commands": [ "cargo --offline fetch --manifest-path Cargo.toml --verbose", "cargo --offline build --release --verbose", "install -Dm 755 target/release/oxipng -t /app/bin" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin", "env": { "CARGO_HOME": "/run/build/oxipng/cargo" } }, "sources": [ { "type": "archive", "url": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v9.1.4.tar.gz", "sha256": "90c5e32c556c49e8fb2170f281586e87f7619fd574b4ccf1bc76e2f6819bba77", "x-checker-data": { "type": "anitya", "project-id": 209796, "url-template": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v$version.tar.gz" } }, "oxipng-sources.json" ] }, { "name": "pngquant", "buildsystem": "simple", "build-commands": [ "cargo --offline fetch --manifest-path Cargo.toml --verbose", "cargo --offline build --release --verbose", "install -Dm 755 target/release/pngquant -t /app/bin" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin", "env": { "CARGO_HOME": "/run/build/pngquant/cargo" } }, "sources": [ { "type": "git", "url": "https://github.com/kornelski/pngquant.git", "tag": "3.0.3", "commit": "53a332a58f44357b6b41842a54d74aa1e245913d", "x-checker-data": { "type": "git", "tag-pattern": "^([\\d.]+)$" } }, "pngquant-sources.json" ] }, "python3-scour.json", { "name": "curtail", "buildsystem": "meson", "sources": [ { "type": "git", "url": "https://github.com/Huluti/Curtail", "tag": "1.12.0", "commit": "e158739686cc0ef92e30da6f3693143d0c06f5cf" } ] } ] }