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:
Martin Bångens 2022-12-29 07:03:44 +01:00 committed by Willy Sudiarto Raharjo
parent ab8260533e
commit 6ea4e6a62f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 29 additions and 54 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yabridge
VERSION=${VERSION:-5.0.2}
VERSION=${VERSION:-5.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -56,8 +56,6 @@ WINE_IN_PATH=$?
which wine64 &>/dev/null
WINE64_IN_PATH=$?
WINE_VERSION=$(wine --version | grep --only-matching -E '[0-9]+\.[0-9]+' | head -n1)
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
if (($WINE_IN_PATH)); then
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
cp -a /usr/include/vst3sdk/* 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) ));
then
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
meson setup \
build \
--cross-file=cross-wine.conf \
--buildtype=release \
--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 \
--wrap-mode=nodownload \
-Dbitbridge=true \
-Dsystem-asio=true
else
echo "Unsupported architecture"
fi
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
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
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
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
echo "Unsupported architecture"
fi
# Build yabridge

View file

@ -1,8 +1,10 @@
PRGNAM="yabridge"
VERSION="5.0.2"
VERSION="5.0.3"
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"
MD5SUM="0aab2b2e7dbbd3e1afc314b47f1406de 5fa1a66a84dac91a4460006c28d10705"
DOWNLOAD="https://github.com/robbert-vdh/yabridge/archive/5.0.3/yabridge-5.0.3.tar.gz \
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=""
MD5SUM_x86_64=""
REQUIRES="%README% wine-staging asio bitsery function2 ghc_filesystem tomlplusplus vst3sdk clap"