aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMartin BĂ„ngens <marbangens@gmail.com>2022-12-29 07:03:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:36 +0700
commit6ea4e6a62fa3377f84caf318852eed3d2a0c921f (patch)
tree8a3bfeeaed2ed377eb4c7e97b0a16ffb0c3eedac /audio
parentab8260533ebd1a1c5d1113844dfac63a55cf4676 (diff)
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>
Diffstat (limited to 'audio')
-rw-r--r--audio/yabridge/yabridge.SlackBuild75
-rw-r--r--audio/yabridge/yabridge.info8
2 files changed, 29 insertions, 54 deletions
diff --git a/audio/yabridge/yabridge.SlackBuild b/audio/yabridge/yabridge.SlackBuild
index 721c1ff54d9b..f32518798c27 100644
--- a/audio/yabridge/yabridge.SlackBuild
+++ b/audio/yabridge/yabridge.SlackBuild
@@ -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
diff --git a/audio/yabridge/yabridge.info b/audio/yabridge/yabridge.info
index df27b141765c..31fa07dc783c 100644
--- a/audio/yabridge/yabridge.info
+++ b/audio/yabridge/yabridge.info
@@ -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"