blob: d6948f90659ee4a5b541d778aee895e4cf120cc9 (
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
|
# 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=r7534.969e3d855
pkgrel=1
pkgdesc="ossia score, an interactive sequencer for the intermedia arts (git master)"
arch=('x86_64')
url="https://ossia.io"
license=('GPLv3')
depends=('boost' 'qt5-base' 'qt5-imageformats' 'qt5-svg' 'qt5-websockets' 'qt5-quickcontrols2' 'qt5-serialport' 'qt5-multimedia' 'qt5-declarative' 'ffmpeg' 'portaudio' 'jack')
makedepends=('git' 'cmake' 'qt5-tools' 'clang' 'lld')
optdepends=('faust' 'lilv' 'suil' 'sdl2')
provides=('ossia-score-git')
conflicts=('ossia-score')
replaces=('i-score')
source=('git+https://github.com/OSSIA/score.git'
"git+https://github.com/OSSIA/libossia"
"git+https://github.com/avilleret/CicmWrapper.git"
"git+https://github.com/Microsoft/GSL"
"git+https://github.com/jcelerier/RtMidi17"
"git+https://github.com/jcelerier/Servus"
"git+https://github.com/jcelerier/SmallFunction"
"git+https://github.com/chriskohlhoff/asio"
"git+https://github.com/ClaasBontus/bitset2"
"git+https://github.com/edouarda/brigand"
"git+https://github.com/Chobolabs/chobo-shl"
"git+https://github.com/cameron314/concurrentqueue"
"git+https://github.com/ArashPartow/exprtk"
"git+https://github.com/jcelerier/flat"
"git+https://github.com/jcelerier/flat_hash_map"
"git+https://github.com/fmtlib/fmt"
"git+https://github.com/serge-sans-paille/frozen"
"git+https://github.com/tessil/hopscotch-map.git"
"git+https://github.com/jcelerier/jni.hpp"
"git+https://github.com/jcelerier/libartnet"
"git+https://github.com/Cycling74/max-sdk.git"
"git+https://github.com/jcelerier/multi_index"
"git+https://github.com/jcelerier/nano-signal-slot"
"git+https://github.com/jcelerier/oscpack"
"git+https://github.com/pure-data/pure-data.git"
"git+https://github.com/pybind/pybind11"
"git+https://github.com/wjakob/clang-cindex-python3"
"git+https://github.com/miloyip/rapidjson"
"git+https://github.com/google/googletest.git"
"git+https://github.com/cameron314/readerwriterqueue"
"git+https://github.com/gabime/spdlog"
"git+https://github.com/jcelerier/tbb"
"git+https://github.com/eggs-cpp/variant"
"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/Velron/doxygen-bootstrapped"
"git+https://github.com/jcelerier/QProgressIndicator"
"git+https://github.com/jcelerier/Qt-Color-Widgets.git"
"git+https://github.com/jcelerier/phantomstyle.git"
"git+https://anongit.kde.org/scratch/mart/desktopqqc2style.git"
"git+https://github.com/jcelerier/rubberband.git"
"git+https://github.com/jcelerier/libsamplerate.git"
"git+https://github.com/OculusVR/Flicks.git"
)
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'
)
_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/libossia.url $srcdir/libossia
git config submodule.Documentation/Doxygen/doxygen-bootstrapped.url $srcdir/doxygen-bootstrapped
git config submodule.src/3rdparty/phantomstyle.url $srcdir/phantomstyle
git config submodule.src/lib/3rdparty/QProgressIndicator.url $srcdir/QProgressIndicator
git config submodule.src/lib/3rdparty/Qt-Color-Widgets.url $srcdir/Qt-Color-Widgets
git config submodule.src/lib/resources/desktopqqc2style.url $srcdir/desktopqqc2style
(
cd 3rdparty/libossia
git config submodule.3rdparty/CicmWrapper.url $srcdir/CicmWrapper
git config submodule.3rdparty/GSL.url $srcdir/GSL
git config submodule.3rdparty/RtMidi17.url $srcdir/RtMidi17
git config submodule.3rdparty/Servus.url $srcdir/Servus
git config submodule.3rdparty/SmallFunction.url $srcdir/SmallFunction
git config submodule.3rdparty/asio.url $srcdir/asio
git config submodule.3rdparty/bitset2.url $srcdir/bitset2
git config submodule.3rdparty/brigand.url $srcdir/brigand
git config submodule.3rdparty/chobo-shl.url $srcdir/chobo-shl
git config submodule.3rdparty/concurrentqueue.url $srcdir/concurrentqueue
git config submodule.3rdparty/exprtk.url $srcdir/exprtk
git config submodule.3rdparty/flat.url $srcdir/flat
git config submodule.3rdparty/flat_hash_map.url $srcdir/flat_hash_map
git config submodule.3rdparty/fmt.url $srcdir/fmt
git config submodule.3rdparty/frozen.url $srcdir/frozen
git config submodule.3rdparty/hopscotch-map.url $srcdir/hopscotch-map
git config submodule.3rdparty/jni_hpp.url $srcdir/jni.hpp
git config submodule.3rdparty/libartnet.url $srcdir/libartnet
git config submodule.3rdparty/max-sdk.url $srcdir/max-sdk
git config submodule.3rdparty/multi_index.url $srcdir/multi_index
git config submodule.3rdparty/nano-signal-slot.url $srcdir/nano-signal-slot
git config submodule.3rdparty/oscpack.url $srcdir/oscpack
git config submodule.3rdparty/pure-data.url $srcdir/pure-data
git config submodule.3rdparty/pybind11.url $srcdir/pybind11
git config submodule.3rdparty/rapidjson.url $srcdir/rapidjson
git config submodule.3rdparty/readerwriterqueue.url $srcdir/readerwriterqueue
git config submodule.3rdparty/spdlog.url $srcdir/spdlog
git config submodule.3rdparty/tbb.url $srcdir/tbb
git config submodule.3rdparty/variant.url $srcdir/variant
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.3rdparty/libsamplerate.url $srcdir/libsamplerate
git config submodule.3rdparty/rubberband.url $srcdir/rubberband
git config submodule.3rdparty/Flicks.url $srcdir/Flicks
git config submodule.CMake/cmake-modules.url $srcdir/cmake-modules
)
git checkout musical2
git submodule update --init --recursive
mkdir -p "$srcdir/build"
cd "$srcdir/build"
cmake -Wno-dev \
-DCMAKE_CXX_COMPILER=clang++ \
-DSCORE_CONFIGURATION=static-release \
-DDEPLOYMENT_BUILD=1 \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-DOSSIA_USE_FAST_LINKER=1 \
"$srcdir/$_gitname"
cmake --build . --target all_unity
}
package() {
cd "$srcdir/build"
cmake -DCMAKE_INSTALL_DO_STRIP=1 -DCOMPONENT=OssiaScore -P cmake_install.cmake
install -D -m644 "$srcdir/$_gitname/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|