[Lunar-commits] <moonbase> kde4/base: This is part of the fleshing out of DEPENDS. I hadn't planned on doing

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue May 10 03:38:01 CEST 2011


commit c03b0717ff94794d1fb7f1835aec371f70ff4c05
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon May 9 21:38:01 2011 -0400

    kde4/base: This is part of the fleshing out of DEPENDS. I hadn't planned on doing
    
    this right now but kdebindings pushed me into it. Was trying to cypher why kdebindings
    was bombing out on qscintilla2. Which by the way is not at all unusual with the
    Riverbank trio; sip, PyQt4 and/or qscintilla2. So for now say no to qscintilla2 and qwt.
    
    Didn't want to lrm qscintilla2 so added the pair value to the DEPENDS but it would still
    barf but adding it to the BUILD worked. Long story short; the tripping point is how we
    call cmake, the OPTS and do the out of source build. With the later being the real issue.
    
    For now kdelibs4 is the only one that needs/wants an out of source build and all the rest
    do not. So the BUILDS have been adjusted for that with an additional change to the cmake
    build lines. The cmake man states it should be called in this way;
    
    cmake [options] <path-to-source>
    
    while we have the two reversed. So I have changed it such that we call cmake with its OPTS
    first and then the source path. The easiest way to determine if something wants an out of
    source build; untar it, cd to its top level, run `ccmake .` then press `c` and it will let
    you know.
    
    It probably doesn't matter much but well, there you have it.
---
 kde4/base/kdeaccessibility4/BUILD    |   11 ++-------
 kde4/base/kdeadmin4/BUILD            |   11 ++-------
 kde4/base/kdeadmin4/DEPENDS          |    5 ++++
 kde4/base/kdeartwork4/BUILD          |   11 ++-------
 kde4/base/kdeartwork4/DEPENDS        |    5 ++-
 kde4/base/kdebase4-runtime/BUILD     |   11 ++-------
 kde4/base/kdebase4-runtime/DEPENDS   |   25 +++++++++++++++--------
 kde4/base/kdebase4-workspace/BUILD   |   11 ++-------
 kde4/base/kdebase4-workspace/DEPENDS |   36 +++++++++++++++++++++++----------
 kde4/base/kdebase4/BUILD             |   11 ++-------
 kde4/base/kdebase4/DEPENDS           |    2 -
 kde4/base/kdebindings4/BUILD         |   30 +++++++++++++---------------
 kde4/base/kdebindings4/DEPENDS       |   29 ++++++++++++++++-----------
 kde4/base/kdeedu4/BUILD              |   13 +++--------
 kde4/base/kdeedu4/DEPENDS            |   27 +++++++++++++++----------
 kde4/base/kdegames4/BUILD            |   11 ++-------
 kde4/base/kdegames4/DEPENDS          |    8 ++++--
 kde4/base/kdegraphics4/BUILD         |   11 ++-------
 kde4/base/kdegraphics4/DEPENDS       |   26 +++++++++++++++++-------
 kde4/base/kdelibs4/BUILD             |    6 ++--
 kde4/base/kdelibs4/DEPENDS           |   36 +++++++++++++++++++++------------
 kde4/base/kdemultimedia4/BUILD       |   11 ++-------
 kde4/base/kdemultimedia4/DEPENDS     |   17 ++++++++++++---
 kde4/base/kdenetwork4/BUILD          |   13 +++--------
 kde4/base/kdenetwork4/DEPENDS        |   34 ++++++++++++++++++++++---------
 kde4/base/kdepim4-runtime/BUILD      |   11 ++-------
 kde4/base/kdepim4/BUILD              |   11 ++-------
 kde4/base/kdepim4/DEPENDS            |    4 +-
 kde4/base/kdepimlibs4/BUILD          |   11 ++-------
 kde4/base/kdepimlibs4/DEPENDS        |    1 +
 kde4/base/kdeplasma4-addons/BUILD    |   11 ++-------
 kde4/base/kdeplasma4-addons/DEPENDS  |   11 ++++++++-
 kde4/base/kdesdk4/BUILD              |   11 ++-------
 kde4/base/kdesdk4/DEPENDS            |   15 +++++++++++--
 kde4/base/kdetoys4/BUILD             |   11 ++-------
 kde4/base/kdeutils4/BUILD            |   11 ++-------
 kde4/base/kdeutils4/DEPENDS          |   17 ++++++++++++---
 kde4/base/kdewebdev4/BUILD           |   11 ++-------
 kde4/base/kdewebdev4/DEPENDS         |    3 +-
 kde4/base/oxygen-icons/BUILD         |   11 ++-------
 40 files changed, 283 insertions(+), 278 deletions(-)

diff --git a/kde4/base/kdeaccessibility4/BUILD b/kde4/base/kdeaccessibility4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdeaccessibility4/BUILD
+++ b/kde4/base/kdeaccessibility4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeadmin4/BUILD b/kde4/base/kdeadmin4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdeadmin4/BUILD
+++ b/kde4/base/kdeadmin4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeadmin4/DEPENDS b/kde4/base/kdeadmin4/DEPENDS
index 0823c46..78db4b0 100644
--- a/kde4/base/kdeadmin4/DEPENDS
+++ b/kde4/base/kdeadmin4/DEPENDS
@@ -1 +1,6 @@
 depends kdepimlibs4
+
+optional_depends sip   "-DWITH_SIP=ON" "-DWITH_SIP=OFF" "for sip support"
+optional_depends PyQt4 "-DWITH_PyQt4=ON" "-DWITH_PyQt4=OFF" "for PyQt bindings support"
+optional_depends kdebindings4 "-DWITH_PyKDE4=ON" "-DWITH_PyKDE4=OFF" "for PyKDE bindings support"
+
diff --git a/kde4/base/kdeartwork4/BUILD b/kde4/base/kdeartwork4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdeartwork4/BUILD
+++ b/kde4/base/kdeartwork4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeartwork4/DEPENDS b/kde4/base/kdeartwork4/DEPENDS
index e512dcf..560e550 100644
--- a/kde4/base/kdeartwork4/DEPENDS
+++ b/kde4/base/kdeartwork4/DEPENDS
@@ -1,4 +1,5 @@
 depends kdebase4
 
-optional_depends eigen        ""  ""  "for screensaver support"
-optional_depends xscreensaver ""  ""  "for screensaver support"
+optional_depends kdegraphics4 "-DWITH_Kexiv2=ON"  "-DWITH_Kexiv2=OFF"  "to use libkexiv2"
+optional_depends eigen        "-DWITH_Eigen2=ON"  "-DWITH_Eigen2=OFF"  "for screensaver support"
+optional_depends xscreensaver "-DWITH_Xscreensaver=ON"  "-DWITH_Xscreensaver=OFF"  "for screensaver support"
diff --git a/kde4/base/kdebase4-runtime/BUILD b/kde4/base/kdebase4-runtime/BUILD
index 3b3af0c..d084114 100644
--- a/kde4/base/kdebase4-runtime/BUILD
+++ b/kde4/base/kdebase4-runtime/BUILD
@@ -3,14 +3,9 @@
    source /etc/profile.d/qt4.rc   &&
    source /etc/profile.d/kde4.rc  &&
 
