[Lunar-commits] <moonbase-other> mlt: Readding to moonbase. Redoing the BUILD, CONFIGURE and DEPENDS.

Dennis Veatch stumbles at lunar-linux.org
Wed Sep 5 20:09:17 CEST 2012


commit 9a119a6813bfba01662f1367c1c88b02c8271d16
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Wed, 05 Sep 2012 11:09:17 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/9a119a6813bfba01662f1367c1c88b02c8271d16

mlt: Readding to moonbase. Redoing the BUILD, CONFIGURE and DEPENDS.

These should do for a start, will poke at the other bindings later.
---
  utils/mlt/BUILD     | +39/-0    
  utils/mlt/CONFIGURE | +6/-0     
  utils/mlt/DEPENDS   | +15/-0    
  utils/mlt/DETAILS   | +17/-0    
  4 files changed, 77 insertions(+)

--- /dev/null
+++ b/utils/mlt/BUILD
@@ -0,0 +1,39 @@
+(
+
+  . /etc/profile.d/qt4.rc  &&
+  . /etc/profile.d/kde4.rc &&
+  
+  OPTS+=" --arch='$CPU' --kde-libdir=/usr/lib --kde-includedir=/usr/include \
+          --qimage-includedir=/usr/include/qt4 --qimage-libdir=/usr/lib/qt4" &&
+
+  default_build &&
+
+# The bindings install process is a little incomplete.
+  if in_depends $MODULE sun-jdk; then
+    export JAVA_INCLUDE="-I/usr/java/latest/include -I/usr/java/latest/include/linux"
+   else
+    export JAVA_INCLUDE="-I/usr/java/latest/include -I/usr/java/latest/include/linux"
+  fi &&
+
+  if in_depends $MODULE pyxdg; then
+    ./configure --prefix=/usr --swig-languages="python" &&
+    make &&
+    prepare_install &&
+    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
+
+  if in_depends $MODULE ruby; then
+    RUBY_VER=`lvu installed ruby | cut -c 1-3` &&
+    ./configure --prefix=/usr --swig-languages="ruby" &&
+    make &&
+    prepare_install &&
+     install -m755 src/swig/ruby/mlt.so /usr/lib/ruby/site_ruby/$RUBY_VER/ &&
+     install -m755 src/swig/ruby/mlt_wrap.o /usr/lib/ruby/site_ruby/$RUBY_VER/ &&
+     install -m755 src/swig/ruby/*.rb /usr/lib/ruby/site_ruby/$RUBY_VER/
+  fi
+
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/utils/mlt/CONFIGURE
@@ -0,0 +1,6 @@
+mquery USE_GPL "Enable GPL2 components?" y "--enable-gpl" "--disable-gpl"
+mquery USE_GPL3 "Enable GPL3 components?" y "--enable-gpl3" "--disable-gpl3"
+mquery USE_SWSCALE "Use libswcale instead of img_convert?" y "--avformat-swscale"
+mquery USE_8BPP "Use 8bpp instead of the default 16bpp?" n "" "--luma-8bpp"
+mquery USE_COMP "Use compressed png lumas?" n "" "--luma-compress"
+mquery USE_SWSCALE "Use libswcale instead of img_convert?" y " --avformat-swscale"
--- /dev/null
+++ b/utils/mlt/DEPENDS
@@ -0,0 +1,15 @@
+depends ffmpeg
+
+optional_depends sox       "--enable-sox"       "--disable-sox"    "for sox support"
+optional_depends frei0r    "--enable-frei0r"    "--disable-frei0r" "for video effects support"
+
+optional_depends libvdpau  "--avformat-vdpau"   ""                 "For Nvidia vdpau support"
+optional_depends %JPEG     "--linsys-with-jpeg" ""                 "enable export of JPEG"
+
+optional_depends %JAVA_SDK "" "" "to build Java bindings"
+optional_depends lua       "" "" "to build luar 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"
+optional_depends ruby      "" "" "to build ruby bindings"
--- /dev/null
+++ b/utils/mlt/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=mlt
+         VERSION=0.8.2
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:0bff1f13baaa8431de6969de62a827d45a9c178a
+        WEB_SITE=http://www.mltframework.org/twiki/bin/view/MLT
+         ENTERED=20071106
+         UPDATED=20120905
+           SHORT="open source multimedia framework"
+cat << EOF
+MLT is an open source multimedia framework, designed and developed for
+television broadcasting. It provides a toolkit for broadcasters, video
+editors, media players, transcoders, web streamers and many more types
+of applications. The functionality of the system is provided via an
+assortment of ready to use tools, xml authoring components, and an
+extendible plug-in based API.
+EOF




More information about the Lunar-commits mailing list