/
org.tuxpaint.Tuxpaint.json
152 lines (151 loc) · 5.84 KB
/
org.tuxpaint.Tuxpaint.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"app-id": "org.tuxpaint.Tuxpaint",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"finish-args": [
"--device=dri",
"--filesystem=xdg-pictures/TuxPaint:create",
"--share=ipc",
"--socket=x11",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--persist=.tuxpaint"
],
"command": "tuxpaint",
"rename-desktop-file": "tuxpaint.desktop",
"rename-icon": "tuxpaint",
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"/share/gtk-doc",
"/share/man",
"*.la",
"*.a"
],
"modules": [
{
"name": "libpaper",
"config-opts": [
"--disable-static"
],
"cleanup": [
"/bin",
"/sbin"
],
"sources": [
{
"x-checker-data": {
"type": "anitya",
"project-id": 15136,
"url-template": "https://github.com/rrthomas/libpaper/releases/download/v${version}/libpaper-${version}.tar.gz"
},
"type": "archive",
"url": "https://github.com/rrthomas/libpaper/releases/download/v2.1.3/libpaper-2.1.3.tar.gz",
"sha256": "b798be7c52036e684a90a68f0be954f173fea87886f8a1d25c6514a279216f4a"
},
{
"type": "script",
"commands": [
"autoreconf -vfi"
],
"dest-filename": "autogen.sh"
}
]
},
"ImageMagick.json",
{
"name": "libimagequant",
"sources": [
{
"x-checker-data": {
"type": "anitya",
"project-id": 12768,
"//": "TODO: Version 4 is rewritten in Rust",
"versions": {
"<": "4.0.0"
},
"tag-template": "${version}"
},
"type": "git",
"url": "https://github.com/ImageOptim/libimagequant",
"tag": "2.18.0",
"commit": "caad5fb29bcc38a842addbac3c357becf3addf1e"
}
]
},
"SDL2_gfx.json",
"SDL2_Pango.json",
{
"name": "tuxpaint",
"no-autogen": true,
"no-parallel-make": true,
"make-args": [
"LDFLAGS=-L/app/lib",
"PREFIX=/app"
],
"make-install-args": [
"LDFLAGS=-L/app/lib",
"PREFIX=/app",
"ARCH_INSTALL=install-man install-importscript"
],
"sources": [
{
"x-checker-data": {
"is-main-source": true,
"type": "html",
"url": "https://sourceforge.net/projects/tuxpaint/rss?path=/tuxpaint",
"pattern": "(https://sourceforge.net/projects/tuxpaint/files/tuxpaint/(\\d+\\.\\d+\\.\\d+)/tuxpaint-\\2.tar.gz)"
},
"type": "archive",
"url": "https://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.32/tuxpaint-0.9.32.tar.gz",
"sha256": "09cce22241481dc1360fc4bc5d4da1d31815d7a2563b9e9fa217a672ba974bf2"
},
{
"type": "patch",
"paths": [
"Makefile-sdl2_gfx-pkgconfig.patch",
"appdata-Replace-named-display_length-with-constant-v.patch",
"appdata-Indicate-that-Tuxpaint-is-fully-offline.patch",
"appdata-Add-new-developer-tag.patch",
"Remove-trailing-period-from-translations-of-Tux-Pain.patch"
]
},
{
"type": "file",
"path": "tuxpaint.conf"
}
],
"post-install": [
"install -m644 -Dt /app/share/icons/hicolor/scalable/apps data/images/tuxpaint-icon.svg",
"for size in 192 128 96 64 48 32 22 16; do install -m644 -D data/images/icon${size}x${size}.png /app/share/icons/hicolor/${size}x${size}/apps/tuxpaint.png; done",
"desktop-file-edit --set-key=Keywords --set-value=tuxpaint src/tuxpaint.desktop",
"install -m644 -Dt /app/share/applications src/tuxpaint.desktop",
"install -m644 -Dt /app/share/metainfo src/org.tuxpaint.Tuxpaint.appdata.xml",
"install -m644 -Dt /app/etc/tuxpaint tuxpaint.conf"
]
},
{
"name": "tuxpaint-stamps",
"buildsystem": "simple",
"sources": [
{
"x-checker-data": {
"is-important": true,
"type": "html",
"url": "https://sourceforge.net/projects/tuxpaint/rss?path=/tuxpaint-stamps",
"pattern": "(https://sourceforge.net/projects/tuxpaint/files/tuxpaint-stamps/\\d{4}-\\d{2}-\\d{2}/tuxpaint-stamps-(\\d{4}\\.\\d{2}\\.\\d{2})\\.tar\\.gz)"
},
"type": "archive",
"url": "https://sourceforge.net/projects/tuxpaint/files/tuxpaint-stamps/2024-01-29/tuxpaint-stamps-2024.01.29.tar.gz",
"sha256": "1b0271f6da9a5fb23adb7b494183b9de289a02966d62c4cb430da9b4120594a9"
}
],
"build-commands": [
"make PREFIX=/app install-all"
]
}
]
}