From 734a58cc07caa336d5726f52e5830cabe760ccde Mon Sep 17 00:00:00 2001 From: Yann Collette Date: Sat, 9 Nov 2024 20:33:49 +0100 Subject: [PATCH] various fixes for 5.1.1 --- yabridge/yabridge-PR316.patch | 26 ++++++++++++++++++++++ yabridge/yabridge.spec | 41 ++++++++++++++++++++++++++++++----- 2 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 yabridge/yabridge-PR316.patch diff --git a/yabridge/yabridge-PR316.patch b/yabridge/yabridge-PR316.patch new file mode 100644 index 00000000..9af3f981 --- /dev/null +++ b/yabridge/yabridge-PR316.patch @@ -0,0 +1,26 @@ +From 5c4b100dd4180325369f1f80a92576ac55d138d9 Mon Sep 17 00:00:00 2001 +From: Yann Collette +Date: Fri, 8 Nov 2024 22:17:13 +0100 +Subject: [PATCH] fix main + +--- + tools/yabridgectl/src/main.rs | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs +index e66ef0d..6897260 100644 +--- a/tools/yabridgectl/src/main.rs ++++ b/tools/yabridgectl/src/main.rs +@@ -148,7 +148,8 @@ fn main() -> Result<()> { + "Automatically locate yabridge's files. This can be used after \ + manually setting a path with the '--path' option to revert back to \ + the default auto detection behaviour.", +- ), ++ ) ++ .action(ArgAction::SetTrue), + ) + .arg( + Arg::new("vst2_location") +-- +2.47.0 + diff --git a/yabridge/yabridge.spec b/yabridge/yabridge.spec index 3e8f80ca..b5fb7a7d 100644 --- a/yabridge/yabridge.spec +++ b/yabridge/yabridge.spec @@ -6,9 +6,17 @@ %global debug_package %{nil} %define _lto_cflags %{nil} +# For the test: +# Set the folder in witch it create the linux usable plugins +# $ yabridgectl set --path= +# After ad your folders with vst or vst3 plugins, how many you want +# $ yabridgectl add +# Run a sync to create files +# $ yabridgectl sync + Name: yabridge Version: 5.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A modern and transparent way to use Windows VST2 and VST3 plugins on Linux License: GPL-2.0-or-later URL: https://github.com/robbert-vdh/yabridge @@ -18,6 +26,7 @@ Vendor: Audinux Distribution: Audinux Source0: https://github.com/robbert-vdh/yabridge/archive/refs/tags/%{version}.tar.gz#/yabridge-%{version}.tar.gz +Patch0: yabridge-PR316.patch BuildRequires: gcc gcc-c++ BuildRequires: meson @@ -41,8 +50,22 @@ BuildRequires: libxcb-devel(x86-32) BuildRequires: wine-devel(x86-32) BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel(x86-32) -BuildRequires: mingw32-gcc-c++ -BuildRequires: mingw64-gcc-c++ +BuildRequires: asio-devel + +Requires: python3 +Requires: wine +Requires: boost +Requires: boost-filesystem +Requires: boost-system +Requires: libxcb +Requires: libXau + +Requires: wine(x86-32) +Requires: glibc(x86-32) +Requires: libgcc(x86-32) +Requires: libstdc++(x86-32) +Requires: libxcb(x86-32) +Requires: libXau(x86-32) %description Yet Another way to use Windows VST plugins on Linux. @@ -56,7 +79,7 @@ allows yabridge to be both fast and highly compatible, while also staying easy to debug and maintain. %prep -%autosetup -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} %build @@ -71,7 +94,9 @@ export CXXFLAGS="-include cstdint $CXXFLAGS" %if 0%{?fedora} >= 38 -Dcpp_arg="-include cstdint $CXXFLAGS" \ %endif - -Dbitbridge=true + -Dbitbridge=true \ + -Dclap=true \ + -Dvst3=true %meson_build @@ -87,6 +112,9 @@ install -dm755 %{buildroot}%{_libdir}/ install %{_vpath_builddir}/yabridge-host.exe %{buildroot}%{_bindir}/ install %{_vpath_builddir}/yabridge-host.exe.so %{buildroot}%{_bindir}/ +install %{_vpath_builddir}/yabridge-host-32.exe %{buildroot}%{_bindir}/ +install %{_vpath_builddir}/yabridge-host-32.exe.so %{buildroot}%{_bindir}/ + install %{_vpath_builddir}/libyabridge-vst2.so %{buildroot}%{_libdir}/ install %{_vpath_builddir}/libyabridge-chainloader-vst2.so %{buildroot}%{_libdir}/ @@ -106,6 +134,9 @@ install tools/yabridgectl/target/release/yabridgectl %{buildroot}%{_bindir}/ %{_libdir}/* %changelog +* Fri Nov 08 2024 Yann Collette - 5.1.1-7 +- update to 5.1.1-7 - fix requires and add missing binary. Add a Yabridgectl patch. + * Tue Nov 05 2024 Yann Collette - 5.1.1-6 - update to 5.1.1-6