]> git.pld-linux.org Git - packages/Carla.git/commitdiff
add /usr/share/soundfonts to default search paths
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 3 Feb 2018 22:00:04 +0000 (23:00 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 3 Feb 2018 22:00:04 +0000 (23:00 +0100)
Carla.spec
soundfonts_path.patch [new file with mode: 0644]

index 3cbb22a58998b399e51c03c8fbf1aa7504d74cdd..72186aeef0f3a04728cc220043094ac6712e943d 100644 (file)
@@ -12,6 +12,7 @@ Group:                Applications
 Source0:       https://github.com/falkTX/Carla/archive/%{tag}/%{name}-%{tag}.tar.gz
 # Source0-md5: 279acb33716327c82516d6edb8ff6d13
 Patch0:                pypkgdir.patch
+Patch1:                soundfonts_path.patch
 URL:           http://kxstudio.linuxaudio.org/Applications:Carla
 BuildRequires: Mesa-libGL-devel
 BuildRequires: Qt5Core-devel
@@ -60,6 +61,7 @@ Pliki nagłówkowe biblioteki %{name}.
 %setup -q -n %{name}-%{tag}
 
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -j1 \
diff --git a/soundfonts_path.patch b/soundfonts_path.patch
new file mode 100644 (file)
index 0000000..d11d8ae
--- /dev/null
@@ -0,0 +1,15 @@
+diff -dur -x '*~' Carla-1.9.8.orig/source/carla_shared.py Carla-1.9.8/source/carla_shared.py
+--- Carla-1.9.8.orig/source/carla_shared.py    2018-01-22 22:05:35.000000000 +0100
++++ Carla-1.9.8/source/carla_shared.py 2018-02-03 22:59:15.581089609 +0100
+@@ -425,9 +425,11 @@
+     DEFAULT_GIG_PATH    += ":/usr/share/sounds/gig"
+     DEFAULT_SF2_PATH     = HOME + "/.sounds/sf2"
++    DEFAULT_SF2_PATH    += ":/usr/share/soundfonts"
+     DEFAULT_SF2_PATH    += ":/usr/share/sounds/sf2"
+     DEFAULT_SFZ_PATH     = HOME + "/.sounds/sfz"
++    DEFAULT_SFZ_PATH    += ":/usr/share/soundfonts"
+     DEFAULT_SFZ_PATH    += ":/usr/share/sounds/sfz"
+ if not WINDOWS:
This page took 0.084702 seconds and 4 git commands to generate.