forked from Huluti/Curtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.huluti.Curtail.json
94 lines (94 loc) · 3.12 KB
/
com.github.huluti.Curtail.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"id": "com.github.huluti.Curtail",
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"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",
"--env=GDK_PIXBUF_MODULE_FILE=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
],
"modules": [
{
"name": "jpegoptim",
"sources": [
{
"type": "archive",
"url": "https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.5.tar.gz",
"sha256": "90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38"
}
]
},
{
"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.0.0.tar.gz",
"sha256": "534fa8f349f52b01c2ee4332cef25ce1311edca04209ac6d972e38b171550a1b"
},
"oxipng-sources.json"
]
},
{
"name": "pngquant",
"sources": [
{
"type": "archive",
"url": "http://pngquant.org/pngquant-2.18.0-src.tar.gz",
"sha256": "e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4"
}
]
},
"python3-scour.json",
{
"name": "webp-pixbuf-loader",
"buildsystem": "meson",
"config-opts":[
"-Dgdk_pixbuf_moduledir=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/aruiz/webp-pixbuf-loader.git",
"tag": "0.2.4",
"commit": "a35014104a226265e44fe30fcdb4df9305af3466"
}
],
"post-install": [
"GDK_PIXBUF_MODULEDIR=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders/ gdk-pixbuf-query-loaders > /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache",
"gdk-pixbuf-query-loaders >> /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
]
},
{
"name": "curtail",
"builddir": true,
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://github.com/Huluti/Curtail"
}
]
}
]
}