-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.bespokesynth.BespokeSynth.json
107 lines (107 loc) · 3.68 KB
/
com.bespokesynth.BespokeSynth.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
{
"id": "com.bespokesynth.BespokeSynth",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"rename-desktop-file": "BespokeSynth.desktop",
"rename-icon": "bespoke_icon",
"command": "BespokeSynth",
"finish-args": [
"--share=ipc",
"--device=all",
"--socket=x11",
"--socket=pulseaudio",
"--filesystem=xdg-run/pipewire-0",
"--filesystem=home"
],
"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": [
"shared-modules/libusb/libusb.json",
{
"name": "youtube-dl",
"no-autogen": true,
"no-make-install": true,
"make-args": [
"youtube-dl",
"PYTHON=/usr/bin/python3"
],
"post-install": [
"install -Dm755 youtube-dl -t /app/bin"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl-2021.12.17.tar.gz",
"sha256": "9f3b99c8b778455165b4525f21505e86c7ff565f3ac319e19733d810194135df",
"x-checker-data": {
"type": "anitya",
"project-id": 5292,
"url-template": "https://github.com/ytdl-org/youtube-dl/releases/download/$version/youtube-dl-$version.tar.gz"
}
}
]
},
{
"name": "bespoke",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
],
"post-install": [
"install -d /app/extensions/Plugins",
"install -Dm644 com.bespokesynth.BespokeSynth.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/",
"mv /app/bin/BespokeSynth /app/bin/BespokeSynth.bin",
"install -Dm755 bespokesynth.sh /app/bin/BespokeSynth"
],
"sources": [
{
"type": "git",
"url": "https://github.com/BespokeSynth/BespokeSynth.git",
"tag": "v1.3.0",
"commit": "1d0f0429d9b56f1b120b0b95f0a173cc02787e53",
"x-checker-data": {
"type": "git",
"tag-pattern": "^v([\\d.]+)$"
}
},
{
"type": "patch",
"paths": [
"patches/bespoke-build-fixes.patch"
]
},
{
"type": "patch",
"paths": [
"patches/bespoke-juce-vst3-path.patch",
"patches/bespoke-juce-lv2-path.patch"
],
"options": [
"-d",
"libs/JUCE"
]
},
{
"type": "script",
"commands": [
"exec /app/bin/BespokeSynth.bin \"$@\""
],
"dest-filename": "bespokesynth.sh"
},
{
"type": "file",
"path": "com.bespokesynth.BespokeSynth.metainfo.xml"
}
]
}
]
}