-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.giadamusic.Giada.json
131 lines (131 loc) · 4.13 KB
/
com.giadamusic.Giada.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
{
"id": "com.giadamusic.Giada",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "giada",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--device=all",
"--filesystem=xdg-run/pipewire-0",
"--filesystem=home",
"--env=TMPDIR=/var/tmp"
],
"add-extensions": {
"org.freedesktop.LinuxAudio.Plugins": {
"directory": "extensions/Plugins",
"version": "24.08",
"add-ld-path": "lib",
"merge-dirs": "vst3;lv2",
"subdirectories": true,
"no-autodownload": true
}
},
"modules": [
{
"name": "rtmidi",
"cleanup": [
"/include",
"/lib/pkgconfig",
"*.la",
"*.a",
"*.so"
],
"sources": [
{
"type": "archive",
"url": "http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-5.0.0.tar.gz",
"sha256": "48db0ed58c8c0e207b5d7327a0210b5bcaeb50e26387935d02829239b0f3c2b9"
}
]
},
{
"name": "fmt",
"buildsystem": "cmake-ninja",
"cleanup": [
"/bin",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/share",
"*.a"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/fmtlib/fmt/releases/download/10.0.0/fmt-10.0.0.zip",
"sha256": "4943cb165f3f587f26da834d3056ee8733c397e024145ca7d2a8a96bb71ac281"
}
]
},
{
"name": "jsoncpp",
"buildsystem": "cmake-ninja",
"cleanup": [
"/include",
"/share"
],
"sources": [
{
"type": "git",
"url": "https://github.com/nlohmann/json.git",
"tag": "v3.11.2",
"commit": "bc889afb4c5bf1c0d8ee29ef35eaaf4c8bef8a5d"
},
{
"type": "patch",
"paths": [
"patches/jsoncpp-gcc13.patch",
"patches/jsoncpp-gcc13-2.patch"
]
}
]
},
"shared-modules/glu/glu-9.json",
{
"name": "giada",
"buildsystem": "cmake",
"builddir": true,
"cleanup": [
"/include",
"/bin/JUCE-*",
"/lib/cmake"
],
"config-opts": [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
"-DWITH_VST3=ON"
],
"post-install": [
"desktop-file-edit --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"mv /app/bin/giada{,.bin}",
"install -Dm755 ../giada.sh /app/bin/giada",
"install -d /app/extensions/Plugins"
],
"sources": [
{
"type": "archive",
"url": "https://www.giadamusic.com/data/giada-1.1.0-src.tar.gz",
"sha256": "0230972a4bf2f13519468724f520d0406475d34772b3b4533d897b8fe38f381e"
},
{
"type": "patch",
"paths": [
"patches/giada-fs.patch",
"patches/giada-path.patch",
"patches/giada-appdata.patch"
]
},
{
"type": "script",
"dest-filename": "giada.sh",
"commands": [
"export LV2_PATH=/app/extensions/Plugins/lv2:/app/lib/lv2:$HOME/.lv2",
"exec giada.bin \"$@\""
]
}
]
}
]
}