# Status: active # Tag: Rack, Tool # Type: Standalone # Category: Tool, Audio %global debug_package %{nil} Name: LinVst Version: 4.9 Release: 4%{?dist} Summary: Linux Windows vst wrapper/bridge License: GPL-3.0-only URL: https://github.com/osxmidi/linvst ExclusiveArch: x86_64 Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: linvst-0001-fix-path.patch BuildRequires: gcc-c++ BuildRequires: make BuildRequires: glibc-devel(x86-32) BuildRequires: gtk3-devel BuildRequires: libX11-devel BuildRequires: libX11-devel(x86-32) BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel(x86-32) BuildRequires: wine-devel BuildRequires: wine-devel(x86-32) Requires: wine Requires: wine(x86-32) Requires: python3 %description LinVst adds support for Windows vst's to be used in Linux vst capable DAW's. %prep %autosetup -p1 sed -i -e "s/LINK_WINE = .* -l/LINK_WINE = -L\/usr\/lib64\/wine -l/g" Makefile sed -i -e "s/LINK_WINE32 = .* -l/LINK_WINE32 = -L\/usr\/lib\/wine -l/g" Makefile sed -i -e "s/CXX_FLAGS =/CXX_FLAGS = -fPIC/g" Makefile-convert %build %set_build_flags export LDFLAGS="-lX11 -lrt $LDFLAGS" export CFLAGS="-fPIE $CFLAGS" export CXXDFLAGS="-fPIE $CXXFLAGS" # Makefile-64bitonly %make_build -f Makefile-64-32bit %make_build -f Makefile-convert %install %make_install -f Makefile-64-32bit %make_install -f Makefile-convert mkdir -p %{buildroot}/%{_datadir}/%{name}/ install -m 755 linvst.so %{buildroot}/%{_datadir}/%{name}/ mkdir -p %{buildroot}/%{_datadir}/%{name}/doc cp -ra Detailed-Guide %{buildroot}/%{_datadir}/%{name}/doc cp -ra Realtime-Audio-Config %{buildroot}/%{_datadir}/%{name}/doc mkdir -p %{buildroot}/%{_bindir}/ cp manage/linvstmanage-cli %{buildroot}/%{_bindir}/ mkdir -p %{buildroot}/%{_datadir}/%{name}/manage/ cp manage/linvstmanage.ini %{buildroot}/%{_datadir}/%{name}/manage/ cp manage/README.md %{buildroot}/%{_datadir}/%{name}/manage/ %files %license COPYING %doc README.md %{_bindir}/linvstconvert %{_bindir}/linvstmanage-cli %{_bindir}/lin-vst-server32.exe %{_bindir}/lin-vst-server32.exe.so %{_bindir}/lin-vst-server.exe %{_bindir}/lin-vst-server.exe.so %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/linvst.so %{_datadir}/%{name}/doc/* %{_datadir}/%{name}/manage/* %changelog * Thu Nov 14 2024 Yann Collette - 4.9-4 - update to version 4.9-4 - fix linvstmanage-cli * Wed Aug 09 2023 Yann Collette - 4.9-3 - update to version 4.9-3 * Thu Feb 09 2023 Yann Collette - 4.78-3 - update to version 4.78-3 - rebuild with wine 8. * Tue Dec 06 2022 Yann Collette - 4.78-2 - update to version 4.78-1 * Sun May 15 2022 Yann Collette - 4.77-1 - update to version 4.77-1 * Tue Aug 03 2021 Yann Collette - 4.76-1 - update to version 4.76-1 * Sun May 02 2021 Tony James - 4.2-1 - Initial build of LinVst 4.2