-   OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-   mkdir $OOSB_DIR  &&
-   cd $OOSB_DIR     &&
-
-   cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                            -DCMAKE_BUILD_TYPE=RELEASE             \
-                            $OPTS                                 &&
+   cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+         -DCMAKE_BUILD_TYPE=RELEASE             \
+         $OPTS .                               &&
 
    default_make &&
 
diff --git a/kde4/base/kdebase4-runtime/DEPENDS b/kde4/base/kdebase4-runtime/DEPENDS
index c1ae0e9..4625ffb 100644
--- a/kde4/base/kdebase4-runtime/DEPENDS
+++ b/kde4/base/kdebase4-runtime/DEPENDS
@@ -1,11 +1,18 @@
-depends openslp
-depends %XINELIB
-depends phonon
 depends kdelibs4
+depends phonon
+
+optional_depends kdepimlibs4  ""  ""  "For KDE PIM support (it needs akonadi and MySQL to work well)"
+
+optional_depends alsa-utils   "-DWITH_ALSA=ON"       "-DWITH_ALSA=OFF"       "for alsa sound support"
+optional_depends %XINELIB     "-DWITH_Xine=ON"       "-DWITH_Xine=OFF"       "for xine audio video support"
+optional_depends bzip2        "-DWITH_BZip2=ON"      "-DWITH_BZip2=OFF"      "for bzip compression support"
+optional_depends exiv2        "-DWITH_Exiv2=ON"      "-DWITH_Exiv2=OFF"      "for image metadata support"
+optional_depends lzma-sdk     "-DWITH_LibLZMA=ON"    "-DWITH_LibLZMA=OFF"    "for lzma compression support"
+optional_depends openslp      "-DWITH_SLP=ON"        "-DWITH_SLP=OFF"        "For service location protocol support"
+optional_depends samba        "-DWITH_Samba=ON"      "-DWITH_Samba=OFF"      "For file sharing support"
+optional_depends pulseaudio   "-DWITH_PulseAudio=ON" "-DWITH_PulseAudio=OFF" "For Pulseaudio soundserver support"
+optional_depends libssh       "-DWITH_LibSSH=ON"     "-DWITH_LibSSH=OFF"     "For SFTP kioslave support"
+optional_depends ntrack       "-DWITH_QNtrack=ON"    "-DWITH_QNtrack=OFF"    "Provides data input for Solid network status"
+optional_depends libcanberra  ""                     ""                      "Needed for speaker setup GUI in systemsettings"
 
-optional_depends kdepimlibs4  ""  ""  "For KDE PIM support (it needs akonadi and MySQLto work well)"
-optional_depends samba        ""  ""  "For file sharing support"
-optional_depends pulseaudio   ""  ""  "For Pulseaudio soundserver support"
-optional_depends libssh       ""  ""  "For SFTP kioslave support"
-optional_depends ntrack       ""  ""  "Provides data input for Solid network status"
-optional_depends libcanberra  ""  ""  "Needed for speaker setup GUI in systemsettings"
+optional_depends shared-desktop-ontologies "-DWITH_SharedDesktopOntologies=ON" "-DWITH_SharedDesktopOntologies=OFF"
diff --git a/kde4/base/kdebase4-workspace/BUILD b/kde4/base/kdebase4-workspace/BUILD
index 6b2d94e..9b966f9 100644
--- a/kde4/base/kdebase4-workspace/BUILD
+++ b/kde4/base/kdebase4-workspace/BUILD
@@ -3,14 +3,9 @@
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdebase4-workspace/DEPENDS b/kde4/base/kdebase4-workspace/DEPENDS
index 3313344..fff5bc2 100644
--- a/kde4/base/kdebase4-workspace/DEPENDS
+++ b/kde4/base/kdebase4-workspace/DEPENDS
@@ -1,12 +1,22 @@
 depends qimageblitz
 depends kdebase4-runtime
 
-optional_depends "libxklavier"    "" "" "for advanced keyboard controls"
-optional_depends "glib-2"         "" "" "required for keyboard switching"
-optional_depends "libusb-compat"  "" "" "for Logitech Mouse support"
+optional_depends "kdepimlibs4"    "-DWITH_KdepimLibs=ON" "-DWITH_KdepimLibs=OFF" "for nepomuck support"
+optional_depends "pciutils"       "-DWITH_PCIUTILS=ON"   "-DWITH_PCIUTILS=ON"    "for pciutils support"
+optional_depends "sip"            "-DWITH_SIP=ON"        "-DWITH_SIP=OFF"        "for sip support"
+optional_depends "PyQt4"          "-DWITH_PyQt4=ON"      "-DWITH_PyQt4=OFF"      "for PyQt4 support"
+optional_depends "soprano"        "-DWITH_Soprano=ON"    "-DWITH_Soprano=OFF"    "for soprano support"
+optional_depends "fontconfig"     "-DWITH_Fontconfig=ON" "-DWITH_Fontconfig=OFF" "for fontconfig support"
+optional_depends "freetype2"      "-DWITH_Freetype=ON"   "-DWITH_Freetype=OFF"   "for freetype font support"
+optional_depends "libxklavier"    "-DWITH_XKB=ON"        "-DWITH_XKB=OFF"        "for advanced keyboard controls"
+optional_depends "glib-2"         "-DWITH_GLIB2=ON"      "-DWITH_GLIB2=OFF"      "required for keyboard switching"
+optional_depends "libusb-compat"  "-DWITH_USB=ON"        "-DWITH_USB=OFF"        "for usb device support"
 
+optional_depends "ConsoleKit"     "-DWITH_CkConnector=ON" "-DWITH_CkConnector=OFF" "for console kit support"
+optional_depends "webkit"         "-DBUILD_webkit=ON" "-DBUILD_webkit=OFF" "for konqueror webkit support"
 optional_depends "bluez"          "" "" "for bluetooth support within KDE4"
-optional_depends "libraw1394"     "" "" "for firewire support"
+optional_depends "libraw1394"     "-DWITH_RAW1394=ON" "-DWITH_RAW1394=OFF" "for firewire support"
+optional_depends "gpsd"           "-DWITH_libgps=ON"  "-DWITH_libgps=OFF"  "for gps device support"
 
 optional_depends "Linux-PAM"      "-DKDE4_COMMON_PAM_SERVICE=kde4 \
                                   -DKDE4_KDM_PAM_SERVICE=kde4"    \
