[Lunar-commits] <moonbase> kdebindings4: Adding to some of the descriptions in DEPENDS and adding a CONFIGURE

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon May 16 20:44:50 CEST 2011


commit 2f42021838c9dab4aab3665d03648e9bd75edc1e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon May 16 14:44:50 2011 -0400

    kdebindings4: Adding to some of the descriptions in DEPENDS and adding a CONFIGURE
    
    to enable/disable kross script support.
---
 kde4/base/kdebindings4/CONFIGURE |   49 ++++++++++++++++++++++++++++++++++++++
 kde4/base/kdebindings4/DEPENDS   |   12 ++++----
 2 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/kde4/base/kdebindings4/CONFIGURE b/kde4/base/kdebindings4/CONFIGURE
new file mode 100644
index 0000000..03a7630
--- /dev/null
+++ b/kde4/base/kdebindings4/CONFIGURE
@@ -0,0 +1,49 @@
+mquery KROSS "Build kross modules?" y
+
+if [ "`get_module_config KROSS`" = "y" ]; then
+    mquery USE_KROSS_RUBY "Enable kross ruby?" y
+    if [ "`get_module_config USE_KROSS_RUBY`" = "y" ]; then
+      if in_depends $MODULE ruby ; then
+        OPTS="-DENABLE_KROSSRUBY=ON"
+       else
+        OPTS="-DENABLE_KROSSRUBY=OFF"
+      fi
+    fi
+
+   mquery USE_KROSS_PYTHON "Enable kross python?" y
+    if [ "`get_module_config USE_KROSS_PYTHON`" = "y" ]; then
+      if in_depends $MODULE Python ; then
+        OPTS="-DENABLE_KROSSPYTHONE=ON"
+       else
+        OPTS="-DENABLE_KROSSPYTHON=OFF"
+      fi
+    fi
+
+   mquery USE_KROSS_PHP "Enable kross PHP?" y
+    if [ "`get_module_config USE_KROSS_PHP`" = "y" ]; then
+      if in_depends $MODULE %PHP ; then
+        OPTS="-DENABLE_PHP-QT=ON"
+       else
+        OPTS="-DENABLE_PHP-QT=OFF"
+      fi
+    fi
+fi
+
+#   mquery USE_KROSS_JAVA "Enable kross java" y
+#    if [ "`get_module_config USE_KROSS_JAVA`" = "y" ]; then
+#      if in_depends $MODULE sun-jdk ; then
+#        OPTS="-DENABLE_KROSSJAVA=ON" 
+#       else
+#        OPTS="-DENABLE_KROSSJAVA=OFF"
+#      fi
+#    fi
+
+#     mquery USE_KROSS_FALCON "Enable kross Falcon?" y
+#    if [ "`get_module_config USE_KROSS_FLACON`" = "y" ]; then 
+#     if in_depends $MODULE Falcon ; then
+#        OPTS="-DENABLE_KROSSFALCON=ON"
+#       else
+#        OPTS="-DENABLE_KROSSFALCON=OFF"
+#      fi
+#    fi
+#fi
diff --git a/kde4/base/kdebindings4/DEPENDS b/kde4/base/kdebindings4/DEPENDS
index 9018659..bdcfa6d 100644
--- a/kde4/base/kdebindings4/DEPENDS
+++ b/kde4/base/kdebindings4/DEPENDS
@@ -7,14 +7,14 @@ optional_depends "attica"       "-DWITH_LibAttica=ON"  "-DWITH_LibAttica=OFF"  "
 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 "sun-jdk"      "-DBUILD_java=ON"      "-DBUILD_java=OFF"      "for java and kross scripting support"
+optional_depends "perl"         "-DBUILD_perl=ON"      "-DBUILD_perl=OFF"      "for perl and kross scripting 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 "Python"       "-DBUILD_python=ON"    "-DBUILD_python=OFF"    "for Python bindings and kross scripting support"
+optional_depends "%PHP"         "-DBUILD_php=on"       "-DBUILD_php=off"       "for php and kross scripting support"
+optional_depends "ruby"         "-DBUILD_ruby=ON"      "-DBUILD_ruby=OFF"      "for ruby bindings and kross scripting support"
 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 "Falcon"       "-DBUILD_falcon=ON"    "-DBUILD_falcon=OFF"    "for Falcon bindings and kross scripting support"
 optional_depends "qwt"          "-DWITH_Qwt5=ON"       "-DWITH_Qwt5=OFF"       "for Qwt5 bindings support"


More information about the Lunar-commits mailing list