[Lunar-commits] <moonbase> kde4/apps: Adjusting the BUILD by switching to default_cmake_build.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Jun 8 09:50:02 CEST 2011


commit 49bc3507c9bf193cbabefce220e690cdd52a673e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Jun 8 03:50:02 2011 -0400

    kde4/apps: Adjusting the BUILD by switching to default_cmake_build.
---
 kde4/apps/PolicyKit-kde/BUILD  |   12 ++----------
 kde4/apps/amarok4/BUILD        |    6 +-----
 kde4/apps/braindump/BUILD      |   11 +----------
 kde4/apps/choqok/BUILD         |   10 +---------
 kde4/apps/digikam4/BUILD       |    6 +-----
 kde4/apps/frescobaldi/BUILD    |   11 +----------
 kde4/apps/k3b/BUILD            |   12 +-----------
 kde4/apps/kaffeine/BUILD       |    8 +-------
 kde4/apps/kdenlive/BUILD       |   10 +---------
 kde4/apps/kdesvn4/BUILD        |   12 +-----------
 kde4/apps/kdevelop-pg-qt/BUILD |   10 +---------
 kde4/apps/kdevelop4/BUILD      |   10 +---------
 kde4/apps/kmid/BUILD           |    7 +------
 kde4/apps/kmplayer/BUILD       |    7 +------
 kde4/apps/kmymoney/BUILD       |   10 +---------
 kde4/apps/koffice/BUILD        |   11 ++++-------
 kde4/apps/konversation4/BUILD  |   11 +----------
 kde4/apps/kradio4/BUILD        |    8 +-------
 kde4/apps/krename/BUILD        |   11 +----------
 kde4/apps/kvpnc/BUILD          |   10 +---------
 kde4/apps/kwave4/BUILD         |   11 +----------
 kde4/apps/rekonq/BUILD         |   12 ++----------
 kde4/apps/rkward4/BUILD        |   12 ++----------
 23 files changed, 29 insertions(+), 199 deletions(-)

diff --git a/kde4/apps/PolicyKit-kde/BUILD b/kde4/apps/PolicyKit-kde/BUILD
index ec0fe41..6ded5c5 100644
--- a/kde4/apps/PolicyKit-kde/BUILD
+++ b/kde4/apps/PolicyKit-kde/BUILD
@@ -2,17 +2,9 @@
 
   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             &&
