Skip to content

Commit a01758b

Browse files
committed
Install jc1013 plugin (TB103 emulator) from prebuilt binaries.
1 parent 5ca7aac commit a01758b

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

scripts/recipes/install_jc103.sh

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# jc103
4+
5+
cd $ZYNTHIAN_SW_DIR/plugins
6+
7+
if [ -d "jc103" ]; then
8+
rm -rf jc103
9+
fi
10+
11+
git clone --recursive https://github.com/midilab/jc303.git
12+
cd jc303
13+
cmake -B build
14+
cmake --build build --config Release
15+
mv ./build/JC303_artefacts/LV2/JC303.lv2 $ZYNTHIAN_PLUGINS_DIR/lv2
16+
17+
cd ..
18+
rm -rf jc103
19+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
BASE_URL_DOWNLOAD="https://os.zynthian.org/plugins/aarch64"
4+
5+
cd $ZYNTHIAN_PLUGINS_DIR/lv2
6+
7+
wget "$BASE_URL_DOWNLOAD/jc103.lv2.tar.xz"
8+
tar xfv "jc103.lv2.tar.xz"
9+
rm -f "jc103.lv2.tar.xz"

scripts/update_zynthian_recipes.sh

+6
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,12 @@ if [[ "$current_patchlevel" < "$patchlevel" ]]; then
573573
$ZYNTHIAN_RECIPE_DIR/install_lv2_jalv_asyncli.sh
574574
fi
575575

576+
patchlevel="20241222.1"
577+
if [[ "$current_patchlevel" < "$patchlevel" ]]; then
578+
echo "Applying patch $patchlevel ..."
579+
$ZYNTHIAN_RECIPE_DIR/install_jc103_prebuilt.sh
580+
fi
581+
576582
# -----------------------------------------------------------------------------
577583
# End of patches section
578584
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)