@@ -14,13 +24,17 @@ optional_depends "Linux-PAM"      "-DKDE4_COMMON_PAM_SERVICE=kde4 \
 
 optional_depends "shadow"         "" ""  "for shadow password support"
 optional_depends "libcaptury"     "" ""  "for GL video support"
-optional_depends "lm_sensors"     "" ""  "for system sensors support"
-optional_depends "libXScrnSaver"  "" ""  "for screensaver support and needed by kaffeine"
+optional_depends "lm_sensors"     "-DWITH_Sensors=ON" "-DWITH_Sensors=OFF"  "for system sensors support"
+
+optional_depends "libXScrnSaver"  "-DBUILD_kscreensaver=ON" "-DBUILD_kscreensaver=OFF" \
+                                  "for screensaver support and needed by kaffeine"
 optional_depends "qedje"          "" ""  "for plasma scriptengine support"
 optional_depends "polkit-qt"      "" ""  "For policy kit support"
 
-optional_depends "google-gadgets-for-linux" "" "" "for google gadget support"
-optional_depends "wicd"           "" ""  "For network connectivity management"
-optional_depends "xmms"           "" ""  "to support the Now Playing data engine"
-optional_depends "libqalculate"   "" ""  "for advanced features of the calculator runner"
-optional_depends "libdmtx"         "" ""  "for Data Matrix 2D barcode support"
+optional_depends "google-gadgets-for-linux" "-DWITH_Googlegadgets=ON"   \
+                                            "-DWITH_Googlegadgets=OFF"  \
+                                            "for google gadget support"
+optional_depends "wicd"           "-DBUILD_wicd=ON" "-DBUILD_wicd=OFF"  "For network connectivity management"
+optional_depends "xmms"           "-DWITH_Xmms=ON"  "-DWITH_Xmms=OFF"   "to support the Now Playing data engine"
+optional_depends "libqalculate"   "-DWITH_Qalculate=ON" "-DWITH_Qalculate=ON" "for advanced features of the calculator runner"
+optional_depends "libdmtx"        "-DWITH_Dmtx=ON"      "-DWITH_Dmtx=OFF"     "for Data Matrix 2D barcode support"
diff --git a/kde4/base/kdebase4/BUILD b/kde4/base/kdebase4/BUILD
index 895e34d..4e8f699 100644
--- a/kde4/base/kdebase4/BUILD
+++ b/kde4/base/kdebase4/BUILD
@@ -5,14 +5,9 @@
 
   export CFLAGS="$CFLAGS -fPIC"  &&
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdebase4/DEPENDS b/kde4/base/kdebase4/DEPENDS
index 2699fb2..3945424 100644
--- a/kde4/base/kdebase4/DEPENDS
+++ b/kde4/base/kdebase4/DEPENDS
@@ -1,3 +1 @@
-depends pciutils
 depends kdebase4-workspace
-depends cmake
diff --git a/kde4/base/kdebindings4/BUILD b/kde4/base/kdebindings4/BUILD
index e3066c4..f14ab59 100644
--- a/kde4/base/kdebindings4/BUILD
+++ b/kde4/base/kdebindings4/BUILD
@@ -1,29 +1,27 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-# http://osdir.com/ml/kde-commits/2011-04/msg00435.html
-  sed -i "3i # define PHONON_DEPRECATED" smoke/qt/phonon/phonon_includes.h &&
+#  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
 
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
+#  mkdir $OOSB_DIR  &&
+#  cd $OOSB_DIR     &&
 
-  if in_depends $MODULE Falcon ; then
-    OPTS="-DFALCON_INCLUDE_PATH=/usr/include/falcon-`lvu version Falcon`/falcon"
-  fi &&
+#  if in_depends $MODULE ruby ; then
+#    OPTS="-DRUBY_INCLUDE_PATH=/usr/lib/ruby/`lvu version ruby|cut -c 1-3`/"
+#  fi &&
 
-  if in_depends $MODULE qwt ; then
-    QWT_VER=`lvu version qwt` &&
-    Qwt5_INCLUDE_DIR="/usr/qwt-$QWT_VER/include/qwt.h"
+  if in_depends $MODULE sun-jdk ; then
+    . /etc/profile.d/sun-jdk.rc
+#    JAVA_AWT_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/ &&
+#    JAVA_INCLUDE_PATH=$JAVA_HOME/include/           &&
+#    JAVA_AWT_INCLUDE_PATH=$JAVA_HOME/include/       
   fi &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX       \
-                           -DENABLE_QYOTO=off                          \
-                           -DCMAKE_BUILD_TYPE=RELEASE                  \
-                           $OPTS                                      &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdebindings4/DEPENDS b/kde4/base/kdebindings4/DEPENDS
index f398822..9018659 100644
--- a/kde4/base/kdebindings4/DEPENDS
+++ b/kde4/base/kdebindings4/DEPENDS
@@ -1,15 +1,20 @@
 depends kdebase4
 depends kdevplatform
 
