[Lunar-commits] <moonbase> kwave4: A little fix up in the BUILD and DEPENDS.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Fri Dec 25 15:08:00 CET 2009
commit ba89f8c21e38e96b9f8dbd79fd045c16fc77ceee
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Fri Dec 25 09:08:00 2009 -0500
kwave4: A little fix up in the BUILD and DEPENDS.
---
kde4/apps/kwave4/BUILD | 14 +++++++++++---
kde4/apps/kwave4/DEPENDS | 7 ++++++-
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/kde4/apps/kwave4/BUILD b/kde4/apps/kwave4/BUILD
index c517517..ea17a97 100644
--- a/kde4/apps/kwave4/BUILD
+++ b/kde4/apps/kwave4/BUILD
@@ -1,9 +1,17 @@
(
- . /etc/profile.d/qt4.rc
- . /etc/profile.d/kde4.rc
+ 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 &&
- cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX ./ &&
default_make
) > $C_FIFO 2>&1
diff --git a/kde4/apps/kwave4/DEPENDS b/kde4/apps/kwave4/DEPENDS
index a97b4e5..06219f7 100644
--- a/kde4/apps/kwave4/DEPENDS
+++ b/kde4/apps/kwave4/DEPENDS
@@ -2,4 +2,9 @@ depends kdelibs4
depends cmake
depends fftw3
-
+optional_depends phonon "-DWITH_PHONON=ON" "-DWITH_PHONON=OFF" "for the phonon API support"
+optional_depends pulseaudio "-DWITH_PULSEAUDIO=ON" "-DWITH_PULSEAUDIO=OFF" "for pulseaudio support"
+optional_depends flac "-DWITH_FLAC=ON" "-DWITH_FLAC=OFF" "for flac audio support"
+optional_depends libsamplerate "-DWITH_SAMPLERATE=ON" "-DWITH_SAMPLERATE=OFF" "for libsamplerate support"
+optional_depends libvorbis "-DWITH_OGG=ON" "-DWITH_OGG=OFF" "for vorbis audio support"
+optional_depends lame "-DWITH_MP3=ON" "-DWITH_MP3=OFF" "for mp3 support"
More information about the Lunar-commits
mailing list