Skip to content

Commit

Permalink
various fixes for 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ycollet committed Nov 9, 2024
1 parent f0ce8f2 commit 734a58c
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 5 deletions.
26 changes: 26 additions & 0 deletions yabridge/yabridge-PR316.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 5c4b100dd4180325369f1f80a92576ac55d138d9 Mon Sep 17 00:00:00 2001
From: Yann Collette <ycollette.nospam@free.fr>
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

41 changes: 36 additions & 5 deletions yabridge/yabridge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path>
# After ad your folders with vst or vst3 plugins, how many you want
# $ yabridgectl add <vst_folder>
# 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
Expand All @@ -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
Expand All @@ -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.
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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}/

Expand All @@ -106,6 +134,9 @@ install tools/yabridgectl/target/release/yabridgectl %{buildroot}%{_bindir}/
%{_libdir}/*

%changelog
* Fri Nov 08 2024 Yann Collette <ycollette.nospam@free.fr> - 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 <ycollette.nospam@free.fr> - 5.1.1-6
- update to 5.1.1-6

Expand Down

0 comments on commit 734a58c

Please sign in to comment.