[Lunar-commits] <moonbase> avidemux: A little fixup/change in the BUILD.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Apr 1 15:28:32 CEST 2010
commit b3a63f003858a3b52a33dc9d080feed694c6e1e1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Apr 1 09:28:32 2010 -0400
avidemux: A little fixup/change in the BUILD.
---
video/avidemux/BUILD | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/video/avidemux/BUILD b/video/avidemux/BUILD
index 2f10cd1..97b5d02 100644
--- a/video/avidemux/BUILD
+++ b/video/avidemux/BUILD
@@ -1,10 +1,24 @@
(
- OPTS="--with-jsapi-include=/usr/include/js/ $OPTS"
+ sedit "s:Icon=:Icon=/usr/share/pixmaps/:" avidemux2-gtk.desktop avidemux2.desktop &&
- mkdir build &&
- cd build &&
- cmake .. -DCMAKE_INSTALL_PREFIX:=/usr &&
- default_make
+ OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
+
+ mkdir $OOTB_DIR &&
+ cd $OOTB_DIR &&
+
+# Make some plugin dirs for future use.
+ if [ ! -d /usr/lib/ADM_plugins ] ; then
+ mkdir -p /usr/lib/ADM_plugins/{audioDecoder,videoFilter,audioDevices,audioEncoders}
+ fi &&
+
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+ default_make &&
+
+ install -D -m644 ../${MODULE}2-gtk.desktop /usr/share/applications/${MODULE}2-gtk.desktop &&
+ install -D -m644 ../avidemux_icon.png /usr/share/pixmaps/avidemux.png
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list