-
Notifications
You must be signed in to change notification settings - Fork 8
/
com.github.subhadeepjasu.ensembles.yml
193 lines (187 loc) · 5.98 KB
/
com.github.subhadeepjasu.ensembles.yml
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
app-id: com.github.subhadeepjasu.ensembles
runtime: io.elementary.Platform
runtime-version: '6.1'
sdk: io.elementary.Sdk
command: com.github.subhadeepjasu.ensembles
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
- '--socket=pulseaudio'
- '--device=all'
- '--filesystem=home'
# Required for system wide dark style preference
- '--system-talk-name=org.freedesktop.Accounts'
# Required for media keys and MPRIS access
- '--own-name=org.mpris.MediaPlayer2.com.github.subhadeepjasu.ensembles'
- '--talk-name=org.gnome.SettingsDaemon.MediaKeys'
# For PipeWire
- '--filesystem=xdg-run/pipewire-0'
modules:
# Adds support for lv2 virtual instruments and effects plugins
- name: lv2
buildsystem: simple
cleanup:
- /bin
- /include
- /pkgconfig
- /share
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST --lv2dir=$FLATPAK_DEST/lib/lv2 --copy-headers
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
sources:
- type: archive
url: https://lv2plug.in/spec/lv2-1.18.2.tar.bz2
sha256: 4e891fbc744c05855beb5dfa82e822b14917dd66e98f82b8230dbd1c7ab2e05e
post-install:
- install -Dm644 -t $FLATPAK_DEST/share/licenses/lv2 COPYING
- ln -sf lv2.pc $FLATPAK_DEST/lib/pkgconfig/lv2core.pc
# Allows Ensembles to act as a lv2 host
- name: lilv
buildsystem: simple
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
modules:
- name: serd
buildsystem: simple
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
sources:
- type: archive
url: https://download.drobilla.net/serd-0.30.10.tar.bz2
sha256: affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf
post-install:
- install -Dm644 -t /app/share/licenses/serd COPYING
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
- name: sord
buildsystem: simple
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
sources:
- type: archive
url: https://download.drobilla.net/sord-0.16.8.tar.bz2
sha256: 7c289d2eaabf82fa6ac219107ce632d704672dcfb966e1a7ff0bbc4ce93f5e14
post-install:
- install -Dm644 -t /app/share/licenses/sord COPYING
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
- name: sratom
buildsystem: simple
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
sources:
- type: archive
url: https://download.drobilla.net/sratom-0.6.8.tar.bz2
sha256: 3acb32b1adc5a2b7facdade2e0818bcd6c71f23f84a1ebc17815bb7a0d2d02df
post-install:
- install -Dm644 -t /app/share/licenses/sratom COPYING
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
url: https://download.drobilla.net/lilv-0.24.12.tar.bz2
sha256: 26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061
post-install:
- install -Dm644 -t /app/share/licenses/lilv COPYING
cleanup:
- /bin
- /etc
- /lib/pkgconfig
- /share/man
- name: suil
buildsystem: simple
build-commands:
- python3 ./waf configure --prefix=$FLATPAK_DEST
- python3 ./waf build -j $FLATPAK_BUILDER_N_JOBS
- python3 ./waf install
sources:
- type: archive
url: http://download.drobilla.net/suil-0.10.10.tar.bz2
sha256: 750f08e6b7dc941a5e694c484aab02f69af5aa90edcc9fb2ffb4fb45f1574bfb
post-install:
- install -Dm644 -t /app/share/licenses/suil COPYING
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
# Synthesizer backend
# - name: fluidsynth
# buildsystem: cmake-ninja
# config-opts:
# - -DLIB_SUFFIX=
# cleanup:
# - /bin
# - /include
# - /lib/pkgconfig
# - /share/man
# - '*.so'
# sources:
# - type: archive
# url: https://github.com/FluidSynth/fluidsynth/archive/v2.2.4.tar.gz
# sha256: 83cb1dba04c632ede74f0c0717018b062c0e00b639722203b23f77a961afd390
- name: fluidsynth
buildsystem: cmake-ninja
config-opts:
- -DLIB_SUFFIX=
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
- '*.so'
- '*.a'
sources:
- type: git
url: https://github.com/FluidSynth/fluidsynth
# MIDI controller support
- name: portmidi
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/app/lib
- -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=/app/lib
- -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/app/bin
post-install:
- ln -s libportmidi.so /app/lib/libporttime.so
sources:
- type: archive
url: https://sourceforge.net/projects/portmedia/files/portmidi/217/portmidi-src-217.zip
sha256: 08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f
- type: patch
path: patches/portmidi-no-java.patch
cleanup:
- /bin
- /lib/pkgconfig
- /include
- '*.a'
- '*.la'
# The app itself
- name: ensembles
buildsystem: meson
sources:
- type: dir
path: .
# Adds default soundfont
- name: ensemblesGMSoundfonts
buildsystem: meson
sources:
- type: archive
url: https://gitlab.com/SubhadeepJasu/ensemblesgmsoundfont/-/archive/v0.0.3/ensemblesgmsoundfont-v0.0.3.tar.gz
sha256: 0b5ecca24623dabc9ea546c49cc25ebb3f419d6b61c035c603133a1032a4f2bc