Add Carla-libdir.patch
This commit is contained in:
parent
53c695bf13
commit
ab06e02207
|
@ -0,0 +1,36 @@
|
||||||
|
--- source/frontend/carla_shared.py.orig 2021-06-15 09:18:19.464824018 +0200
|
||||||
|
+++ source/frontend/carla_shared.py 2021-06-15 09:20:09.863816347 +0200
|
||||||
|
@@ -444,27 +444,27 @@
|
||||||
|
splitter = ":"
|
||||||
|
|
||||||
|
DEFAULT_LADSPA_PATH = HOME + "/.ladspa"
|
||||||
|
- DEFAULT_LADSPA_PATH += ":/usr/lib/ladspa"
|
||||||
|
+ DEFAULT_LADSPA_PATH += ":/usr/lib64/ladspa"
|
||||||
|
DEFAULT_LADSPA_PATH += ":/usr/local/lib/ladspa"
|
||||||
|
|
||||||
|
DEFAULT_DSSI_PATH = HOME + "/.dssi"
|
||||||
|
- DEFAULT_DSSI_PATH += ":/usr/lib/dssi"
|
||||||
|
+ DEFAULT_DSSI_PATH += ":/usr/lib64/dssi"
|
||||||
|
DEFAULT_DSSI_PATH += ":/usr/local/lib/dssi"
|
||||||
|
|
||||||
|
DEFAULT_LV2_PATH = HOME + "/.lv2"
|
||||||
|
- DEFAULT_LV2_PATH += ":/usr/lib/lv2"
|
||||||
|
+ DEFAULT_LV2_PATH += ":/usr/lib64/lv2"
|
||||||
|
DEFAULT_LV2_PATH += ":/usr/local/lib/lv2"
|
||||||
|
|
||||||
|
DEFAULT_VST2_PATH = HOME + "/.vst"
|
||||||
|
- DEFAULT_VST2_PATH += ":/usr/lib/vst"
|
||||||
|
+ DEFAULT_VST2_PATH += ":/usr/lib64/vst"
|
||||||
|
DEFAULT_VST2_PATH += ":/usr/local/lib/vst"
|
||||||
|
|
||||||
|
DEFAULT_VST2_PATH += HOME + "/.lxvst"
|
||||||
|
- DEFAULT_VST2_PATH += ":/usr/lib/lxvst"
|
||||||
|
+ DEFAULT_VST2_PATH += ":/usr/lib64/lxvst"
|
||||||
|
DEFAULT_VST2_PATH += ":/usr/local/lib/lxvst"
|
||||||
|
|
||||||
|
DEFAULT_VST3_PATH = HOME + "/.vst3"
|
||||||
|
- DEFAULT_VST3_PATH += ":/usr/lib/vst3"
|
||||||
|
+ DEFAULT_VST3_PATH += ":/usr/lib64/vst3"
|
||||||
|
DEFAULT_VST3_PATH += ":/usr/local/lib/vst3"
|
||||||
|
|
||||||
|
DEFAULT_SF2_PATH = HOME + "/.sounds/sf2"
|
13
Carla.spec
13
Carla.spec
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: Carla
|
Name: Carla
|
||||||
Version: 2.3.0
|
Version: 2.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Audio plugin host
|
Summary: Audio plugin host
|
||||||
|
|
||||||
# The entire source code is GPLv2+ except
|
# The entire source code is GPLv2+ except
|
||||||
|
@ -52,7 +52,9 @@ License: GPLv2+ and BSD and Boost and ISC and MIT and zlib
|
||||||
URL: https://github.com/falkTX/Carla
|
URL: https://github.com/falkTX/Carla
|
||||||
Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: carla.appdata.xml
|
Source1: carla.appdata.xml
|
||||||
Patch0: Carla-gcc11-include.patch
|
Patch0: %{name}-gcc11-include.patch
|
||||||
|
# https://github.com/falkTX/Carla/issues/1444
|
||||||
|
Patch1: %{name}-libdir.patch
|
||||||
|
|
||||||
#ExcludeArch: ppc64le
|
#ExcludeArch: ppc64le
|
||||||
|
|
||||||
|
@ -73,7 +75,7 @@ BuildRequires: python3-magic
|
||||||
BuildRequires: pkgconfig(liblo)
|
BuildRequires: pkgconfig(liblo)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: /usr/bin/appstream-util
|
BuildRequires: /usr/bin/appstream-util
|
||||||
BuildRequires: /usr/bin/desktop-file-validate
|
BuildRequires: /usr/bin/desktop-file-validate
|
||||||
Requires: python3-qt5
|
Requires: python3-qt5
|
||||||
|
@ -140,7 +142,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
This package contains the Carla LV2 plugin.
|
This package contains the Carla LV2 plugin.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p 0 -n %{name}-%{version}
|
%autosetup -p0 -n %{name}-%{version}
|
||||||
|
|
||||||
# remove windows stuff
|
# remove windows stuff
|
||||||
rm -rf data/{macos,windows}
|
rm -rf data/{macos,windows}
|
||||||
|
@ -224,6 +226,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{pname}.
|
||||||
%{_libdir}/pkgconfig/%{pname}-host-plugin.pc
|
%{_libdir}/pkgconfig/%{pname}-host-plugin.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 15 2021 Martin Gansser <martinkg@fedoraproject.org> - 1:2.3.0-3
|
||||||
|
- Add Carla-libdir.patch
|
||||||
|
|
||||||
* Wed May 26 2021 Jan Beran <jaberan@redhat.com> - 1:2.3.0-2
|
* Wed May 26 2021 Jan Beran <jaberan@redhat.com> - 1:2.3.0-2
|
||||||
- Add carla.appdata.xml file
|
- Add carla.appdata.xml file
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue