install_jackdmp 1.53 KB
Newer Older
sletz's avatar
sletz committed
1
2
# Install jackdmp and owerwrite jack installation

3
# Plug-ins
4
5
[ -d Panda.framework ] && sudo cp -r Panda.framework /Library/Frameworks
[ -d JackRouter.plugin ] && sudo cp -r JackRouter.plugin /Library/Audio/Plug-Ins/HAL/
sletz's avatar
sletz committed
6

7
# Copy libraries and exe
sletz's avatar
sletz committed
8
sudo cp -r Jackmp.framework /Library/Frameworks/  
sletz's avatar
sletz committed
9
sudo cp -r Jackservermp.framework /Library/Frameworks/   
sletz's avatar
sletz committed
10
sudo install -d /usr/local/bin 
sletz's avatar
sletz committed
11
sudo cp jackdmp /usr/local/bin  
sletz's avatar
sletz committed
12
13
[ -f jack_load ] && sudo cp jack_load /usr/local/bin 
[ -f jack_unload ] && sudo cp jack_unload /usr/local/bin 
sletz's avatar
sletz committed
14

15
# Copy drivers
sletz's avatar
sletz committed
16
17
18
sudo install -d  /usr/local/lib/jackmp 
sudo cp  jack_coreaudio.so  /usr/local/lib/jackmp 
sudo cp  jack_dummy.so  /usr/local/lib/jackmp
19
sudo cp  jack_loopback.so  /usr/local/lib/jackmp
20
[ -f jack_net.so ] && sudo cp jack_net.so /usr/local/lib/jackmp
sletz's avatar
sletz committed
21
22

# Copy tools
23
24
25
[ -f netmanager.so ] && sudo cp  netmanager.so /usr/local/lib/jackmp
[ -f netadapter.so ] && sudo cp  netadapter.so /usr/local/lib/jackmp
[ -f audioadapter.so ] && sudo cp  audioadapter.so /usr/local/lib/jackmp
sletz's avatar
sletz committed
26

27
# Create links to jackmp ressources
sletz's avatar
sletz committed
28
cd /usr/local/lib && [ -f libjack.0.dylib ] && sudo mv -f libjack.0.dylib tmp_libjack.0.dylib 
29
cd /usr/local/lib && [ -f jackd ] && sudo mv -f jackd tmp_jackd 
sletz's avatar
sletz committed
30
cd /usr/local/lib && [ -f libjack.dylib ] && sudo rm libjack.dylib
31
cd /usr/local/bin && [ -f jackd ] && sudo rm jackd
sletz's avatar
sletz committed
32
33
cd /usr/local/lib && sudo ln -s /Library/Frameworks/Jackmp.framework/Jackmp libjack.dylib
cd /usr/local/lib && sudo ln -s /Library/Frameworks/Jackmp.framework/Jackmp libjack.0.dylib
34
cd /usr/local/bin && sudo ln -s jackdmp jackd
sletz's avatar
sletz committed
35
36