[Lunar-commits] <moonbase> mlt: Version bump. Adding a CONFIGURE and fleshing out the DEPENDS.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sat Mar 26 12:33:28 CET 2011
commit a9ccd4402b92f72638c4a29950e416bbc8539580
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sat Mar 26 07:33:28 2011 -0400
mlt: Version bump. Adding a CONFIGURE and fleshing out the DEPENDS.
---
video/mlt/BUILD | 14 ++++++++++++--
video/mlt/CONFIGURE | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
video/mlt/DEPENDS | 8 ++++++++
video/mlt/DETAILS | 6 +++---
4 files changed, 71 insertions(+), 5 deletions(-)
diff --git a/video/mlt/BUILD b/video/mlt/BUILD
index e0e0552..553f76b 100644
--- a/video/mlt/BUILD
+++ b/video/mlt/BUILD
@@ -1,7 +1,17 @@
(
- OPTS+=" --enable-gpl --avformat-swscale"
- default_build
+ OPTS+=" --disable-debug" &&
+
+ 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 &&
+
+ default_config &&
+ sedit "s:,: :g" src/swig/config.mak &&
+
+ default_make
) > $C_FIFO 2>&1
diff --git a/video/mlt/CONFIGURE b/video/mlt/CONFIGURE
new file mode 100644
index 0000000..92bef19
--- /dev/null
+++ b/video/mlt/CONFIGURE
@@ -0,0 +1,48 @@
+mquery USE_GPL "Enable GPL components?" y "--enable-gpl" "--disable-gpl"
+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 BINDINGS "Build Bindings?" y
+
+CLIST=""
+
+if [ "`get_module_config BINDINGS`" = "y" ]; then
+
+ mquery JAVA "Build Java bindings?" y
+ if [ "`get_module_config JAVA`" = "y" ]; then
+ CLIST="${CLIST}java,"
+ fi
+
+ mquery LUA "Build lua bindings?" y
+ if [ "`get_module_config LUA`" = "y" ]; then
+ CLIST="${CLIST}lua,"
+ fi
+
+ mquery PYTHON "Build Python bindings?" y
+ if [ "`get_module_config PYTHON`" = "y" ]; then
+ CLIST="${CLIST}python,"
+ fi
+
+ mquery PHP "Build php bindings?" y
+ if [ "`get_module_config PHP`" = "y" ]; then
+ CLIST="${CLIST}php,"
+ fi
+
+ mquery PERL "Build Perl bindings?" y
+ if [ "`get_module_config PERL`" = "y" ]; then
+ CLIST="${CLIST}perl,"
+ fi
+
+ mquery RUBY "Build Ruby bindings?" y
+ if [ "`get_module_config RUBY`" = "y" ]; then
+ CLIST="${CLIST}ruby,"
+ fi
+
+ mquery TCL "Build tcl bindings?" y
+ if [ "`get_module_config TCL`" = "y" ]; then
+ CLIST="${CLIST}tcl"
+ fi
+fi
+
+ OPTS+="--swig-languages=${CLIST}"
diff --git a/video/mlt/DEPENDS b/video/mlt/DEPENDS
index 1de093b..5962ff2 100644
--- a/video/mlt/DEPENDS
+++ b/video/mlt/DEPENDS
@@ -2,3 +2,11 @@ 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 %JAVA_SDK "" "" "to build Java bindings"
+optional_depends lua "" "" "to build luar bindings"
+optional_depends Python "" "" "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"
diff --git a/video/mlt/DETAILS b/video/mlt/DETAILS
index bba642d..70ea178 100644
--- a/video/mlt/DETAILS
+++ b/video/mlt/DETAILS
@@ -1,11 +1,11 @@
MODULE=mlt
- VERSION=0.6.0
+ VERSION=0.6.2
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=$SFORGE_URL/$MODULE
- SOURCE_VFY=sha1:780db80b5d33cec10c6a2d4ed72716d9356b3c29
+ SOURCE_VFY=sha1:8ff3b7d37a3e4ae45665f9c1cf7998f1cdd1ed03
WEB_SITE=http://www.mltframework.org/twiki/bin/view/MLT
ENTERED=20071106
- UPDATED=20110102
+ UPDATED=20110326
SHORT="open source multimedia framework"
cat << EOF
More information about the Lunar-commits
mailing list