-optional_depends "kdegraphics4" "" "" "for okular (PDF) bindings support"
-
-optional_depends "%PHP"        "-DENABLE_PHP-QT=on" "-DENABLE_PHP-QT=off"  "for php scripting support"
-
-optional_depends "ruby"        "-DENABLE_QTRUBY=on -DENABLE_KROSSRUBY=on" "-DENABLE_QTRUBY=off" \
-                                "for ruby bindings"
-
-optional_depends "PyQt4"       "" "" "for KDE4 python bindings"
-optional_depends "qscintilla2" "" "" "for additional binding support"
-optional_depends "gtk-sharp"   "" "" "for mono support"
-optional_depends "Falcon"      "" "" "for Falcon bindings support"
-optional_depends "qwt"         "" "" "for Qwt5 bindings support"
+optional_depends "akonadi"      "-DWITH_Akonadi=ON"    "-DWITH_Akonadi=OFF"    "for akonadi support"
+optional_depends "soprano"      "-DWITH_Soprano=ON"    "-DWITH_Soprano=OFF"    "for soprano support"
+optional_depends "attica"       "-DWITH_LibAttica=ON"  "-DWITH_LibAttica=OFF"  "for attica support"
+optional_depends "phonon"       "-DWITH_Phonon=ON"     "-DWITH_Phonon=OFF"     "for phonon support"
+optional_depends "kdepimlibs4"  "-DWITH_KdepimLibs=ON" "-DWITH_KdepimLibs=OFF" "for pim library support"
+optional_depends "sip"          "-DWITH_SIP=ON"        "-DWITH_SIP=OFF"        "for sip support"
+optional_depends "sun-jdk"      "-DBUILD_java=ON"      "-DBUILD_java=OFF"      "for java support"
+optional_depends "perl"         "-DBUILD_perl=ON"      "-DBUILD_perl=OFF"      "for perl support"
+optional_depends "kdegraphics4" "-DWITH_Okular=ON"     "-DWITH_Okular=OFF"     "for okular (PDF) bindings support"
+optional_depends "Python"       "-DBUILD_python=ON"    "-DBUILD_python=OFF"    "for Python bindings support"
+optional_depends "%PHP"         "-DBUILD_php=on"       "-DBUILD_php=off"       "for php scripting support"
+optional_depends "ruby"         "-DBUILD_ruby=ON"      "-DBUILD_ruby=OFF"      "for ruby bindings"
+optional_depends "PyQt4"        "-DWITH_PyQt4=ON"      "-DWITH_PyQt4=OFF"      "for KDE4 python bindings"
+optional_depends "qscintilla2"  "-DWITH_QScintilla=ON" "-DWITH_QScintilla=OFF" "for additional binding support"
+optional_depends "gtk-sharp"    "-DBUILD_csharp=ON"    "-DBUILD_csharp=OFF"    "for mono support"
+optional_depends "Falcon"       "-DBUILD_falcon=ON"    "-DBUILD_falcon=OFF"    "for Falcon bindings support"
+optional_depends "qwt"          "-DWITH_Qwt5=ON"       "-DWITH_Qwt5=OFF"       "for Qwt5 bindings support"
diff --git a/kde4/base/kdeedu4/BUILD b/kde4/base/kdeedu4/BUILD
index 4127ebc..1789819 100644
--- a/kde4/base/kdeedu4/BUILD
+++ b/kde4/base/kdeedu4/BUILD
@@ -1,19 +1,14 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   sedit "s:boost\_python-gcc-mt:boost\_python:g" cmake/modules/FindBoostPython.cmake  &&
 
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX   \
-                           -DCMAKE_BUILD_TYPE=RELEASE              \
-                           -DEXPERIMENTAL_PYTHON_BINDINGS=TRUE     \
-                           $OPTS                                  &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX   \
+        -DCMAKE_BUILD_TYPE=RELEASE              \
+        -DEXPERIMENTAL_PYTHON_BINDINGS=TRUE     \
+        $OPTS .                                &&
 
   default_make
 
diff --git a/kde4/base/kdeedu4/DEPENDS b/kde4/base/kdeedu4/DEPENDS
index 9bc52fa..ad17eb6 100644
--- a/kde4/base/kdeedu4/DEPENDS
+++ b/kde4/base/kdeedu4/DEPENDS
@@ -1,17 +1,22 @@
-depends eigen
 depends libnova
 depends PyQt4
 depends kdebindings4
-depends facile
 
-optional_depends openbabel    ""  ""  "for chemical toolbox support"
-optional_depends libindi      ""  ""  "for instrument support"
-optional_depends cfitsio      ""  ""  "for C and Fortran subroutine support"
-optional_depends ocaml        ""  ""  "ocaml support"
+optional_depends readline     "-DWITH_Readline=ON" "-DWITH_Readline=OFF" "for readline support"
+optional_depends libxml2      "-DWITH_LibXml2=ON" "-DWITH_LibXml2=OFF" "for XML support"
+optional_depends libxslt      "-DWITH_LibXslt=ON" "-DWITH_LibXslt=OFF" "fir XSL support"
+optional_depends facile       "-DWITH_Libfacile=ON" "-DWITH_Libfacile=OFF" "for constraint programming support"
+optional_depends boost        "-DWITH_BoostPython=ON" "-DWITH_BoostPython=OFF" "for boost support"
+optional_depends openbabel    "-DWITH_OpenBabel2=ON"  "-DWITH_OpenBabel2=OFF"  "for chemical toolbox support"
+optional_depends libindi      "-DWITH_INDI=ON"  "-DWITH_INDI=OFF"  "for instrument support"
+optional_depends cfitsio      "-DWITH_CFitsio=ON"  "-DWITH_CFitsio=OFF"  "for C and Fortran subroutine support"
+optional_depends eigen        "-DWITH_Eigen2=ON"   "-DWITH_Eigen2=OFF"   "for linear algebra support"
+optional_depends libspectre   "-DWITH_LibSpectre=ON" "-DWITH_LibSpectre=OFF" "for rendering Postscript support"
+optional_depends ocaml        "-DWITH_OCaml=ON"  "-DWITH_OCaml=OFF"  "ocaml support"
 optional_depends gpsd         ""  ""  "for gps daemon support"
-optional_depends libqalculate "" ""   "for desktop calculator support"
+optional_depends libqalculate "-DWITH_Qalculate=ON" "-DWITH_Qalculate=OFF"   "for desktop calculator support"
 optional_depends gmm          ""  ""  "needed to build Step"
-optional_depends gsl          ""  ""  "for matrices support"
-optional_depends xplanet      ""  ""  "for use by kstars"
-optional_depends R            ""  ""  "for use by the Cantor backend"
-optional_depends avogadro     ""  ""  "for molecular modeling support"
+optional_depends gsl          "-DWITH_GSL=ON"  "-DWITH_GSL=OFF"  "for matrices support"
+optional_depends xplanet      "-DWITH_Xplanet=ON"  "-DWITH_Xplanet=OFF"  "for use by kstars"
+optional_depends R            "-DWITH_R=ON"  "-DWITH_R=OFF"  "for use by the Cantor backend"
+optional_depends avogadro     "-DWITH_Avogadro=ON" "-DWITH_Avogadro=OFF" "for molecular modeling support"
diff --git a/kde4/base/kdegames4/BUILD b/kde4/base/kdegames4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdegames4/BUILD
+++ b/kde4/base/kdegames4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdegames4/DEPENDS b/kde4/base/kdegames4/DEPENDS
index 8514183..4148c47 100644
--- a/kde4/base/kdegames4/DEPENDS
+++ b/kde4/base/kdegames4/DEPENDS
@@ -1,7 +1,9 @@
 depends kdebase4
 
-optional_depends "ggz-client-libs" "" "" "for GGZ Gaming Zone support"
-optional_depends "qca2"            "" "" "for crypto api support"
+optional_depends "kdebindings4"    ""                  ""                    "for PyKDE binding support"
+optional_depends "libsndfile"      "-DWITH_SndFile=ON" "-DWITH_SndFile=OFF"  "for reading and writing sound files support"
+optional_depends "openal"          "-DWITH_OpenAL=ON"  "-DWITH_OpenAL=OFF"   "for 3D audio library support"
+optional_depends "qca2"            "-DWITH_QCA2=ON"    "-DWITH_QCA2=OFF"     "for crypto api support"
 optional_depends "gluon"           "" "" "high-level game development library support"
 optional_depends "Twisted"         "" "" "for Twisted support"
