[Lunar-commits] <moonbase> mlt: Switching out the python optional_depends and adjusting the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Mar 26 23:21:05 CET 2011


commit 7f7fcacafd84fc38d4819ec9e1ecee3a3d0d81f7
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Mar 26 18:21:05 2011 -0400

    mlt: Switching out the python optional_depends and adjusting the BUILD.
---
 video/mlt/BUILD   |   10 +++++++++-
 video/mlt/DEPENDS |    2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/video/mlt/BUILD b/video/mlt/BUILD
index 553f76b..7707c08 100644
--- a/video/mlt/BUILD
+++ b/video/mlt/BUILD
@@ -12,6 +12,14 @@
   default_config &&
   sedit "s:,: :g" src/swig/config.mak &&
 
-  default_make
+  default_make &&
+
+# The bindings install process is a little incomplete.
+  if in_depends $MODULE pyxdg; then
+    PYTHON_VER=`lvu installed Python | cut -c 1-3` &&
+     install -m755 src/swig/python/mlt.py /usr/lib/python${PYTHON_VER}/site-packages/     &&
+     install -m755 src/swig/python/_mlt.so /usr/lib/python${PYTHON_VER}/site-packages/    &&
+     install -m755 src/swig/python/mlt_wrap.o /usr/lib/python${PYTHON_VER}/site-packages/
+  fi
 
 ) > $C_FIFO 2>&1
diff --git a/video/mlt/DEPENDS b/video/mlt/DEPENDS
index 5962ff2..aca1636 100644
--- a/video/mlt/DEPENDS
+++ b/video/mlt/DEPENDS
@@ -5,7 +5,7 @@ optional_depends frei0r "--enable-frei0r" "--disable-frei0r" "for video effects
 
 optional_depends %JAVA_SDK "" "" "to build Java bindings"
 optional_depends lua       "" "" "to build luar bindings"
-optional_depends Python    "" "" "to build python bindings"
+optional_depends pyxdg     "" "" "to build python bindings"
 optional_depends perl      "" "" "to build perl bindings"
 optional_depends tcl       "" "" "to build tcl bindings"
 optional_depends %PHP      "" "" "to build php bindings"


More information about the Lunar-commits mailing list