mirror of
https://github.com/Huluti/Curtail.git
synced 2024-09-11 14:16:12 +03:00
71 lines
2.2 KiB
JSON
71 lines
2.2 KiB
JSON
{
|
|
"id":"com.github.huluti.Curtail",
|
|
"runtime":"org.gnome.Platform",
|
|
"runtime-version":"46",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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.1.tar.gz",
|
|
"sha256":"f50db90c7ef95c0964dc980f6596b821f362e15d6d4bab247f1eb4aab7554db8"
|
|
},
|
|
"oxipng-sources.json"
|
|
]
|
|
},
|
|
{
|
|
"name":"pngquant",
|
|
"sources":[
|
|
{
|
|
"type":"archive",
|
|
"url":"http://pngquant.org/pngquant-2.18.0-src.tar.gz",
|
|
"sha256":"e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4"
|
|
}
|
|
]
|
|
},
|
|
"python3-scour.json"
|
|
]
|
|
} |