-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathio.github.Cockatrice.cockatrice.json
76 lines (76 loc) · 2.48 KB
/
io.github.Cockatrice.cockatrice.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
{
"app-id": "io.github.Cockatrice.cockatrice",
"runtime": "org.kde.Platform",
"runtime-version": "6.8",
"sdk": "org.kde.Sdk",
"command": "cockatrice",
"rename-desktop-file": "cockatrice.desktop",
"rename-icon": "cockatrice",
"copy-icon": true,
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--filesystem=home"
],
"cleanup": [
"*.la",
"*.a",
"/include",
"/lib/cmake",
"/lib/pkgconfig"
],
"modules": [
{
"name": "protobuf",
"buildsystem": "cmake-ninja",
"cleanup": [
"protoc",
"/bin",
"/doc",
"/lib/plugins"
],
"sources": [
{
"type": "git",
"url": "https://github.com/protocolbuffers/protobuf.git",
"tag": "v29.3",
"commit": "b407e8416e3893036aee5af9a12bd9b6a0e2b2e6",
"x-checker-data": {
"type": "git",
"tag-pattern": "^v([\\d.]+)$"
}
}
]
},
{
"name": "cockatrice",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DBUILD_SHARED_LIBS:BOOL=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/Cockatrice/Cockatrice.git",
"tag": "2025-02-10-Release-2.10.0",
"commit": "18ac4c2bd498eb88ad3e4aee21e7b655abd5b6ec",
"x-checker-data": {
"type": "git",
"tag-pattern": "^([\\d-]+Release-[\\d.]+)$",
"is-main-source": true
}
},
{
"type": "file",
"path": "io.github.Cockatrice.cockatrice.metainfo.xml"
}
],
"post-install": [
"install -Dm644 io.github.Cockatrice.cockatrice.metainfo.xml -t /app/share/metainfo",
"for size in 64 128 256 512; do rsvg-convert -w $size -h $size -f png -o $size.png /app/share/icons/hicolor/scalable/apps/cockatrice.svg; install -Dm644 $size.png /app/share/icons/hicolor/${size}x${size}/apps/cockatrice.png; done"
]
}
]
}