commit e8d0097e62e58fb2ee0c0777306656f23599aef4
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 19 19:10:02 2016 +0100

    use shared fltk libs

 Carla.spec        |  2 ++
 shared_fltk.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/Carla.spec b/Carla.spec
index 40645ad..cad3071 100644
--- a/Carla.spec
+++ b/Carla.spec
@@ -19,6 +19,7 @@ Source0:      
https://github.com/falkTX/Carla/archive/%{tag}/%{name}-%{tag}.tar.gz
 # Source0-md5: 43e27bd3e1fe226e078ca1b90ea49426
 Patch0:                libdir.patch
 Patch1:                pyqt5.5.patch
+Patch2:                shared_fltk.patch
 URL:           http://kxstudio.linuxaudio.org/Applications:Carla
 BuildRequires: Mesa-libGL-devel
 BuildRequires: QtCore-devel
@@ -63,6 +64,7 @@ Pliki nagłówkowe biblioteki %{name}.
 %setup -q -n %{name}-%{tag}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} -j1 \
diff --git a/shared_fltk.patch b/shared_fltk.patch
new file mode 100644
index 0000000..229bce5
--- /dev/null
+++ b/shared_fltk.patch
@@ -0,0 +1,12 @@
+diff -dur -x '*~' Carla-1.9.6.orig/source/Makefile.mk 
Carla-1.9.6/source/Makefile.mk
+--- Carla-1.9.6.orig/source/Makefile.mk        2015-03-12 14:09:14.000000000 
+0100
++++ Carla-1.9.6/source/Makefile.mk     2016-11-19 19:09:02.314090565 +0100
+@@ -426,7 +426,7 @@
+ ifeq ($(HAVE_NTK),true)
+ NATIVE_PLUGINS_LIBS  += $(shell pkg-config --libs ntk_images ntk)
+ else
+-NATIVE_PLUGINS_LIBS  += $(shell fltk-config --use-images --ldstaticflags)
++NATIVE_PLUGINS_LIBS  += $(shell fltk-config --use-images --ldflags)
+ endif
+ endif
+ endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Carla.git/commitdiff/8b0be3a90a810653f48d78198f51fb576b84379e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to