-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.freedesktop.LinuxAudio.Plugins.Dexed.json
87 lines (87 loc) · 3.42 KB
/
org.freedesktop.LinuxAudio.Plugins.Dexed.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
{
"id": "org.freedesktop.LinuxAudio.Plugins.Dexed",
"branch": "21.08",
"runtime": "org.freedesktop.LinuxAudio.BaseExtension",
"runtime-version": "21.08",
"sdk": "org.freedesktop.Sdk//21.08",
"build-extension": true,
"appstream-compose": false,
"build-options": {
"prefix": "/app/extensions/Plugins/Dexed",
"prepend-path": "/app/extensions/Plugins/Dexed/bin"
},
"modules": [
{
"name": "dexed-vst3",
"buildsystem": "simple",
"build-commands": [
"sed -e s/arm64/aarch64/g -i assets/JUCE/extras/Build/CMake/juce_runtime_arch_detection.cpp assets/JUCE/extras/Projucer/JuceLibraryCode/BinaryData.cpp",
"(cd assets/JUCE/extras/Projucer/Builds/LinuxMakefile/ && make)",
"assets/JUCE/extras/Projucer/Builds/LinuxMakefile/build/Projucer --resave Dexed.jucer",
"sed -e \"s|Contents/x86_64-linux|Contents/`uname -m`-linux|g\" -i ./Builds/Linux/Makefile",
"(cd Builds/Linux && make CONFIG=Release VST3)"
],
"build-options": {
"env": {
"PREFIX": "${FLATPAK_DEST}"
}
},
"post-install": [
"install -d ${FLATPAK_DEST}/vst3",
"cp -R Builds/Linux/build/Dexed.vst3 ${FLATPAK_DEST}/vst3",
"strip --strip-unneeded ${FLATPAK_DEST}/vst3/Dexed.vst3/Contents/*/Dexed.so"
],
"sources": [
{
"type": "git",
"url": "https://github.com/asb2m10/dexed.git",
"tag": "v0.9.6"
},
{
"type": "git",
"url": "https://github.com/juce-framework/JUCE.git",
"tag": "6.0.7",
"dest": "assets/JUCE"
},
{
"type": "patch",
"path": "dexed-juce.patch"
}
]
},
{
"name": "dexed",
"buildsystem": "simple",
"build-commands": [
"make -C Builds/Linux VST"
],
"build-options": {
"env": {
"PREFIX": "${FLATPAK_DEST}"
}
},
"post-install": [
"ln -sf vst $FLATPAK_DEST/lxvst",
"install -Dm755 -t ${FLATPAK_DEST}/vst Builds/Linux/build/Dexed.so",
"strip ${FLATPAK_DEST}/vst/Dexed.so",
"install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.freedesktop.LinuxAudio.Plugins.Dexed.metainfo.xml",
"appstream-compose --basename=org.freedesktop.LinuxAudio.Plugins.Dexed --prefix=${FLATPAK_DEST} --origin=flatpak org.freedesktop.LinuxAudio.Plugins.Dexed"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/asb2m10/dexed/archive/v0.9.4hf1.tar.gz",
"sha256": "31fad32d7111c9f7c25047a53f4b5aa9a685e573ec7892212aa21d4704312713"
},
{
"type": "patch",
"path": "dexed-fixes.patch"
},
{
"type": "file",
"path": "org.freedesktop.LinuxAudio.Plugins.Dexed.metainfo.xml"
}
]
}
]
}