Skip to content

Commit

Permalink
fix ladspa search
Browse files Browse the repository at this point in the history
  • Loading branch information
ycollet committed Jul 22, 2024
1 parent b625575 commit ee3e3c7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
32 changes: 32 additions & 0 deletions rakarrack-plus/non-mixer-xt-0001-fix-ladspa-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From d1618e505cdff11e7133e100a86a66a83c8ffbc7 Mon Sep 17 00:00:00 2001
From: Yann Collette <ycollette.nospam@free.fr>
Date: Mon, 22 Jul 2024 17:02:00 +0200
Subject: [PATCH] fix ladspa path

---
mixer/src/ladspa/LADSPAInfo.C | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mixer/src/ladspa/LADSPAInfo.C b/mixer/src/ladspa/LADSPAInfo.C
index 0b1cf2e..61fe821 100644
--- a/mixer/src/ladspa/LADSPAInfo.C
+++ b/mixer/src/ladspa/LADSPAInfo.C
@@ -82,7 +82,7 @@ LADSPAInfo::RescanPlugins(void)
cerr << "WARNING: LADSPA_PATH environment variable not set" << endl;
cerr << " Assuming /usr/lib/ladspa:/usr/local/lib/ladspa" << endl;

- ScanPathList("/usr/lib/ladspa:/usr/local/lib/ladspa", &LADSPAInfo::ExaminePluginLibrary);
+ ScanPathList("/usr/lib64/ladspa:/usr/local/lib64/ladspa", &LADSPAInfo::ExaminePluginLibrary);
}
}

@@ -828,4 +828,4 @@ LADSPAInfo::GetDescriptorFunctionForLibrary(unsigned long library_index)
return desc_func;
}

-#endif // LADSPA_SUPPORT
\ No newline at end of file
+#endif // LADSPA_SUPPORT
--
2.45.2

10 changes: 5 additions & 5 deletions rakarrack-plus/non-mixer-xt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Summary: Reboot of Non Mixer with eXTended LV2 support.
Name: non-mixer-xt
Version: 2.0.2
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL-3.0-only
URL: https://github.com/Stazed/non-mixer-xt
ExclusiveArch: x86_64 aarch64
Expand All @@ -18,6 +18,7 @@ Distribution: Audinux

Source0: non-mixer-xt.tar.gz
Source1: source-non-mixer-xt.sh
Patch0: non-mixer-xt-0001-fix-ladspa-path.patch

BuildRequires: gcc gcc-c++
BuildRequires: cmake
Expand Down Expand Up @@ -52,7 +53,7 @@ The generic parameter editor has been redesigned to accommodate larger
LV2 plugins, preset support and state save and restore.

%prep
%autosetup -n %{name}
%autosetup -p1 -n %{name}

%build

Expand Down Expand Up @@ -90,10 +91,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/doc/non-mixer-xt/*

%changelog
* Sun Jul 21 2024 Yann Collette <ycollette dot nospam at free.fr> 2.0.2-3
* Sun Jul 21 2024 Yann Collette <ycollette dot nospam at free.fr> 2.0.2-4
- update to 2.0.2-4 - fix ladspa search path
- update to 2.0.2-3 - activate ladspa

* Sun Jul 21 2024 Yann Collette <ycollette dot nospam at free.fr> 2.0.2-2
- update to 2.0.2-2

* Thu Jul 04 2024 Yann Collette <ycollette dot nospam at free.fr> 2.0.1-2
Expand Down

0 comments on commit ee3e3c7

Please sign in to comment.