-
+optional_depends "ggz-client-libs" "" "" "for GGZ Gaming Zone support"
diff --git a/kde4/base/kdegraphics4/BUILD b/kde4/base/kdegraphics4/BUILD
index 0224f7a..e9aaf44 100644
--- a/kde4/base/kdegraphics4/BUILD
+++ b/kde4/base/kdegraphics4/BUILD
@@ -5,17 +5,12 @@
   sedit "s:0.4:0.4.1:g" okular/generators/poppler/generator_pdf.cpp &&
   sedit "s:QImage srcImage = src->toImage();:QImage srcImage = src->toImage().convertToFormat(format);:g" okular/ui/pagepainter.cpp &&
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdegraphics4/DEPENDS b/kde4/base/kdegraphics4/DEPENDS
index e6e2e2e..970853f 100644
--- a/kde4/base/kdegraphics4/DEPENDS
+++ b/kde4/base/kdegraphics4/DEPENDS
@@ -2,12 +2,22 @@ depends kdebase4
 # kdegraphics 4.6.3 build will fail if libjpeg-turbo is installed instead of jpeg
 # tested with kdegraphics 4.6.3 and libjpeg-turbo 1.1.0
 depends jpeg
-optional_depends djvulibre     "" ""  "for document support"
-optional_depends chmlib        "" ""  "for different help file format support"
+
+optional_depends zlib          "-DWITH_ZLIB=ON"      "-DWITH_ZLIB=OFF"      "for zlib compression support"
+optional_depends tiff          "-DWITH_TIFF=ON"      "-DWITH_TIFF=OFF"      "for tiff graphics support"
+optional_depends freetype2     "-DWITH_Freetype=ON"  "-DWITH_Freetype=OFF"  "for freetype font support"
+optional_depends djvulibre     "-DWITH_DjVuLibre=ON" "-DWITH_DjVuLibre=OFF" "for document support"
+optional_depends chmlib        "-Dchmlib=ON"         "-Dchmlib=OFF"         "for different help file format support"
+
+optional_depends sane-backends "-DWITH_Sane=ON"    "-DWITH_Sane=OFF"     "for scanner suport"
+optional_depends qca2          "-DWITH_QCA2=ON"    "-DWITH_QCA2=OFF"     "for qca support"
+optional_depends exiv2         "-DWITH_Exiv2=ON"   "-DWITH_Exiv2=OFF"    "for image metadata support"
+optional_depends poppler       "-DWITH_Poppler=ON" "-DWITH_Poppler=OFF"  "for PDF rendering support"
+optional_depends lcms          "-DWITH_LCMS=ON"    "-DWITH_LCMS=OFF"     "for color management support"
+optional_depends libgphoto2    "-DWITH_Gphoto2=ON" "-DWITH_Gphoto2=OFF"  "for digital camera support"
+optional_depends kipi-plugins4 "-DWITH_Kipi=ON"    "-DWITH_Kipi=OFF"     "for kipi plugin support"
+optional_depends ebook-tools   "-DWITH_EPub=ON"    "-DWITH_EPub=OFF"     "for ebook support"
+
+optional_depends libspectre    "-DWITH_LibSpectre=ON"  "-DWITH_LibSpectre=OFF" "for additional postscript rendering support"
+optional_depends qimageblitz   "-DWITH_QImageBlitz=ON" "-Dqimageblitz=OFF"     "for image effects support"
 optional_depends ghostscript   "" ""  "for pdf support"
-optional_depends sane-backends "" ""  "for scanner suport"
-optional_depends exiv2         "" ""  "for image metadata support"
-optional_depends poppler       "" ""  "for PDF rendering support"
-optional_depends libgphoto2    "" ""  "for digital camera support"
-optional_depends ebook-tools   "" ""  "for ebook support"
-optional_depends libspectre    "" ""  "for additional postscript rendering support"
diff --git a/kde4/base/kdelibs4/BUILD b/kde4/base/kdelibs4/BUILD
index 65c7e66..783f49f 100644
--- a/kde4/base/kdelibs4/BUILD
+++ b/kde4/base/kdelibs4/BUILD
@@ -14,9 +14,9 @@
   mkdir $OOSB_DIR  &&
   cd $OOSB_DIR     &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS $SOURCE_DIRECTORY               &&
 
   default_make
 
diff --git a/kde4/base/kdelibs4/DEPENDS b/kde4/base/kdelibs4/DEPENDS
index 13ccfd0..e4d48a5 100644
--- a/kde4/base/kdelibs4/DEPENDS
+++ b/kde4/base/kdelibs4/DEPENDS
@@ -1,3 +1,5 @@
+depends perl
+depends zlib
 depends makeobj
 depends cmake
 depends automoc
@@ -5,38 +7,46 @@ depends strigi
 depends phonon
 depends shared-mime-info
 depends boost
-depends shared-desktop-ontologies
 depends attica
 depends %GIF
-depends libdbusmenu-qt
 depends docbook-xml
 
+optional_depends "udev"        "-DWITH_UDev=ON"    "-DWITH_UDev=OFF"    "for udev support"
+optional_depends "acl"         "-DWITH_ACL=ON"     "-DWITH_ACL=OFF"     "for POSIX access control list support"
 optional_depends "bzip2"       "-DWITH_BZip2=ON"   "-DWITH_BZip2=OFF"   "for bzip file compression support"
 optional_depends "lzma-sdk"    "-DWITH_LibLZMA=ON" "-DWITH_LibLZMA=OFF" "for lzma file compression support"
 optional_depends "openssl"     "-DWITH_OpenSSL=ON" "-DWITH_OpenSSL=OFF" "for secure sockets level support"
 optional_depends "qca2"        "-DWITH_QCA2=ON"    "-DWITH_QCA2=OFF"    "for cross-platform crypto API support"
 optional_depends "soprano"     "-DWITH_Soprano=ON" "-DWITH_Soprano=OFF" "for RDF data support"
-optional_depends "polkit-qt-1" "" "" "for Kauth support"
-optional_depends "PyQt4"       "" "" "for python support in other kde4 modules"
-optional_depends "gamin"       "" "" "for file alteration support"
+optional_depends "polkit-qt-1" "-DWITH_PolkitQt-1=ON" "-DWITH_PolkitQt-1=OFF" "for Kauth support"
+optional_depends "gamin"       "-DWITH_FAM=ON"     "-DWITH_FAM=OFF"     "for file alteration support"
+optional_depends "aspell"      "-DWITH_ASPELL=ON"  "-DWITH_ASPELL=OFF"  "for spell checking support"
+optional_depends "enchant"     "-DWITH_ENCHANT=ON" "-DWITH_ENCHANT=OFF" "needed for spell checking library access"
+optional_depends "jasper"      "-DWITH_Jasper=ON"  "-DWITH_Jasper=OFF"  "for JPEG-2000 image reading support; Needed by kdenetwork"
+optional_depends "openexr"     "-DWITH_OpenEXR=ON" "-DWITH_OpenEXR=OFF" "for high dynamic-range image support"
+optional_depends "avahi"       "-DWITH_Avahi=ON"   "-DWITH_Avahi=OFF"   "Facilities for service discovery on a local network (DNSSD)"
+optional_depends "heimdal"     "-DWITH_GSSAPI=ON"  "-DWITH_GSSAPI=OFF"  "Allows KIO to make use of certain HTTP authentication services"
+optional_depends "hspell"      "-DWITH_HSPELL=ON"  "-DWITH_HSPELL=OFF"  "for Hebrew spell-checking support"
+
+optional_depends "qca2-cyrus-sasl" "-DWITH_QCA2=ON" "-DWITH_QCA2=OFF" "for cross-platform crypto API support"
+
 optional_depends "alsa-lib"    "" "" "for alsa sound support"
