-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.github.waylyrics.Waylyrics.json
68 lines (68 loc) · 3.19 KB
/
io.github.waylyrics.Waylyrics.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
{
"app-id": "io.github.waylyrics.Waylyrics",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "waylyrics",
"finish-args": [
"--socket=wayland",
"--socket=fallback-x11",
"--device=dri",
"--share=ipc",
"--share=network",
"--talk-name=org.mpris.MediaPlayer2.*",
"--talk-name=org.kde.StatusNotifierWatcher"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "waylyrics",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/waylyrics/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"WAYLYRICS_THEME_PRESETS_DIR=/app/share/waylyrics/themes/ cargo --offline build --release --verbose",
"install -Dm755 ./target/release/waylyrics -t /app/bin/",
"install -Dm644 metainfo/io.github.waylyrics.Waylyrics.desktop -t /app/share/applications/",
"install -Dm644 metainfo/io.github.waylyrics.Waylyrics.gschema.xml -t /app/share/glib-2.0/schemas/",
"glib-compile-schemas /app/share/glib-2.0/schemas/",
"install -Dm644 themes/*.css -t /app/share/waylyrics/themes/",
"for locale in locales/*/LC_MESSAGES/waylyrics.po; do \n echo \"Installing locale ${locale}...\" \n mo=${locale/#locales//} \n mo=${mo/%.po/.mo} \n msgfmt ${locale} -o - | install -Dm644 /dev/stdin /app/share/locale/${mo} \n done",
"cp -r res/icons/ /app/share/",
"install -Dm644 io.github.waylyrics.Waylyrics.metainfo.xml -t /app/share/metainfo/"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/waylyrics/waylyrics/archive/refs/tags/v0.3.20.tar.gz",
"sha256": "b296aa4ac046db01d864ef7bf553abbf2168aebbcdae83df98dc348460b3ca4b",
"x-checker-data": {
"type": "anitya",
"project-id": 372139,
"url-template": "https://github.com/waylyrics/waylyrics/archive/refs/tags/v$version.tar.gz"
}
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/waylyrics/waylyrics/v0.3.20/metainfo/io.github.waylyrics.Waylyrics.metainfo.xml",
"sha256": "5314f9f1f05d706fb31370800c47290fff185ace0d7999944bd7fa60bd27ed50",
"x-checker-data": {
"type": "anitya",
"project-id": 372139,
"url-template": "https://raw.githubusercontent.com/waylyrics/waylyrics/v$version/metainfo/io.github.waylyrics.Waylyrics.metainfo.xml"
}
},
"cargo-sources.json"
]
}
]
}