{ "id": "com.github.huluti.Curtail", "runtime": "org.gnome.Platform", "runtime-version": "44", "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.3.tar.gz", "sha256": "2600d1c84cee714b69d88944c0b90f93ef3eac7010c96dadabf32ea90d67e33e" } ] }, { "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" } }, "cleanup": [ "*" ], "sources": [ { "type": "archive", "url": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v8.0.0.tar.gz", "sha256": "ef96d6340e70900de0a38ace8f5f20878f6c256b18b0c59cd87f2b515437b87b" }, "oxipng-sources.json" ] }, { "name": "pngquant", "sources": [ { "type": "archive", "url": "http://pngquant.org/pngquant-2.18.0-src.tar.gz", "sha256": "e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4" } ] }, { "name": "libwebp", "sources": [ { "type": "archive", "url": "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.0.tar.gz", "sha256": "64ac4614db292ae8c5aa26de0295bf1623dbb3985054cb656c55e67431def17c" } ] }, "python3-scour.json", { "name": "curtail", "builddir": true, "buildsystem": "meson", "sources": [ { "type": "git", "url": "https://github.com/Huluti/Curtail" } ] } ] }