[Lunar-commits] <moonbase> strigi: A little tweaking of the BUILD and fleshing out of the DEPENDS for more

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Sep 8 12:37:13 CEST 2010


commit 9af1f45930f08f7ba108e53f8e2c330ce56045cb
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Sep 8 06:37:13 2010 -0400

    strigi: A little tweaking of the BUILD and fleshing out of the DEPENDS for more
    
    user control.
---
 kde4/utils/strigi/BUILD   |   11 +++++++++--
 kde4/utils/strigi/DEPENDS |   18 +++++++++++++-----
 2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/kde4/utils/strigi/BUILD b/kde4/utils/strigi/BUILD
index da52bb0..98d263c 100644
--- a/kde4/utils/strigi/BUILD
+++ b/kde4/utils/strigi/BUILD
@@ -1,7 +1,14 @@
 (
 
-  cmake -DCMAKE_INSTALL_PREFIX:=/usr   \
-        -DENABLE_INOTIFY:BOOL=ON      &&
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  mkdir $OOSB_DIR  &&
+  cd $OOSB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DENABLE_INOTIFY=ON                    \
+                           -DCMAKE_BUILD_TYPE=RELEASE             \
+                           $OPTS                                 &&
 
   default_make
 
diff --git a/kde4/utils/strigi/DEPENDS b/kde4/utils/strigi/DEPENDS
index 73f371a..ac45f03 100644
--- a/kde4/utils/strigi/DEPENDS
+++ b/kde4/utils/strigi/DEPENDS
@@ -1,13 +1,21 @@
 depends  file
+depends  libxml2
 depends  cmake
 depends  clucene
 depends  zlib
 depends  bzip2
 depends  openssl
 
-optional_depends "libxml2" ""  ""  "for XML support"
-optional_depends "cppunit" ""  ""  "Support for Strigi unit tests"
+optional_depends "%JAVA_SDK"    ""  ""  "for java support" 
 
-# This will be an optional_depends in a future version of strigi. Noting it
-# here so I don't forget.
-#optional_depends apache-log4cxx "" "" "for advanced logging support"
+optional_depends "exiv2"        "-DENABLE_EXIV2=ON"      \
+                                "-DENABLE_EXIV2=OFF"     \
+                                "for metadata indexing support"
+
+optional_depends "cppunit"      "-DENABLE_CPPUNIT=ON"   \
+                                "-DENABLE_CPPUNIT=OFF"  \
+                                "Support for Strigi unit tests"
+
+optional_depends apache-log4cxx "-DENABLE_LOG4CXX=ON"    \
+                                "-DENABLE_LOG4CXX=OFF"   \
+                                "for advanced logging support"


More information about the Lunar-commits mailing list