-optional_depends "aspell"      "" "" "for spell checking support"
-optional_depends "enchant"     "" "" "needed for spell checking library access"
-optional_depends "jasper"      "" "" "for JPEG-2000 image reading support; Needed by kdenetwork"
-optional_depends "openexr"     "" "" "for high dynamic-range image support"
 optional_depends "attr"        "" "" "for Access Control List support"
-optional_depends "heimdal"     "" "" "Allows KIO to make use of certain HTTP authentication services"
 optional_depends "xz"          "" "" "for lzma compression/decompression support"
-optional_depends "avahi"       "" "" "Facilities for service discovery on a local network (DNSSD)"
+optional_depends "PyQt4"       "" "" "for python support in other kde4 modules"
 optional_depends "agg"         "" "" "for Anit-Grain Geometry graphics support"
-optional_depends "hspell"      "" "" "for Hebrew spell-checking support"
 optional_depends "grantlee"    "" "" "for plugin based String Template system support"
 optional_depends "subversion"  "" "" "for subversion support; can be used by Dolphin"
 optional_depends "git"         "" "" "for git support; can be used by Dolphin"
+optional_depends "libdbusmenu-qt" "" "" "for support of notification area menus via the DBusMenu protocol"
+
 
-optional_depends "qca2-cyrus-sasl" "-DWITH_QCA2=ON" "-DWITH_QCA2=OFF" "for cross-platform crypto API support"
 optional_depends "xscreensaver"    "" "" "for screensaver support"
 
+optional_depends "shared-desktop-ontologies" "-DWITH_SharedDesktopOntologies=ON"  \
+                                             "-DWITH_SharedDesktopOntologies=OFF" \
+                                             "for ontological support"
+
 optional_depends "herqq"     "-DHUPNP_INCLUDE_DIR=/usr/include/HUpnpCore \
                               -DHUPNP_LIBS=/usr/lib"                     \
                              "" "for UPnP support for Solid"
diff --git a/kde4/base/kdemultimedia4/BUILD b/kde4/base/kdemultimedia4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdemultimedia4/BUILD
+++ b/kde4/base/kdemultimedia4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdemultimedia4/DEPENDS b/kde4/base/kdemultimedia4/DEPENDS
index a3311b2..9195ea9 100644
--- a/kde4/base/kdemultimedia4/DEPENDS
+++ b/kde4/base/kdemultimedia4/DEPENDS
@@ -1,11 +1,20 @@
 depends kdebase4
 
 # TODO: Missing tons of dependencies here
-optional_depends "taglib"         "" "" "for audio metadata support"
+optional_depends "taglib"         "-DWITH_Taglib=ON" "-DWITH_Taglib=OFF" "for audio metadata support"
 optional_depends "lame"           "" "" "for MP3 encoding support"
-optional_depends "cdparanoia"     "" "" "for Compact Disc Digital Audio support"
-optional_depends "libmusicbrainz" "" "" "for music metadatabase support"
+optional_depends "cdparanoia"     "-DWITH_Cdparanoia=ON" "-DWITH_Cdparanoia=OFF" "for Compact Disc Digital Audio support"
+optional_depends "%XINELIB"       "-DWITH_Xine=ON"       "-DWITH_Xine=ON"        "for xine audio video support"
+
+optional_depends "ffmpeg"         "-DWITH_FFMPEG=ON -DWITH_Swscale=ON"   \
+                                  "-DWITH_FFMPEG=OFF -DWITH_Swscale=OFF" \
+                                  "for audio and video support"
+
+optional_depends "libmusicbrainz" "-DWITH_MusicBrainz3=ON" "-DWITH_MusicBrainz3=OFF" "for music metadatabase support"
+optional_depends "pulseaudio"     "-DWITH_PulseAudio=ON"   "-DWITH_PulseAudio=OFF"   "for pulseaudio support"
 
 # flac will take care of vorbis support
-optional_depends "flac"           "" "" "for loseless audio support"
+optional_depends "flac"           "-DWITH_Flac=ON -DWITH_OggVorbis=ON"   \
+                                  "-DWITH_Flac=OFF -DWITH_OggVorbis=OFF" \
+                                  "for loseless audio support"
 
diff --git a/kde4/base/kdenetwork4/BUILD b/kde4/base/kdenetwork4/BUILD
index 453b4e4..6b00fc3 100644
--- a/kde4/base/kdenetwork4/BUILD
+++ b/kde4/base/kdenetwork4/BUILD
@@ -1,7 +1,5 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
@@ -9,13 +7,10 @@
     mkdir /opt/lunar/plugins
   fi &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX       \
-                           -DCMAKE_BUILD_TYPE=RELEASE                  \
-                           -DMOZPLUGIN_INSTALL_DIR=/opt/lunar/plugins  \
-                           $OPTS                                      &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX       \
+        -DCMAKE_BUILD_TYPE=RELEASE                  \
+        -DMOZPLUGIN_INSTALL_DIR=/opt/lunar/plugins  \
+        $OPTS .                                    &&
 
   default_make
 
diff --git a/kde4/base/kdenetwork4/DEPENDS b/kde4/base/kdenetwork4/DEPENDS
index ce1c25c..58dddb9 100644
--- a/kde4/base/kdenetwork4/DEPENDS
+++ b/kde4/base/kdenetwork4/DEPENDS
@@ -2,19 +2,33 @@ depends kdepimlibs4
 depends v4l-utils
 depends jasper
 
