mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
audio/yabridge: Updated for version 5.0.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ab8260533e
commit
6ea4e6a62f
2 changed files with 29 additions and 54 deletions
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=yabridge
|
PRGNAM=yabridge
|
||||||
VERSION=${VERSION:-5.0.2}
|
VERSION=${VERSION:-5.0.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -56,8 +56,6 @@ WINE_IN_PATH=$?
|
||||||
which wine64 &>/dev/null
|
which wine64 &>/dev/null
|
||||||
WINE64_IN_PATH=$?
|
WINE64_IN_PATH=$?
|
||||||
|
|
||||||
WINE_VERSION=$(wine --version | grep --only-matching -E '[0-9]+\.[0-9]+' | head -n1)
|
|
||||||
|
|
||||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
||||||
if (($WINE_IN_PATH)); then
|
if (($WINE_IN_PATH)); then
|
||||||
echo "This script look for wine in PATH and needs it for compiling and using yabridge on i586"
|
echo "This script look for wine in PATH and needs it for compiling and using yabridge on i586"
|
||||||
|
@ -98,55 +96,30 @@ sed -i "s|bitsery_dep = dependency('bitsery', 'Bitsery', version : '>=5.2.0')|bi
|
||||||
mkdir subprojects/vst3
|
mkdir subprojects/vst3
|
||||||
cp -a /usr/include/vst3sdk/* subprojects/vst3/
|
cp -a /usr/include/vst3sdk/* subprojects/vst3/
|
||||||
cp yabridge-html-docs-plus-build-files-$VERSION/meson.build subprojects/vst3
|
cp yabridge-html-docs-plus-build-files-$VERSION/meson.build subprojects/vst3
|
||||||
if (( $(echo "$WINE_VERSION >= 7.21" |bc -l) )) && (( $(echo "$WINE_VERSION < 7.23" |bc -l) ));
|
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
||||||
then
|
meson setup \
|
||||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
build \
|
||||||
meson setup \
|
--cross-file=cross-wine.conf \
|
||||||
build \
|
--buildtype=release \
|
||||||
--cross-file=cross-wine.conf \
|
--unity=on \
|
||||||
--buildtype=release \
|
--unity-size=1000 \
|
||||||
--wrap-mode=nodownload \
|
--wrap-mode=nodownload \
|
||||||
-Dbitbridge=true \
|
-Dbitbridge=true \
|
||||||
-Dsystem-asio=true \
|
-Dsystem-asio=true \
|
||||||
-Dbuild.cpp_args='-m32' \
|
-Dbuild.cpp_args='-m32' \
|
||||||
-Dbuild.cpp_link_args='-m32'
|
-Dbuild.cpp_link_args='-m32'
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
meson setup \
|
meson setup \
|
||||||
build \
|
build \
|
||||||
--cross-file=cross-wine.conf \
|
--cross-file=cross-wine.conf \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
--wrap-mode=nodownload \
|
--unity=on \
|
||||||
-Dbitbridge=true \
|
--unity-size=1000 \
|
||||||
-Dsystem-asio=true
|
--wrap-mode=nodownload \
|
||||||
else
|
-Dbitbridge=true \
|
||||||
echo "Unsupported architecture"
|
-Dsystem-asio=true
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
echo "Unsupported architecture"
|
||||||
meson setup \
|
|
||||||
build \
|
|
||||||
--cross-file=cross-wine.conf \
|
|
||||||
--buildtype=release \
|
|
||||||
--unity=on \
|
|
||||||
--unity-size=1000 \
|
|
||||||
--wrap-mode=nodownload \
|
|
||||||
-Dbitbridge=true \
|
|
||||||
-Dsystem-asio=true \
|
|
||||||
-Dbuild.cpp_args='-m32' \
|
|
||||||
-Dbuild.cpp_link_args='-m32'
|
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
|
||||||
meson setup \
|
|
||||||
build \
|
|
||||||
--cross-file=cross-wine.conf \
|
|
||||||
--buildtype=release \
|
|
||||||
--unity=on \
|
|
||||||
--unity-size=1000 \
|
|
||||||
--wrap-mode=nodownload \
|
|
||||||
-Dbitbridge=true \
|
|
||||||
-Dsystem-asio=true
|
|
||||||
else
|
|
||||||
echo "Unsupported architecture"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build yabridge
|
# Build yabridge
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="yabridge"
|
PRGNAM="yabridge"
|
||||||
VERSION="5.0.2"
|
VERSION="5.0.3"
|
||||||
HOMEPAGE="https://github.com/robbert-vdh/yabridge"
|
HOMEPAGE="https://github.com/robbert-vdh/yabridge"
|
||||||
DOWNLOAD="https://github.com/robbert-vdh/yabridge/archive/5.0.2/yabridge-5.0.2.tar.gz https://github.com/noisecode3/yabridge-html-docs-plus-build-files/archive/v5.0.2/yabridge-html-docs-plus-build-files-5.0.2.tar.gz"
|
DOWNLOAD="https://github.com/robbert-vdh/yabridge/archive/5.0.3/yabridge-5.0.3.tar.gz \
|
||||||
MD5SUM="0aab2b2e7dbbd3e1afc314b47f1406de 5fa1a66a84dac91a4460006c28d10705"
|
https://github.com/noisecode3/yabridge-html-docs-plus-build-files/archive/v5.0.3/yabridge-html-docs-plus-build-files-5.0.3.tar.gz"
|
||||||
|
MD5SUM="832eaf6d02e9e47cf56350e3138391e5 \
|
||||||
|
f3d357874ee1fd8a1503cdf8c88eab3f"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="%README% wine-staging asio bitsery function2 ghc_filesystem tomlplusplus vst3sdk clap"
|
REQUIRES="%README% wine-staging asio bitsery function2 ghc_filesystem tomlplusplus vst3sdk clap"
|
||||||
|
|
Loading…
Reference in a new issue