summarylogtreecommitdiffstats
path: root/disable-toonz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-toonz.patch')
-rw-r--r--disable-toonz.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/disable-toonz.patch b/disable-toonz.patch
new file mode 100644
index 000000000000..794e5595022e
--- /dev/null
+++ b/disable-toonz.patch
@@ -0,0 +1,17 @@
+--- old/lives-plugins/weed-plugins/Makefile.am.org 2016-10-23 01:03:56.000000000 +0200
++++ new/lives-plugins/weed-plugins/Makefile.am 2016-11-07 00:25:36.907891417 +0100
+@@ -89,14 +89,7 @@
+ farneback_analyser_la_CPPFLAGS = $(AM_CPPFLAGS)
+ farneback_analyser_la_SOURCES = farneback_analyser.cpp
+
+-if ENABLE_TOONZ
+-toonz_libs = toonz.la
+-toonz_la_LDFLAGS = $(AM_LDFLAGS) $(OPENCV_LIBS_ONLY_L) -lopencv_core -lopencv_imgproc
+-toonz_la_CPPFLAGS = $(AM_CPPFLAGS) -std=c++11
+-toonz_la_SOURCES = toonz.cpp
+-else
+ toonz_libs =
+-endif
+
+ opencvlibdir = "$(libdir)/$(PACKAGE)/plugins/effects/realtime/weed"
+ opencvlib_LTLIBRARIES = $(farneback_analyser_libs) $(toonz_libs)