-optional_depends libvncserver  ""  ""  "for VNC Server support"
+optional_depends kdebase4-workspace "-DWITH_KDE4Workspace=ON" "-DWITH_KDE4Workspace=OFF" "to use apps/libs from kdebase-workspace"
+optional_depends openssl       "-DWITH_SSL=ON" "-DWITH_SSL=OFF" "for openssl support"
+optional_depends speex         "-DWITH_Speex=ON" "-DWITH_Speex=OFF" "for speex audio format support"
+optional_depends sqlite        "-DWITH_Sqlite=ON" "-DWITH_Sqlite=OFF" "for sqlite database support"
+
+optional_depends alsa-utils    "-DWITH_Alsa=ON" "-DWITH_Alsa=OFF" "for audio support"
+optional_depends expat         "-DWITH_Expat=ON" "-DWITH_Expat=OFF" "for expat support"
+optional_depends libxml2       "-DWITH_LibXml2=ON" "-DWITH_LibXml2=OFF" "for XML support"
+optional_depends libxslt       "-DWITH_LibXslt=ON" "-DWITH_LibXslt=OFF" "for XSLT support"
+optional_depends gpgme         "-DWITH_QGpgme=ON" "-DWITH_QGpgme=OFF" "for gpgme support"
+optional_depends %GIF          "-DWITH_GIF=ON"   "-DWITH_GIF=OFF"   "for gif graphics support"
+optional_depends glib-2        "-DWITH_GLIB2=ON" "-DWITH_GLIB2=OFF" "for glib2 support"
+optional_depends jpeg          "-DWITH_JPEG=ON"  "-DWITH_JPEG=OFF"  "for jpeg graphics support"
+optional_depends libktorrent   "-DWITH_KTorrent=ON" "-DWITH_KTorrent=OFF" "for torrent support"
+optional_depends mediastreamer "-DWITH_Mediastreamer=ON" "-DWITH_Mediastreamer=OFF" "for streaming media support"
+optional_depends libvncserver  "-DWITH_LibVNCServer=ON"  "-DWITH_LibVNCServer=OFF"  "for VNC Server support"
 optional_depends libidn        ""  ""  "Jabber support in kopete"
 optional_depends avahi         ""  ""  "for service discovery support"
-optional_depends qca2          ""  ""  "for crypto API support"
+optional_depends qca2          "-DWITH_QCA2=ON"  "-DWITH_QCA2=OFF"  "for crypto API support"
 optional_depends telepathy-qt4 ""  ""  "for voip and like support"
 optional_depends xmms          ""  ""  "for kopete nowlistening plugin"
-optional_depends libotr        ""  ""  "for Off The Record support"
-optional_depends meanwhile     ""  ""  "for Sametime Community Client protocol support"
-optional_depends ortp          ""  ""  "for RTP protocol support"
-optional_depends libmsn        ""  ""  "for MSN protocol support"
-optional_depends libgadu       ""  ""  "for Gadu-Gadu protocol support"
+optional_depends libotr        "-DWITH_LibOTR=ON"  "-DWITH_LibOTR=OFF"  "for Off The Record support"
+optional_depends meanwhile     "-DWITH_LibMeanwhile=ON"  "-DWITH_LibMeanwhile=OFF"  "for Sametime Community Client protocol support"
+optional_depends ortp          "-DWITH_LiboRTP=ON"  "-DWITH_LiboRTP=OFF"  "for RTP protocol support"
+optional_depends libmsn        "-DWITH_Libmsn=ON"  "-DWITH_Libmsn=OFF"  "for MSN protocol support"
+optional_depends libgadu       "-DWITH_Libgadu=ON"  "-DWITH_Libgadu=OFF"  "for Gadu-Gadu protocol support"
 optional_depends libupnp       ""  ""  "for UPnP Device support"
-optional_depends msilbc        ""  ""  "for voice/video telephony support in kopete"
-optional_depends libktorrent   ""  ""  "for KGet bittorrent support"
+optional_depends msilbc        "-DWITH_msiLBC=ON"  "-DWITH_msiLBC=OFF"  "for voice/video telephony support in kopete"
+optional_depends libktorrent   "-DWITH_KTorrent=ON"  "-DWITH_KTorrent=OFF"  "for KGet bittorrent support"
 optional_depends kwebkitpart   ""  ""  "KGet support for KWebKitPart"
-optional_depends msilbc        ""  ""  "for Google Talk libjingle voice call support"
diff --git a/kde4/base/kdepim4-runtime/BUILD b/kde4/base/kdepim4-runtime/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdepim4-runtime/BUILD
+++ b/kde4/base/kdepim4-runtime/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdepim4/BUILD b/kde4/base/kdepim4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdepim4/BUILD
+++ b/kde4/base/kdepim4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdepim4/DEPENDS b/kde4/base/kdepim4/DEPENDS
index ead4bf2..5593d07 100644
--- a/kde4/base/kdepim4/DEPENDS
+++ b/kde4/base/kdepim4/DEPENDS
@@ -1,9 +1,9 @@
 depends kdepim4-runtime
 depends libdbusmenu
 
-optional_depends "libassuan"  "" "" "for IPC support"
+optional_depends "libassuan"  "-DWITH_Assuan=ON" "-DWITH_Assuan=OFF" "for IPC support"
 optional_depends "gnokii"     "" "" "for some mobile phone support"
 optional_depends "libXScrnSaver" "" "" "for screensaver support"
 optional_depends "libopensync-plugin-vformat" "" "" "for syncronization support"
 optional_depends "libmal"     "" "" "for KPilot's Avantgo conduit support"
-optional_depends "libindicate-qt" "" "" "for indicate support in kmail"
+optional_depends "libindicate-qt" "-DWITH_IndicateQt=ON" "-DWITH_IndicateQt=OFF" "for indicate support in kmail"
diff --git a/kde4/base/kdepimlibs4/BUILD b/kde4/base/kdepimlibs4/BUILD
index 6b2d94e..9b966f9 100644
--- a/kde4/base/kdepimlibs4/BUILD
+++ b/kde4/base/kdepimlibs4/BUILD
@@ -3,14 +3,9 @@
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdepimlibs4/DEPENDS b/kde4/base/kdepimlibs4/DEPENDS
index 9dc4733..56ca2b9 100644
--- a/kde4/base/kdepimlibs4/DEPENDS
+++ b/kde4/base/kdepimlibs4/DEPENDS
@@ -3,5 +3,6 @@ depends akonadi
 depends gpgme
 depends libical
 depends cyrus-sasl
+depends boost
 
 optional_depends "openldap" "-DWITH_Ldap=ON" "-DWITH_Ldap=OFF" "for OpenLDAP support within KDE4 (they strongly recommend)"
diff --git a/kde4/base/kdeplasma4-addons/BUILD b/kde4/base/kdeplasma4-addons/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdeplasma4-addons/BUILD
+++ b/kde4/base/kdeplasma4-addons/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeplasma4-addons/DEPENDS b/kde4/base/kdeplasma4-addons/DEPENDS
index 99f0b4f..943d6cb 100644
--- a/kde4/base/kdeplasma4-addons/DEPENDS
+++ b/kde4/base/kdeplasma4-addons/DEPENDS
@@ -1,4 +1,11 @@
 depends kdepimlibs4
 
