blob: e218f4dab6710e3667262ca04e0782d1e411382f (
plain)
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
|
# Maintainer: Jean-Michaƫl Celerier <jeanmichael.celerier at gmail dot com>
# Useful commands :
# git submodule foreach --recursive --quiet 'git remote -v' | grep origin | grep -v push | awk '{ print "\"git+" $2 "\"" }'
# git submodule foreach --quiet 'module=$(echo $name | rev | cut -d"/" -f1 | rev) ; echo "git config submodule.$path.url \$srcdir/$module"'
# printf "'SKIP'%.0s\n" {1..43}
pkgname=ossia-score-git
pkgver=r10688.9e6c07768
pkgrel=1
pkgdesc="ossia score, an interactive sequencer for the intermedia arts (git master)"
arch=('x86_64')
url="https://ossia.io"
license=('GPLv3')
depends=('clang' 'qt6-base' 'qt6-imageformats' 'qt6-svg' 'qt6-websockets' 'qt6-serialport' 'qt6-declarative' 'qt6-scxml' 'qt6-shadertools' 'ffmpeg' 'portaudio' 'jack')
makedepends=('git' 'cmake' 'lld' 'boost')
optdepends=('pipewire' 'faust' 'lilv' 'suil' 'lv2' 'sdl2' 'libfreenect2' 'ysfx-git' 'leap-motion-sdk' 'leap-motion-driver')
provides=('ossia-score-git')
conflicts=('ossia-score')
replaces=('i-score')
source=(
"git+https://github.com/jcelerier/Aether.git"
"git+https://github.com/jcelerier/DSPFilters"
"git+https://github.com/LancePutnam/Gamma"
"git+https://github.com/jcelerier/Gist"
"git+https://github.com/jcelerier/QCodeEditor"
"git+https://github.com/jcelerier/QProgressIndicator"
"git+https://github.com/jcelerier/Qt-Color-Widgets.git"
"git+https://github.com/jcelerier/Syphon-Framework"
"git+https://github.com/celtera/avendish"
"git+https://github.com/Vidvox/hap"
"git+https://github.com/ossia/libossia"
"git+https://github.com/ossia/score"
"git+https://github.com/catchorg/Catch2"
"git+https://github.com/OculusVR/Flicks"
"git+https://github.com/Reputeless/PerlinNoise"
"git+https://github.com/jcelerier/Servus"
"git+https://github.com/jcelerier/dnssd"
"git+https://github.com/jcelerier/SmallFunction"
"git+https://github.com/hanickadot/compile-time-regular-expressions"
"git+https://github.com/jcelerier/concurrentqueue"
"git+https://github.com/thibaudk/dno"
"git+https://github.com/mackron/dr_libs"
"git+https://github.com/dr-soft/miniaudio.git"
"git+https://github.com/ArashPartow/exprtk"
"git+https://github.com/fmtlib/fmt"
"git+https://github.com/avilleret/ios-cmake.git"
"git+https://github.com/jcelerier/kfr"
"git+https://github.com/jcelerier/libartnet"
"git+https://github.com/jcelerier/libremidi"
"git+https://github.com/jcelerier/libsamplerate"
"git+https://github.com/kokkos/mdspan"
"git+https://github.com/jcelerier/nano-signal-slot"
"git+https://github.com/jcelerier/oscpack"
"git+https://github.com/pybind/pybind11"
"git+https://github.com/avaneev/r8brain-free-src"
"git+https://github.com/maxbachmann/rapidfuzz-cpp.git"
"git+https://github.com/miloyip/rapidjson"
"git+https://github.com/google/googletest.git"
"git+https://github.com/google/re2"
"git+https://github.com/cameron314/readerwriterqueue"
"git+https://github.com/jcelerier/rnd"
"git+https://github.com/jcelerier/rubberband/"
"git+https://github.com/tcbrindle/span"
"git+https://github.com/gabime/spdlog"
"git+https://github.com/jcelerier/tuplet"
"git+https://github.com/martinus/unordered_dense"
"git+https://github.com/jcelerier/verdigris"
"git+https://github.com/jcelerier/weakjack"
"git+https://github.com/jcelerier/websocketpp"
"git+https://github.com/gpakosz/whereami"
"git+https://github.com/OSSIA/wiiuse.git"
"git+https://github.com/OSSIA/cmake-modules"
"git+https://github.com/jcelerier/libpd"
"git+https://github.com/nettoyeurny/opensl_stream.git"
"git+https://github.com/jcelerier/pure-data.git"
"git+https://github.com/jcelerier/libsndfile"
"git+https://github.com/ned14/llfio.git"
"git+https://github.com/ned14/ntkernel-error-category.git"
"git+https://github.com/jcelerier/magicitems"
"git+https://github.com/microsoft/mimalloc"
"git+https://github.com/ned14/outcome.git"
"git+https://github.com/ned14/boostdoc.git"
"git+https://github.com/ned14/hugo-theme-docdock.git"
"git+https://github.com/ned14/status-code.git"
"git+https://github.com/jcelerier/phantomstyle"
"git+https://github.com/ned14/quickcpplib.git"
"git+https://github.com/martinmoene/byte-lite.git"
"git+https://github.com/martinmoene/gsl-lite.git"
"git+https://github.com/akrzemi1/Optional.git"
"git+https://github.com/ned14/pcpp.git"
"git+https://github.com/ned14/ply.git"
"git+https://gitlab.com/sat-metalab/shmdata"
"git+https://github.com/jcelerier/snappy"
"git+https://github.com/google/benchmark.git"
"git+https://github.com/google/googletest.git"
"git+https://github.com/steinbergmedia/vst3_base"
"git+https://github.com/jcelerier/vst3_cmake"
"git+https://github.com/jcelerier/vst3_pluginterfaces"
"git+https://github.com/jcelerier/vst3_public_sdk"
"git+https://github.com/jcelerier/zipdownloader"
"git+https://github.com/Velron/doxygen-bootstrapped"
)
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
_gitname=score
pkgver() {
cd "$srcdir/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_gitname"
git config submodule.3rdparty/Aether.url $srcdir/Aether
git config submodule.3rdparty/DSPFilters.url $srcdir/DSPFilters
git config submodule.3rdparty/Gamma.url $srcdir/Gamma
git config submodule.3rdparty/Gist.url $srcdir/Gist
git config submodule.3rdparty/QCodeEditor.url $srcdir/QCodeEditor
git config submodule.3rdparty/QProgressIndicator.url $srcdir/QProgressIndicator
git config submodule.3rdparty/Qt-Color-Widgets.url $srcdir/Qt-Color-Widgets
git config submodule.3rdparty/Syphon-Framework.url $srcdir/Syphon-Framework
git config submodule.3rdparty/avendish.url $srcdir/avendish
git config submodule.3rdparty/hap.url $srcdir/hap
git config submodule.3rdparty/libossia.url $srcdir/libossia
git config submodule.3rdparty/libpd.url $srcdir/libpd
git config submodule.3rdparty/libsndfile.url $srcdir/libsndfile
git config submodule.3rdparty/llfio.url $srcdir/llfio
git config submodule.3rdparty/magicitems.url $srcdir/magicitems
git config submodule.3rdparty/mimalloc.url $srcdir/mimalloc
git config submodule.3rdparty/outcome.url $srcdir/outcome
git config submodule.3rdparty/phantomstyle.url $srcdir/phantomstyle
git config submodule.3rdparty/quickcpplib.url $srcdir/quickcpplib
git config submodule.3rdparty/shmdata.url $srcdir/shmdata
git config submodule.3rdparty/snappy.url $srcdir/snappy
git config submodule.3rdparty/vst3/base.url $srcdir/vst3_base
git config submodule.3rdparty/vst3/cmake.url $srcdir/vst3_cmake
git config submodule.3rdparty/vst3/pluginterfaces.url $srcdir/vst3_pluginterfaces
git config submodule.3rdparty/vst3/public.sdk.url $srcdir/vst3_public_sdk
git config submodule.3rdparty/zipdownloader.url $srcdir/zipdownloader
git config submodule.docs/Doxygen/doxygen-bootstrapped.url $srcdir/doxygen-bootstrapped
(
cd 3rdparty/outcome
git config submodule.include/outcome/experimental/status-code.url $srcdir/status-code
)
(
cd 3rdparty/quickcpplib
git config submodule.include/quickcpplib/byte.url $srcdir/byte
git config submodule.include/quickcpplib/gsl-lite.url $srcdir/gsl-lite
git config submodule.include/quickcpplib/optional.url $srcdir/optional
git config submodule.pcpp.url $srcdir/pcpp
)
(
cd 3rdparty/llfio
git config submodule.include/llfio/ntkernel-error-category.url $srcdir/ntkernel-error-category
)
(
cd 3rdparty/libossia
git config submodule.3rdparty/Catch2.url $srcdir/Catch2
git config submodule.3rdparty/Flicks.url $srcdir/Flicks
git config submodule.3rdparty/PerlinNoise.url $srcdir/PerlinNoise
git config submodule.3rdparty/Servus.url $srcdir/Servus
git config submodule.3rdparty/SmallFunction.url $srcdir/SmallFunction
git config submodule.3rdparty/compile-time-regular-expressions.url $srcdir/compile-time-regular-expressions
git config submodule.3rdparty/concurrentqueue.url $srcdir/concurrentqueue
git config submodule.3rdparty/dno.url $srcdir/dno
git config submodule.3rdparty/dr_libs.url $srcdir/dr_libs
git config submodule.3rdparty/exprtk.url $srcdir/exprtk
git config submodule.3rdparty/fmt.url $srcdir/fmt
git config submodule.3rdparty/ios-cmake.url $srcdir/ios-cmake
git config submodule.3rdparty/kfr.url $srcdir/kfr
git config submodule.3rdparty/libartnet.url $srcdir/libartnet
git config submodule.3rdparty/libremidi.url $srcdir/libremidi
git config submodule.3rdparty/libsamplerate.url $srcdir/libsamplerate
git config submodule.3rdparty/mdspan.url $srcdir/mdspan
git config submodule.3rdparty/nano-signal-slot.url $srcdir/nano-signal-slot
git config submodule.3rdparty/oscpack.url $srcdir/oscpack
git config submodule.3rdparty/pybind11.url $srcdir/pybind11
git config submodule.3rdparty/r8brain-free-src.url $srcdir/r8brain-free-src
git config submodule.3rdparty/rapidfuzz-cpp.url $srcdir/rapidfuzz-cpp
git config submodule.3rdparty/rapidjson.url $srcdir/rapidjson
git config submodule.3rdparty/re2.url $srcdir/re2
git config submodule.3rdparty/readerwriterqueue.url $srcdir/readerwriterqueue
git config submodule.3rdparty/rnd.url $srcdir/rnd
git config submodule.3rdparty/rubberband.url $srcdir/rubberband
git config submodule.3rdparty/span.url $srcdir/span
git config submodule.3rdparty/spdlog.url $srcdir/spdlog
git config submodule.3rdparty/tuplet.url $srcdir/tuplet
git config submodule.3rdparty/unordered_dense.url $srcdir/unordered_dense
git config submodule.3rdparty/verdigris.url $srcdir/verdigris
git config submodule.3rdparty/weakjack.url $srcdir/weakjack
git config submodule.3rdparty/websocketpp.url $srcdir/websocketpp
git config submodule.3rdparty/whereami.url $srcdir/whereami
git config submodule.3rdparty/wiiuse.url $srcdir/wiiuse
git config submodule.cmake/cmake-modules.url $srcdir/cmake-modules
)
#git checkout master
#git submodule update --init --recursive
mkdir -p "$srcdir/build"
cd "$srcdir/build"
cmake -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_UNITY_BUILD=1 \
-DSCORE_PCH=0 \
-DSCORE_STATIC_PLUGINS=1 \
-DSCORE_FHS_BUILD=1 \
-DSCORE_DEPLOYMENT_BUILD=1 \
-DCMAKE_SKIP_RPATH=1 \
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
"$srcdir/$_gitname"
cmake --build .
}
package() {
cd "$srcdir/build"
cmake -DCMAKE_INSTALL_DO_STRIP=1 -DCOMPONENT=OssiaScore -P cmake_install.cmake
rm -rf "$pkgdir/usr/share/faust"
install -D -m644 "$srcdir/$_gitname/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|