mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-03 23:39:41 +00:00
Script updates.
This commit is contained in:
parent
f113c3ce61
commit
36e825cc4b
@ -1,28 +1,33 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p bin/lib/
|
||||||
|
mkdir -p bin/plugins/
|
||||||
|
pushd bin/plugins
|
||||||
|
rm lib 2> /dev/null
|
||||||
|
ln -s ../lib/
|
||||||
|
popd
|
||||||
|
|
||||||
PLATFORM=$(uname)
|
PLATFORM=$(uname)
|
||||||
if [[ "$PLATFORM" == 'Darwin' ]]; then
|
if [[ "$PLATFORM" == 'Darwin' ]]; then
|
||||||
echo "[stage-static-vendor-libraries] no-op on darwin. not required."
|
echo "[stage-static-vendor-libraries] no-op on darwin. not required."
|
||||||
exit 0
|
exit 0
|
||||||
|
elif [[ "$PLATFORM" == 'Linux' ]]; then
|
||||||
|
echo "[stage-static-vendor-libraries] staging linux libraries..."
|
||||||
|
cp vendor/boost-bin/lib/libboost_filesystem.so.1.78.0 ./bin/lib/
|
||||||
|
cp vendor/boost-bin/lib/libboost_thread.so.1.78.0 ./bin/lib/
|
||||||
|
cp vendor/ffmpeg-bin/lib/libavcodec-musikcube.so.59 ./bin/lib/
|
||||||
|
cp vendor/ffmpeg-bin/lib/libavformat-musikcube.so.59 ./bin/lib/
|
||||||
|
cp vendor/ffmpeg-bin/lib/libavutil-musikcube.so.57 ./bin/lib/
|
||||||
|
cp vendor/ffmpeg-bin/lib/libswresample-musikcube.so.4 ./bin/lib/
|
||||||
|
cp vendor/curl-bin/lib/libcurl.so.4 ./bin/lib/
|
||||||
|
|
||||||
|
cp /lib/x86_64-linux-gnu/libssl.so.1.1 ./bin/lib/
|
||||||
|
cp /lib/x86_64-linux-gnu/libcrypto.so.1.1 ./bin/lib/
|
||||||
|
cp /lib/x86_64-linux-gnu/libz.so.1 ./bin/lib/
|
||||||
|
cp /lib/x86_64-linux-gnu/libmp3lame.so.0 ./bin/lib/
|
||||||
|
cp /lib/x86_64-linux-gnu/libopenmpt.so.0 ./bin/lib
|
||||||
|
cp /lib/x86_64-linux-gnu/libmpg123.so.0 ./bin/lib
|
||||||
|
cp /lib/x86_64-linux-gnu/libvorbis.so.0 ./bin/lib
|
||||||
|
cp /lib/x86_64-linux-gnu/libvorbisfile.so.3 ./bin/lib
|
||||||
|
cp /lib/x86_64-linux-gnu/libogg.so.0 ./bin/lib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p bin/lib/
|
|
||||||
mkdir -p bin/plugins/
|
|
||||||
|
|
||||||
cp vendor/boost-bin/lib/libboost_filesystem.so.1.78.0 ./bin/lib/
|
|
||||||
cp vendor/boost-bin/lib/libboost_thread.so.1.78.0 ./bin/lib/
|
|
||||||
cp vendor/ffmpeg-bin/lib/libavcodec-musikcube.so.59 ./bin/lib/
|
|
||||||
cp vendor/ffmpeg-bin/lib/libavformat-musikcube.so.59 ./bin/lib/
|
|
||||||
cp vendor/ffmpeg-bin/lib/libavutil-musikcube.so.57 ./bin/lib/
|
|
||||||
cp vendor/ffmpeg-bin/lib/libswresample-musikcube.so.4 ./bin/lib/
|
|
||||||
cp vendor/curl-bin/lib/libcurl.so.4 ./bin/lib/
|
|
||||||
|
|
||||||
cp /lib/x86_64-linux-gnu/libssl.so.1.1 ./bin/lib/
|
|
||||||
cp /lib/x86_64-linux-gnu/libcrypto.so.1.1 ./bin/lib/
|
|
||||||
cp /lib/x86_64-linux-gnu/libz.so.1 ./bin/lib/
|
|
||||||
cp /lib/x86_64-linux-gnu/libmp3lame.so.0 ./bin/lib/
|
|
||||||
cp /lib/x86_64-linux-gnu/libopenmpt.so.0 ./bin/lib
|
|
||||||
cp /lib/x86_64-linux-gnu/libmpg123.so.0 ./bin/lib
|
|
||||||
cp /lib/x86_64-linux-gnu/libvorbis.so.0 ./bin/lib
|
|
||||||
cp /lib/x86_64-linux-gnu/libvorbisfile.so.3 ./bin/lib
|
|
||||||
cp /lib/x86_64-linux-gnu/libogg.so.0 ./bin/lib
|
|
||||||
|
Loading…
Reference in New Issue
Block a user