-optional_depends kdeedu4 "" "" "for kdeedu support"
-optional_depends scim    "" "" "for multibyte input Plasmoid support"
+optional_depends attica       "-DWITH_LibAttica=ON" "-DWITH_LibAttica=OFF" "for Open Collaboration support"
+optional_depends qca2         "-DWITH_QCA2=ON"      "-DWITH_QCA2=OFF"      "for qca support"
+optional_depends libqalculate "-DWITH_Qalculate=ON" "-DWITH_Qalculate=OFF" "for multi-purpose desktop calculator support"
+optional_depends qwt          "-DWITH_Qwt=ON"       "-DWITH_Qwt=OFF"       "for qwt support"
+optional_depends scim         "-DWITH_SCIM=ON"      "-DWITH_SCIM=OFF"      "for multibyte input Plasmoid support"
+
+optional_depends kdebase4-workspace "-DWITH_KDE4Workspace=ON" "-DWITH_KDE4Workspace=OFF" "to use various libs/apps from kdebase-workspace"
+optional_depends kdepimlibs4        "-DWITH_KdepimLibs=ON"    "-DWITH_KdepimLibs=OFF"    "to use various libs/apps from kdepimlibs"
+optional_depends kdegraphics4       "-DWITH_Kexiv2=ON"        "-DWITH_Kexiv2=OFF"        "to use libkexiv2 library"
diff --git a/kde4/base/kdesdk4/BUILD b/kde4/base/kdesdk4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdesdk4/BUILD
+++ b/kde4/base/kdesdk4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdesdk4/DEPENDS b/kde4/base/kdesdk4/DEPENDS
index 9b593c9..2fceb79 100644
--- a/kde4/base/kdesdk4/DEPENDS
+++ b/kde4/base/kdesdk4/DEPENDS
@@ -1,5 +1,14 @@
 depends kdebase4
 
-optional_depends "cyrus-sasl" "" "" "for SASL support"
-optional_depends "antlr"      "" "" "for Language tool for constructing support"
-optional_depends "hunspell"   "" "" "for Library used for stemming support"
+optional_depends libxml2     "-DWITH_LibXml2=ON" "-DWITH_LibXml2=OFF" "for XML support"
+optional_depends libxslt     "-DWITH_LibXslt=ON" "-DWITH_LibXslt=OFF" "fir XSL support"
+optional_depends perl        "-DWITH_Perl=ON"    "-DWITH_Perl=OFF"    "for perl support"
+optional_depends kdebase4    "-DWITH_LibKonq=ON"    "-DWITH_LibKonq=OFF"    "for libkonq support"
+optional_depends kdepimlibs4 "-DWITH_KdepimLibs=ON" "-DWITH_KdepimLibs=OFF" "to use various libs/apps for kdepimlibs"
+optional_depends qca2        "-DWITH_QCA2=ON" "-DWITH_QCA2=OFF" "for qca support"
+optional_depends subversion  "-DWITH_SVN=ON"  "-DWITH_SVN=OFF" "for subversion support"
+optional_depends boost       "-DWITH_Boost=ON" "-DWITH_Boost=OFF" "for boost support"
+optional_depends antlr       "-DWITH_Antlr2=ON" "-DWITH_Antlr2=OFF" "for Language tool for constructing support"
+optional_depends hunspell    "-DWITH_HUNSPELL=ON" "-DWITH_HUNSPELL=OFF" "for Library used for stemming support"
+
+optional_depends shared-mime-info "" "" "for core MIME database used to represent types of files"
diff --git a/kde4/base/kdetoys4/BUILD b/kde4/base/kdetoys4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdetoys4/BUILD
+++ b/kde4/base/kdetoys4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeutils4/BUILD b/kde4/base/kdeutils4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdeutils4/BUILD
+++ b/kde4/base/kdeutils4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdeutils4/DEPENDS b/kde4/base/kdeutils4/DEPENDS
index 194dcf7..84c0b4c 100644
--- a/kde4/base/kdeutils4/DEPENDS
+++ b/kde4/base/kdeutils4/DEPENDS
@@ -1,6 +1,15 @@
 depends kdepimlibs4
-depends qjson
 
-optional_depends "gmp"        "" "" "to build kcalc"
-optional_depends "libzip"     "" "" "zip file support"
-optional_depends "libarchive" "" "" "support multiple archive formats"
+optional_depends "kdebindings4" "" "" "for PyKDE bindings support"
+optional_depends "libzip"       "" "" "zip file support"
+
+optional_depends "bzip2"      "-DWITH_BZip2=ON"   "-DWITH_BZip2=OFF"   "for bzip compression support"
+optional_depends "zlib"       "-DWITH_ZLIB=ON"    "-DWITH_ZLIB=OFF"    "for zlib compression support"
+optional_depends "lzma-sdk"   "-DWITH_LibLZMA=ON" "-DWITH_LibLZMA=OFF" "for lzma compression support"
+optional_depends "gmp"        "-DWITH_GMP=ON"     "-DWITH_GMP=OFF"     "to build kcalc"
+optional_depends "sip"        "-DWITH_SIP=ON"     "-DWITH_SIP=OFF"     "for sip support"
+optional_depends "qjson"      "-DWITH_QJSON=ON"   "-DWITH_QJSON=OFF"   "for qjson support"
+
+
+optional_depends "libarchive"  "-DWITH_LibArchive=ON"  "-DWITH_LibArchive=OFF"  "support multiple archive formats"
+optional_depends "qimageblitz" "-DWITH_QImageBlitz=ON" "-DWITH_QImageBlitz=OFF" "for image effects support"
diff --git a/kde4/base/kdewebdev4/BUILD b/kde4/base/kdewebdev4/BUILD
index bcdc376..9b966f9 100644
--- a/kde4/base/kdewebdev4/BUILD
+++ b/kde4/base/kdewebdev4/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 
diff --git a/kde4/base/kdewebdev4/DEPENDS b/kde4/base/kdewebdev4/DEPENDS
index 3f30e46..0ca56da 100644
--- a/kde4/base/kdewebdev4/DEPENDS
+++ b/kde4/base/kdewebdev4/DEPENDS
@@ -1,3 +1,4 @@
 depends kdepimlibs4
 
-optional_depends tidy  ""  ""  "to tidy up HTML"
+optional_depends tidy  "-DWITH_LibTidy=ON"  "-DWITH_LibTidy=OFF"  "to tidy up HTML"
+optional_depends ruby  "-DWITH_RUBY=ON"     "-DWITH_RUBY=OFF"     "for ruby support"
diff --git a/kde4/base/oxygen-icons/BUILD b/kde4/base/oxygen-icons/BUILD
index ab4bb79..8d6e385 100644
--- a/kde4/base/oxygen-icons/BUILD
+++ b/kde4/base/oxygen-icons/BUILD
@@ -2,17 +2,12 @@
 
   export CFLAGS="$CFLAGS -fPIC"  &&
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
+  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+        -DCMAKE_BUILD_TYPE=RELEASE             \
+        $OPTS .                               &&
 
   default_make
 


More information about the Lunar-commits mailing list