-
-  default_make
-
+  default_cmake_build
+  
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/amarok4/BUILD b/kde4/apps/amarok4/BUILD
index ec8471c..26d9b10 100644
--- a/kde4/apps/amarok4/BUILD
+++ b/kde4/apps/amarok4/BUILD
@@ -4,10 +4,6 @@
 
   sedit "s:/opt/local:$QTDIR:g" cmake/modules/FindLibLastFm.cmake &&
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        $OPTS .                               &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/braindump/BUILD b/kde4/apps/braindump/BUILD
index 7740514..0bf5697 100644
--- a/kde4/apps/braindump/BUILD
+++ b/kde4/apps/braindump/BUILD
@@ -1,17 +1,8 @@
 (
 
-  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                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/choqok/BUILD b/kde4/apps/choqok/BUILD
index cfe1fca..66b8483 100644
--- a/kde4/apps/choqok/BUILD
+++ b/kde4/apps/choqok/BUILD
@@ -1,16 +1,8 @@
 (
 
-  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            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/digikam4/BUILD b/kde4/apps/digikam4/BUILD
index 18bcef0..0bf5697 100644
--- a/kde4/apps/digikam4/BUILD
+++ b/kde4/apps/digikam4/BUILD
@@ -3,10 +3,6 @@
   source /etc/profile.d/qt4.rc  &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        $OPTS .                               &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/frescobaldi/BUILD b/kde4/apps/frescobaldi/BUILD
index a2eae7c..2242620 100644
--- a/kde4/apps/frescobaldi/BUILD
+++ b/kde4/apps/frescobaldi/BUILD
@@ -3,15 +3,6 @@
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/k3b/BUILD b/kde4/apps/k3b/BUILD
index af8d917..453bb0c 100644
--- a/kde4/apps/k3b/BUILD
+++ b/kde4/apps/k3b/BUILD
@@ -1,18 +1,8 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   . /etc/profile.d/qt4.rc &&
   . /etc/profile.d/kde4.rc &&
 
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR &&
-
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS&&
-
-  default_make  
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kaffeine/BUILD b/kde4/apps/kaffeine/BUILD
index c422b67..2242620 100644
--- a/kde4/apps/kaffeine/BUILD
+++ b/kde4/apps/kaffeine/BUILD
@@ -1,14 +1,8 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DKDE4_ENABLE_FINAL=ON                 \
-                           -DCMAKE_BUILD_TYPE=RELEASE            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kdenlive/BUILD b/kde4/apps/kdenlive/BUILD
index aacc1e3..66b8483 100644
--- a/kde4/apps/kdenlive/BUILD
+++ b/kde4/apps/kdenlive/BUILD
@@ -1,16 +1,8 @@
 (
 
-  KDE4_BUILD_DIR="$SOURCE_DIRECTORY/kde4-build"
-
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  mkdir $KDE4_BUILD_DIR  &&
-  cd $KDE4_BUILD_DIR     &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kdesvn4/BUILD b/kde4/apps/kdesvn4/BUILD
index 0320ae0..72acba7 100644
--- a/kde4/apps/kdesvn4/BUILD
+++ b/kde4/apps/kdesvn4/BUILD
@@ -1,21 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
 # Fixes make barf dealing with dtd/kdex.dtd.
   sedit "s:V4.1.2:V4.2:" doc/nl/index.docbook &&
 
   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                                 &&
-
-  default_make  
+  default_cmake_build 
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kdevelop-pg-qt/BUILD b/kde4/apps/kdevelop-pg-qt/BUILD
index 74b36be..2242620 100644
--- a/kde4/apps/kdevelop-pg-qt/BUILD
+++ b/kde4/apps/kdevelop-pg-qt/BUILD
@@ -1,16 +1,8 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" && 
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kdevelop4/BUILD b/kde4/apps/kdevelop4/BUILD
index 4da9881..0bf5697 100644
--- a/kde4/apps/kdevelop4/BUILD
+++ b/kde4/apps/kdevelop4/BUILD
@@ -1,16 +1,8 @@
 (
 
-  OUT_OF_TREE_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   source /etc/profile.d/qt4.rc  &&
   source /etc/profile.d/kde4.rc &&
 
-  mkdir $OUT_OF_TREE_DIR &&
-  cd $OUT_OF_TREE_DIR &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kmid/BUILD b/kde4/apps/kmid/BUILD
index ba3dec0..2242620 100644
--- a/kde4/apps/kmid/BUILD
+++ b/kde4/apps/kmid/BUILD
@@ -1,13 +1,8 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kmplayer/BUILD b/kde4/apps/kmplayer/BUILD
index 5cf8441..2242620 100644
--- a/kde4/apps/kmplayer/BUILD
+++ b/kde4/apps/kmplayer/BUILD
@@ -1,13 +1,8 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE .  &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kmymoney/BUILD b/kde4/apps/kmymoney/BUILD
index 46f565a..66b8483 100644
--- a/kde4/apps/kmymoney/BUILD
+++ b/kde4/apps/kmymoney/BUILD
@@ -1,16 +1,8 @@
 (
 
-  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            &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/koffice/BUILD b/kde4/apps/koffice/BUILD
index 41efcc0..dbb46a7 100644
--- a/kde4/apps/koffice/BUILD
+++ b/kde4/apps/koffice/BUILD
@@ -1,10 +1,7 @@
 (
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
-        -DCMAKE_BUILD_TYPE=RELEASE            \
-        -Wno-dev                              \
-        $OPTS .                              &&
-
-  default_make
-
+  OPTS+=" -Wno-dev" &&
+  
+  default_cmake_build
+  
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/konversation4/BUILD b/kde4/apps/konversation4/BUILD
index ef542d7..2242620 100644
--- a/kde4/apps/konversation4/BUILD
+++ b/kde4/apps/konversation4/BUILD
@@ -1,17 +1,8 @@
 (
 
-  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                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kradio4/BUILD b/kde4/apps/kradio4/BUILD
index 3d61842..2242620 100644
--- a/kde4/apps/kradio4/BUILD
+++ b/kde4/apps/kradio4/BUILD
@@ -1,14 +1,8 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/krename/BUILD b/kde4/apps/krename/BUILD
index bcdc376..66b8483 100644
--- a/kde4/apps/krename/BUILD
+++ b/kde4/apps/krename/BUILD
@@ -1,17 +1,8 @@
 (
 
-  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                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kvpnc/BUILD b/kde4/apps/kvpnc/BUILD
index babe1d6..2242620 100644
--- a/kde4/apps/kvpnc/BUILD
+++ b/kde4/apps/kvpnc/BUILD
@@ -1,16 +1,8 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build"
-
   source /etc/profile.d/qt4.rc &&
   source /etc/profile.d/kde4.rc &&
 
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR &&
-
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE $OPTS       &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/kwave4/BUILD b/kde4/apps/kwave4/BUILD
index ea17a97..a55deb7 100644
--- a/kde4/apps/kwave4/BUILD
+++ b/kde4/apps/kwave4/BUILD
@@ -1,17 +1,8 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
-
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR    &&
-
   . /etc/profile.d/qt4.rc  &&
   . /etc/profile.d/kde4.rc &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             \
-                           $OPTS                                 &&
-
-  default_make
+  default_cmake_build
  
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/rekonq/BUILD b/kde4/apps/rekonq/BUILD
index 0e77475..0abd5ee 100644
--- a/kde4/apps/rekonq/BUILD
+++ b/kde4/apps/rekonq/BUILD
@@ -3,14 +3,6 @@
   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             &&
-
-  default_make
-
+  default_cmake_build
+  
 ) > $C_FIFO 2>&1
diff --git a/kde4/apps/rkward4/BUILD b/kde4/apps/rkward4/BUILD
index 565edd0..cc4aa21 100644
--- a/kde4/apps/rkward4/BUILD
+++ b/kde4/apps/rkward4/BUILD
@@ -1,18 +1,10 @@
 (
 
-  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                                 &&
-  default_make &&
-
+  default_cmake_build &&
+  
   export $(dbus-launch)
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list