summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/libraries/mlt
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/libraries/mlt')
-rw-r--r--ubuntu/_base/libraries/mlt/debian/changelog170
-rw-r--r--ubuntu/_base/libraries/mlt/debian/compat1
-rw-r--r--ubuntu/_base/libraries/mlt/debian/control79
-rw-r--r--ubuntu/_base/libraries/mlt/debian/copyright98
-rw-r--r--ubuntu/_base/libraries/mlt/debian/libmiracle0.2.5-trinity.install1
-rw-r--r--ubuntu/_base/libraries/mlt/debian/libmlt-dev.manpages1
-rw-r--r--ubuntu/_base/libraries/mlt/debian/libmlt-trinity-dev.install5
-rw-r--r--ubuntu/_base/libraries/mlt/debian/libmlt0.2.5-trinity.install2
-rw-r--r--ubuntu/_base/libraries/mlt/debian/libvalerie0.2.5-trinity.install1
-rw-r--r--ubuntu/_base/libraries/mlt/debian/mlt-config.132
-rw-r--r--ubuntu/_base/libraries/mlt/debian/patches/.gitignore0
-rwxr-xr-xubuntu/_base/libraries/mlt/debian/rules124
-rw-r--r--ubuntu/_base/libraries/mlt/debian/source/format1
-rw-r--r--ubuntu/_base/libraries/mlt/debian/source/options6
-rw-r--r--ubuntu/_base/libraries/mlt/debian/watch3
15 files changed, 524 insertions, 0 deletions
diff --git a/ubuntu/_base/libraries/mlt/debian/changelog b/ubuntu/_base/libraries/mlt/debian/changelog
new file mode 100644
index 000000000..c1226d47e
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/changelog
@@ -0,0 +1,170 @@
+mlt-trinity (0.2.4.svn20071228-0.0ubuntu5) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+mlt-trinity (0.2.4.svn20071228-0.0ubuntu4) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600
+
+mlt-trinity (0.2.4.svn20071228-0.0ubuntu2) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 16 Dec 2008 16:15:00 -0600
+
+mlt (0.2.4.svn20071228-0.0ubuntu4) intrepid; urgency=low
+
+ * debian/patches/missing_declarations.patch: include string.h and
+ stdlib.h where needed to fix a build failure due to undeclared
+ functions. LP: #264613.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 24 Sep 2008 15:19:14 +0000
+
+mlt (0.2.4.svn20071228-0.0ubuntu3) intrepid; urgency=low
+
+ * No-change rebuild against libavformat52 and libavcodec51.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 24 Sep 2008 09:52:46 +0000
+
+mlt (0.2.4.svn20071228-0.0ubuntu2) hardy; urgency=low
+
+ [ Murat Güneş ]
+ * Fixed typos in libvalerie and libmiracle descriptions (LP: #188440)
+
+ [ Albin Tonnerre ]
+ * Sigh
+
+ -- Murat Güneş <mgunes@ubuntu.com> Sun, 03 Feb 2008 04:03:15 +0200
+
+mlt (0.2.4.svn20071228-0.0ubuntu1) hardy; urgency=low
+
+ * Resync the package with debian-multimedia
+ * debian/copyright: Add copyright informations
+ * debian/control, *.install: Split the libraries in 3 different packages
+ * debian/rules
+ - Add shlibs informations for the other library packages
+ - Remove --disable ffmpeg and --disable-sox from configure flags
+ - Use dh_install instead of dh_movefiles, and install in debian/tmp
+ * debian/control
+ - Build-Depend on libsox-dev
+ - Remove the 'cvs' suffix from dependencies lib{avformat,avutil,swscale}cvs
+ so that we can use the libs actually in ubuntu
+ - Conflict/Replace the previous ubuntu versions as needed
+ * Add a manpage for libmlt-dev
+ * patches/02_path.dpatch: edit: still install the feeds files in /usr/share
+
+ -- Albin Tonnerre <lutin@ubuntu.com> Wed, 30 Jan 2008 15:13:32 +0100
+
+mlt (0.2.4.svn20071228-0.0) unstable; urgency=low
+
+ * New svn release.
+ * Replace libqt3-mt-dev by kdelibs4-dev in Build-Depends.
+ * Install modules in /usr/lib instead of /usr/share
+
+ -- Christian Marillat <marillat@debian.org> Sat, 29 Dec 2007 17:12:24 +0100
+
+mlt (0.2.4-0.1) unstable; urgency=low
+
+ * Add a Replaces and Conflicts libmlt
+
+ -- Christian Marillat <marillat@debian.org> Sun, 12 Aug 2007 13:13:24 +0200
+
+mlt (0.2.4-0.0) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org> Tue, 07 Aug 2007 11:31:44 +0200
+
+mlt (0.2.3-0.4) unstable; urgency=low
+
+ * Rebuild against the latest libquicktime-dev package.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 20 Jul 2007 09:53:04 +0200
+
+mlt (0.2.3-0.3) unstable; urgency=low
+
+ * Rebuild against the latest flac-dev package.
+
+ -- Christian Marillat <marillat@debian.org> Sun, 15 Jul 2007 08:37:32 +0200
+
+mlt (0.2.3-0.2) unstable; urgency=low
+
+ * Move mlt-config in the -dev package.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 18 May 2007 15:30:57 +0200
+
+mlt (0.2.3-0.1) unstable; urgency=low
+
+ * Build with --enable-motion-est only for amd64 and i386 arch.
+
+ -- Christian Marillat <marillat@debian.org> Thu, 26 Apr 2007 10:43:16 +0200
+
+mlt (0.2.3-0.0) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org> Wed, 25 Apr 2007 22:47:26 +0200
+
+mlt (0.2.2+cvs20070331-0.2) unstable; urgency=low
+
+ * libmlt0.2.3 should replaces/conflicts libmlt0 (last uplaod ?).
+
+ -- Christian Marillat <marillat@debian.org> Sat, 31 Mar 2007 16:54:01 +0200
+
+mlt (0.2.2+cvs20070331-0.1) unstable; urgency=low
+
+ * Bad idea to move libraries from /usr/share to /usr/lib
+
+ -- Christian Marillat <marillat@debian.org> Sat, 31 Mar 2007 16:36:40 +0200
+
+mlt (0.2.2+cvs20070331-0.0) unstable; urgency=low
+
+ * New CVS release.
+ * Build with --avformat-swscale and add libswscalecvs0-dev in Build-Depends.
+
+ -- Christian Marillat <marillat@debian.org> Sat, 31 Mar 2007 14:19:50 +0200
+
+mlt (0.2.2+cvs20070201-0.1) unstable; urgency=low
+
+ * libmlt0 need to depends on ffmpeg.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 2 Mar 2007 18:32:49 +0100
+
+mlt (0.2.2+cvs20070201-0.0) unstable; urgency=low
+
+ * new cvs release.
+ * Add libavformatcvs51-dev in Build-depends.
+
+ -- Christian Marillat <marillat@debian.org> Thu, 1 Feb 2007 09:47:01 +0100
+
+mlt (0.2.2+cvs20061009-0.1) unstable; urgency=low
+
+ * Build all archs with --disable-sox except i386 (See bug #390715).
+
+ -- Christian Marillat <marillat@debian.org> Fri, 20 Oct 2006 22:54:45 +0200
+
+mlt (0.2.2+cvs20061009-0.0) unstable; urgency=low
+
+ * New CVS release.
+ * Build the amd4 packages with --enable-motion-est
+
+ -- Christian Marillat <marillat@debian.org> Mon, 9 Oct 2006 10:05:43 +0200
+
+mlt (0.2.2-0.2) unstable; urgency=low
+
+ * debian/control Architecture: is now any.
+ * Build the amd64 package with --disable-sox and without --enable-motion-est.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 2 Oct 2006 19:27:57 +0200
+
+mlt (0.2.2-0.1) unstable; urgency=low
+
+ * New upload to my repository.
+ * This package is for i386 only.
+
+ -- Christian Marillat <marillat@debian.org> Sat, 5 Aug 2006 10:33:05 +0200
diff --git a/ubuntu/_base/libraries/mlt/debian/compat b/ubuntu/_base/libraries/mlt/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/_base/libraries/mlt/debian/control b/ubuntu/_base/libraries/mlt/debian/control
new file mode 100644
index 000000000..fcc4989c8
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/control
@@ -0,0 +1,79 @@
+Source: mlt-trinity
+Priority: optional
+Section: libs
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Maintainer: Christian Marillat <marillat@debian.org>
+Homepage: http://mlt.sourceforge.net/
+Standards-Version: 3.8.3
+Build-Depends: cdbs, debhelper (>= 7.0.50~), libdv4-dev, libquicktime-dev (>= 2:1.0.0),
+ libvorbis-dev, libsdl-dev | libsdl1.2-dev, libgtk2.0-dev, libjack-dev, quilt,
+ libsamplerate-dev, libmad0-dev, kdelibs4-trinity-dev, imagemagick, ffmpeg, libflac-dev,
+ libavcodec-dev, libxml2-dev, ladspa-sdk, libavutil-dev, libxcursor-dev,
+ libxinerama-dev, libxrandr-dev, libxrender-dev, libavformat-dev,
+ libswscale-dev, libasound2-dev, libsox-dev
+
+Package: libmlt0.2.5-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, libmlt-data
+Replaces: libmlt0.2.5-kde3 (<< 4:3.5.13)
+Breaks: libmlt0.2.5-kde3 (<< 4:3.5.13)
+Provides: libmlt-trinity
+Description: An open source multimedia framework - Core files [Trinity]
+ 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.
+ .
+ This package contains the core MLT library files, needed by applications
+ such as the Jahshaka video editor.
+
+Package: libmiracle0.2.5-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, libmlt0.2.5-trinity (= ${binary:Version}), libvalerie0.2.5-trinity (= ${binary:Version})
+Replaces: libmiracle0.2.5-kde3 (<< 4:3.5.13)
+Breaks: libmiracle0.2.5-kde3 (<< 4:3.5.13)
+Description: An open source multimedia framework - Core files [Trinity]
+ 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.
+ .
+ This package contains the Miracle Control Protocol (DVCP) library.
+
+Package: libvalerie0.2.5-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, libmlt0.2.5-trinity (= ${binary:Version}), libmiracle0.2.5-trinity (= ${binary:Version})
+Replaces: libvalerie0.2.5-kde3 (<< 4:3.5.13)
+Breaks: libvalerie0.2.5-kde3 (<< 4:3.5.13)
+Description: An open source multimedia framework - Core files [Trinity]
+ 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.
+ .
+ This package contains the valerie library, which provides a high level
+ parser wrapper to simplify the usage of the miracle library.
+
+Package: libmlt-trinity-dev
+Section: libdevel
+Architecture: any
+Replaces: libmlt-kde3-dev (<< 4:3.5.13)
+Breaks: libmlt-kde3-dev (<< 4:3.5.13)
+Depends: libmlt0.2.5-trinity (= ${binary:Version}), libmiracle0.2.5-trinity (= ${binary:Version}), libvalerie0.2.5-trinity (= ${binary:Version})
+Provides: libmiracle-trinity-dev, libvalerie-trinity-dev
+Description: An open source multimedia framework - Development files [Trinity]
+ 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.
+ .
+ This package contains the MLT development files, needed when compiling
+ applications such as the Jahshaka video editor.
diff --git a/ubuntu/_base/libraries/mlt/debian/copyright b/ubuntu/_base/libraries/mlt/debian/copyright
new file mode 100644
index 000000000..a95008a7d
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/copyright
@@ -0,0 +1,98 @@
+This package was debianized by Arnaud Quette <aquette@debian.org> on
+Tue, 15 Nov 2005 22:27:13 +0100.
+
+It was downloaded from
+http://sourceforge.net/project/showfiles.php?group_id=96039
+
+Upstream Authors: Charles Yates <charles.yates@pandora.be>
+ Dan Dennedy <dan@dennedy.org>
+
+Copyright (C) 2003-2004 Charles Yates and Dan Dennedy
+
+License:
+
+MLT
+
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+ St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+================================================================================
+All files except those listed below:
+ Copyright (C) 2002 to 2006 Ushodaya Enterprises Limited
+ License: GPL, see above
+================================================================================modules/core/producer_framebuffer.h
+ Copyright (C) 2006 Jean-Baptiste Mardelle <jb@ader.ch>
+ License: GPL, see above
+================================================================================
+modules/avformat/mmx.h
+ Copyright (C) 1997-2001 H. Dietz and R. Fisher
+ License: GPL, see above
+================================================================================
+modules/gtk2/pixops.c, modules/gtk2/pixops.h
+ Copyright (C) 1999 The Free Software Foundation
+ License: GPL, see above
+================================================================================
+modules/jackrack/jack_rack.c, modules/jackrack/jack_rack.h,
+modules/jackrack/lock_free_fifo.c, modules/jackrack/lock_free_fifo.h,
+modules/jackrack/plugin.c, modules/jackrack/plugin.h,
+modules/jackrack/plugin_desc.c, modules/jackrack/plugin_desc.h,
+modules/jackrack/plugin_mgr.c, modules/jackrack/plugin_mgr.h,
+modules/jackrack/plugin_settings.c, modules/jackrack/plugin_settings.h,
+modules/jackrack/process.c, modules/jackrack/process.h
+ Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net)
+ License: GPL, see above
+================================================================================
+modules/kino/avi.cc, modules/kino/avi.h, modules/kino/error.cc,
+modules/kino/error.h, modules/kino/filehandler.cc, modules/kino/filehandler.h,
+modules/kino/riff.cc, modules/kino/riff.h
+ Copyright (C) 2000 - 2002 Arne Schirmacher <arne@schirmacher.de>
+ License: GPL, see above
+================================================================================
+modules/kino/endian_types.h
+ Copyright (c) 2003-2005 Daniel Kobras <kobras@debian.org>
+ License: GPL, see above
+================================================================================
+modules/motion_est/arrow_code.c, modules/motion_est/arrow_code.h,
+modules/motion_est/filter_autotrack_rectangle.c,
+modules/motion_est/filter_crop_detect.c, modules/motion_est/filter_motion_est.c,
+modules/motion_est/filter_motion_est.h, modules/motion_est/filter_vismv.c
+ Copyright (C) 2004 and/or 2005 Zachary Drew
+ License: GPL, see above
+================================================================================
+modules/qimage/factory.c, modules/qimage/producer_qimage.h
+ Copyright (C) 2006 Visual Media
+ License: GPL, see above
+================================================================================
+modules/sdl/producer_sdl_image.c, modules/sdl/producer_sdl_image.h,
+modules/vmfx/factory.c, modules/vmfx/filter_chroma.c,
+modules/vmfx/filter_chroma.h, modules/vmfx/filter_chroma_hold.c,
+modules/vmfx/filter_chroma_hold.h, modules/vmfx/filter_mono.c,
+modules/vmfx/filter_mono.h, modules/vmfx/filter_shape.c,
+modules/vmfx/filter_shape.h, modules/vmfx/producer_pgm.c,
+modules/vmfx/producer_pgm.h
+ Copyright (C) 2005 Visual Media FX
+ License: GPL, see above
+================================================================================
+modules/xine/attributes.h, modules/xine/cpu_accel.c
+ Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
+ License: GPL, see above
+================================================================================
+modules/xine/deinterlace.c, modules/xine/deinterlace.h,
+modules/xine/xineutils.h
+ Copyright (C) 2000 to 2004 The xine project
+ License: GPL, see above
+================================================================================
+
+On Debian systems, the full text of the GNU General Public License
+may be found in '/usr/share/common-licenses/GPL'.
diff --git a/ubuntu/_base/libraries/mlt/debian/libmiracle0.2.5-trinity.install b/ubuntu/_base/libraries/mlt/debian/libmiracle0.2.5-trinity.install
new file mode 100644
index 000000000..41bd5918b
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/libmiracle0.2.5-trinity.install
@@ -0,0 +1 @@
+opt/trinity/lib/libmiracle.so.*
diff --git a/ubuntu/_base/libraries/mlt/debian/libmlt-dev.manpages b/ubuntu/_base/libraries/mlt/debian/libmlt-dev.manpages
new file mode 100644
index 000000000..fe9b9ccbb
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/libmlt-dev.manpages
@@ -0,0 +1 @@
+debian/mlt-config.1
diff --git a/ubuntu/_base/libraries/mlt/debian/libmlt-trinity-dev.install b/ubuntu/_base/libraries/mlt/debian/libmlt-trinity-dev.install
new file mode 100644
index 000000000..b634111fb
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/libmlt-trinity-dev.install
@@ -0,0 +1,5 @@
+opt/trinity/bin/mlt-config
+/opt/trinity/include
+opt/trinity/lib/pkgconfig
+opt/trinity/lib/*.so
+/opt/trinity/share/mlt/packages.dat
diff --git a/ubuntu/_base/libraries/mlt/debian/libmlt0.2.5-trinity.install b/ubuntu/_base/libraries/mlt/debian/libmlt0.2.5-trinity.install
new file mode 100644
index 000000000..8640103cf
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/libmlt0.2.5-trinity.install
@@ -0,0 +1,2 @@
+opt/trinity/lib/libmlt.so.*
+opt/trinity/lib/mlt/modules
diff --git a/ubuntu/_base/libraries/mlt/debian/libvalerie0.2.5-trinity.install b/ubuntu/_base/libraries/mlt/debian/libvalerie0.2.5-trinity.install
new file mode 100644
index 000000000..b2ee6434c
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/libvalerie0.2.5-trinity.install
@@ -0,0 +1 @@
+opt/trinity/lib/libvalerie.so.*
diff --git a/ubuntu/_base/libraries/mlt/debian/mlt-config.1 b/ubuntu/_base/libraries/mlt/debian/mlt-config.1
new file mode 100644
index 000000000..9e700d957
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/mlt-config.1
@@ -0,0 +1,32 @@
+.TH MLT 1 "January 17, 2007"
+.SH NAME
+mlt-config \- script to get information about the installed version of Mlt
+.SH SYNOPSIS
+.B mlt-config [ \-\-version ] | [ \-\-prefix=dir ] [ [ package ] [ \-\-cflags ] [ \-\-libs ] ]
+.SH DESCRIPTION
+\fImlt-config\fP is a tool that is used by configure to determine the
+availability of mlt and the compiler and linker flags that should be used to
+compile programs using it.
+.SH OPTIONS
+\fImlt-config\fP accepts the following options:
+.TP
+.B \-\-version
+Print the currently installed version of \fMlt\fP on the standard output.
+.TP
+.B \-\-prefix=dir
+Set the prefix mlt-config uses to find its configuration files
+.TP
+.B package
+Print informations for the given package ( packages are: framework modules
+inigo valerie miracle humperdink )
+.TP
+.B \-\-libs
+Print the linker flags that are necessary to link a \fMlt\fP\-program.
+.TP
+.B \-\-cflags
+Print the compiler flags that are necessary to link a \fMlt\fP\-program.
+.SH SEE ALSO
+.BR Mlt (1).
+.SH AUTHOR
+This manual page was written by Albin Tonnerre <lut1n.tne@gmail.com>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/ubuntu/_base/libraries/mlt/debian/patches/.gitignore b/ubuntu/_base/libraries/mlt/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/patches/.gitignore
diff --git a/ubuntu/_base/libraries/mlt/debian/rules b/ubuntu/_base/libraries/mlt/debian/rules
new file mode 100755
index 000000000..80bbbcdc7
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/rules
@@ -0,0 +1,124 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -n 1)
+
+NCPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
+
+ifeq ($(NCPUS),-1)
+ NCPUS:=1
+endif
+
+ifeq ($(NCPUS),0)
+ NCPUS:=1
+endif
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEBIAN_ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+ifeq "$(DEBIAN_ARCH)" "i386"
+ CONFIGURE_OPTS = --enable-motion-est
+endif
+ifeq "$(DEBIAN_ARCH)" "amd64"
+ CONFIGURE_OPTS = --enable-motion-est
+endif
+
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+post-patches::
+ dh_testdir
+
+configure: configure-stamp
+configure-stamp: post-patches
+ dh_testdir
+
+ CFLAGS="$(CFLAGS)" PATH=/opt/trinity/bin:$(PATH) LD_LIBRARY_PATH=/opt/trinity/lib:$(LD_LIBRARY_PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde ./configure --enable-gpl \
+ --luma-compress --disable-mmx $(CONFIGURE_OPTS) \
+ --avformat-shared=/usr --avformat-swscale \
+ --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/kde
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ env PATH=/opt/trinity/bin:$(PATH) LD_LIBRARY_PATH=/opt/trinity/lib:$(LD_LIBRARY_PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde $(MAKE) -j $(NCPUS)
+
+ touch build-stamp
+
+clean::
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ [ ! -f config.mak ] || $(MAKE) dist-clean
+
+ dh_clean *.pc src/modules/gtk2/config.h config.log
+
+ find -name config.mak | xargs -r rm
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs opt/trinity/lib/mlt0.2.5/modules opt/trinity/share/mlt0.2.5
+
+ env PATH=/opt/trinity/bin:$(PATH) LD_LIBRARY_PATH=/opt/trinity/lib:$(LD_LIBRARY_PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# mkdir debian/tmp/opt/trinity
+# mv debian/tmp/opt/trinity/lib debian/tmp/opt/trinity/
+# mv debian/tmp/opt/trinity/bin debian/tmp//trinity/
+ dh_install --sourcedir=debian/tmp
+
+# Prune empty directories
+ find debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installdocs -plibmlt-trinity-dev docs/*
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -plibmlt0.2.5-trinity -V 'libmlt0.2.5-trinity (>= 0.2.4.svn20071228)'
+ dh_makeshlibs -plibvalerie0.2.5-trinity -V 'libvalerie0.2.5-trinity (>= 0.2.4.svn20071228)'
+ dh_makeshlibs -plibmiracle0.2.5-trinity -V 'libmiracle0.2.5-trinity (>= 0.2.4.svn20071228)'
+ dh_installdeb
+ dh_shlibdeps --exclude=libmlt --exclude=libmiracle --exclude=libvalerie
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/_base/libraries/mlt/debian/source/format b/ubuntu/_base/libraries/mlt/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/libraries/mlt/debian/source/options b/ubuntu/_base/libraries/mlt/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/_base/libraries/mlt/debian/watch b/ubuntu/_base/libraries/mlt/debian/watch
new file mode 100644
index 000000000..4dcc9e900
--- /dev/null
+++ b/ubuntu/_base/libraries/mlt/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/mlt/mlt-(.*).tar.gz