summaryrefslogtreecommitdiff
path: root/kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch')
-rw-r--r--kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch b/kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch
new file mode 100644
index 00000000000..2dc071ab25d
--- /dev/null
+++ b/kde-base/kdebindings-csharp/files/kdebindings-csharp-4.4.1-make-stuff-optional.patch
@@ -0,0 +1,41 @@
+--- csharp/CMakeLists.txt 2009-09-02 13:30:38.045355025 +0300
++++ csharp/CMakeLists.txt 2009-09-02 13:31:40.426071410 +0300
+@@ -3,6 +3,7 @@
+ OPTION(ENABLE_QTTEST "build QtTest" ON)
+ OPTION(ENABLE_QTUITOOLS_SHARP "build QtUiTools" ON)
+ OPTION(ENABLE_QTWEBKIT_SHARP "build QtWebKit" ON)
++OPTION(ENABLE_PLASMA_SHARP "build PlasmaSharp" ON)
+ OPTION(ENABLE_PHONON_SHARP "build PhononSharp" OFF)
+ OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" OFF)
+ OPTION(ENABLE_KHTML_SHARP "build KHTML" ON)
+@@ -15,7 +16,8 @@
+ set(QTTEST_ENABLED "no")
+ SET(QTWEBKIT_ENABLED "no")
+ SET(QTUITOOLS_ENABLED "no")
+-SET(QTWEBKIT_ENABLED "no")
++SET(QTWEBKIT_SHARP_ENABLED "no")
++SET(PLASMA_SHARP_ENABLED "no")
+ SET(PHONON_SHARP_ENABLED "no")
+ SET(QSCINTILLA_SHARP_ENABLED "no")
+ SET(AKONADI_ENABLED "no")
+@@ -102,8 +104,10 @@
+ set(AKONADI_ENABLED "yes")
+ endif(KDEPIMLIBS_FOUND AND Akonadi_FOUND)
+
+- SET(PLASMA_SHARP_ENABLED "yes")
+- ADD_SUBDIRECTORY(plasma)
++ IF(ENABLE_PLASMA_SHARP)
++ SET(PLASMA_SHARP_ENABLED "yes")
++ ADD_SUBDIRECTORY(plasma)
++ ENDIF(ENABLE_PLASMA_SHARP)
+
+ ENDIF (CMAKE_CSharp_COMPILER_LOADED)
+ endif(ENABLE_QYOTO)
+@@ -114,6 +118,7 @@
+ message(STATUS "Build SopranoSharp... " ${SOPRANO_SHARP_ENABLED})
+ message(STATUS "Build NepomukSharp... " ${NEPOMUK_SHARP_ENABLED})
+ message(STATUS "Build PlasmaSharp... " ${PLASMA_SHARP_ENABLED})
++message(STATUS "Build QtWebkitSharp... " ${QTWEBKIT_SHARP_ENABLED})
+ message(STATUS "Build Kimono... " ${KIMONO_ENABLED})
+ message(STATUS "Build KHTMLSharp... " ${KHTML_SHARP_ENABLED})
+ message(STATUS "Build KTextEditorSharp... " ${KHTML_SHARP_ENABLED})