-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdev.skillless.Scanline.json
More file actions
40 lines (40 loc) · 1.5 KB
/
dev.skillless.Scanline.json
File metadata and controls
40 lines (40 loc) · 1.5 KB
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
{
"app-id": "dev.skillless.Scanline",
"runtime": "org.gnome.Platform",
"runtime-version": "50",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.golang"],
"command": "scanline",
"finish-args": [
"--share=network",
"--share=ipc",
"--socket=wayland",
"--socket=fallback-x11",
"--socket=pulseaudio",
"--device=dri"
],
"cleanup": ["/include", "/lib/pkgconfig"],
"modules": [
{
"name": "scanline",
"buildsystem": "simple",
"build-commands": [
"bash -c '. /usr/lib/sdk/golang/enable.sh && ([ -f vendor/modules.txt ] || go mod vendor)'",
"bash -c '. /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go install -v -mod=vendor -trimpath -ldflags=\"-w -s\" .'",
"desktop-file-install --dir=/app/share/applications assets/meta/$FLATPAK_ID.desktop",
"install -D -m 0644 assets/meta/$FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
"install -D -m 0644 assets/icons/app.svg /app/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg",
"install -D -m 0644 assets/icons/app-symbolic.svg /app/share/icons/hicolor/symbolic/apps/$FLATPAK_ID-symbolic.svg",
"install -D -m 0644 assets/meta/$FLATPAK_ID.gschema.xml /app/share/glib-2.0/schemas/$FLATPAK_ID.gschema.xml",
"glib-compile-schemas /app/share/glib-2.0/schemas"
],
"sources": [
{
"type": "dir",
"path": "."
},
"assets/meta/go.mod.yml"
]
}
]
}