[marble] disable broken designer plugin (install path) too

Rex Dieter rdieter at fedoraproject.org
Sat Nov 16 16:57:37 UTC 2013


commit d8d4ad3ab8b24ecd7bc53c65e3b23fc9c940624e
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sat Nov 16 10:57:35 2013 -0600

    disable broken designer plugin (install path) too
    
    for now...

 marble.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/marble.spec b/marble.spec
index 58d3bb6..8a26d64 100644
--- a/marble.spec
+++ b/marble.spec
@@ -1,5 +1,7 @@
 ## enable python bindings or not
 #global python 1
+## enable designer plugin
+#global designer 1
 
 Name:    marble
 Summary: Virtual globe and world atlas 
@@ -115,9 +117,9 @@ Requires: pykde4 >= %{version}
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake_kde4} \
-  %{?python:-DEXPERIMENTAL_PYTHON_BINDINGS:BOOL=ON} \
+  -DEXPERIMENTAL_PYTHON_BINDINGS:BOOL=%{?python:ON}%{!?python:OFF} \
   -DIGNORE_CMAKE_INSTALL_PREFIX_FOR_DECLARATIVE_PLUGINS:BOOL=ON \
-  -DWITH_DESIGNER_PLUGIN:BOOL=ON \
+  -DWITH_DESIGNER_PLUGIN:BOOL=%{?designer:ON}%{!?designer:OFF} \
   ..
 popd
 
@@ -187,7 +189,9 @@ fi
 %files libs
 %{_kde4_libdir}/libmarblewidget.so.*
 %{_kde4_libdir}/kde4/plugins/marble/
+%if 0%{?designer}
 %{_kde4_libdir}/kde4/plugins/designer/*.so
+%endif
 
 %files devel
 %doc docs/*
@@ -203,7 +207,7 @@ fi
 
 %changelog
 * Sat Nov 16 2013 Rex Dieter <rdieter at fedoraproject.org> - 1:4.11.90-1
-- 4.11.90, disable broken python bindings
+- 4.11.90, disable broken python bindings, designer plugin
 
 * Sat Nov 02 2013 Rex Dieter <rdieter at fedoraproject.org> - 1:4.11.3-1
 - 4.11.3


More information about the scm-commits mailing list