From 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Aug 2011 14:44:58 -0500 Subject: Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick --- debian/squeeze/libraries/mlt/debian/changelog | 170 +++++++++++++++++++++ debian/squeeze/libraries/mlt/debian/compat | 1 + debian/squeeze/libraries/mlt/debian/control | 71 +++++++++ debian/squeeze/libraries/mlt/debian/copyright | 98 ++++++++++++ .../mlt/debian/libmiracle0.2.5-trinity.install | 1 + .../libraries/mlt/debian/libmlt-dev.manpages | 1 + .../mlt/debian/libmlt-trinity-dev.install | 5 + .../mlt/debian/libmlt0.2.5-trinity.install | 2 + .../mlt/debian/libvalerie0.2.5-trinity.install | 1 + debian/squeeze/libraries/mlt/debian/mlt-config.1 | 32 ++++ .../libraries/mlt/debian/patches/.gitignore | 0 debian/squeeze/libraries/mlt/debian/rules | 120 +++++++++++++++ debian/squeeze/libraries/mlt/debian/watch | 3 + 13 files changed, 505 insertions(+) create mode 100644 debian/squeeze/libraries/mlt/debian/changelog create mode 100644 debian/squeeze/libraries/mlt/debian/compat create mode 100644 debian/squeeze/libraries/mlt/debian/control create mode 100644 debian/squeeze/libraries/mlt/debian/copyright create mode 100644 debian/squeeze/libraries/mlt/debian/libmiracle0.2.5-trinity.install create mode 100644 debian/squeeze/libraries/mlt/debian/libmlt-dev.manpages create mode 100644 debian/squeeze/libraries/mlt/debian/libmlt-trinity-dev.install create mode 100644 debian/squeeze/libraries/mlt/debian/libmlt0.2.5-trinity.install create mode 100644 debian/squeeze/libraries/mlt/debian/libvalerie0.2.5-trinity.install create mode 100644 debian/squeeze/libraries/mlt/debian/mlt-config.1 create mode 100644 debian/squeeze/libraries/mlt/debian/patches/.gitignore create mode 100755 debian/squeeze/libraries/mlt/debian/rules create mode 100644 debian/squeeze/libraries/mlt/debian/watch (limited to 'debian/squeeze/libraries/mlt') diff --git a/debian/squeeze/libraries/mlt/debian/changelog b/debian/squeeze/libraries/mlt/debian/changelog new file mode 100644 index 000000000..bb56b0cc2 --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/changelog @@ -0,0 +1,170 @@ +mlt-trinity (0.2.4.svn20071228-0.0ubuntu5) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 + +mlt-trinity (0.2.4.svn20071228-0.0ubuntu4) intrepid; urgency=low + + * Moved KDE3 to /opt/trinity + * Integrated properly with KDE4.2+ + + -- Timothy Pearson Fri, 06 March 2009 01:35:00 -0600 + +mlt-trinity (0.2.4.svn20071228-0.0ubuntu2) intrepid; urgency=low + + * Added -trinity suffix + + -- Timothy Pearson 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 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 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ş 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 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 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 Sun, 12 Aug 2007 13:13:24 +0200 + +mlt (0.2.4-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat 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 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 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 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 Thu, 26 Apr 2007 10:43:16 +0200 + +mlt (0.2.3-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat 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 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 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 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 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 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 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 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 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 Sat, 5 Aug 2006 10:33:05 +0200 diff --git a/debian/squeeze/libraries/mlt/debian/compat b/debian/squeeze/libraries/mlt/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/squeeze/libraries/mlt/debian/control b/debian/squeeze/libraries/mlt/debian/control new file mode 100644 index 000000000..6b7c0ce9b --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/control @@ -0,0 +1,71 @@ +Source: mlt-trinity +Priority: optional +Section: libs +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Maintainer: Christian Marillat +Homepage: http://mlt.sourceforge.net/ +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5), 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 +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}) +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}) +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 +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/debian/squeeze/libraries/mlt/debian/copyright b/debian/squeeze/libraries/mlt/debian/copyright new file mode 100644 index 000000000..a95008a7d --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/copyright @@ -0,0 +1,98 @@ +This package was debianized by Arnaud Quette 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 + Dan Dennedy + +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 + 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 + License: GPL, see above +================================================================================ +modules/kino/endian_types.h + Copyright (c) 2003-2005 Daniel Kobras + 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 + 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/debian/squeeze/libraries/mlt/debian/libmiracle0.2.5-trinity.install b/debian/squeeze/libraries/mlt/debian/libmiracle0.2.5-trinity.install new file mode 100644 index 000000000..41bd5918b --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/libmiracle0.2.5-trinity.install @@ -0,0 +1 @@ +opt/trinity/lib/libmiracle.so.* diff --git a/debian/squeeze/libraries/mlt/debian/libmlt-dev.manpages b/debian/squeeze/libraries/mlt/debian/libmlt-dev.manpages new file mode 100644 index 000000000..fe9b9ccbb --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/libmlt-dev.manpages @@ -0,0 +1 @@ +debian/mlt-config.1 diff --git a/debian/squeeze/libraries/mlt/debian/libmlt-trinity-dev.install b/debian/squeeze/libraries/mlt/debian/libmlt-trinity-dev.install new file mode 100644 index 000000000..b634111fb --- /dev/null +++ b/debian/squeeze/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/debian/squeeze/libraries/mlt/debian/libmlt0.2.5-trinity.install b/debian/squeeze/libraries/mlt/debian/libmlt0.2.5-trinity.install new file mode 100644 index 000000000..8640103cf --- /dev/null +++ b/debian/squeeze/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/debian/squeeze/libraries/mlt/debian/libvalerie0.2.5-trinity.install b/debian/squeeze/libraries/mlt/debian/libvalerie0.2.5-trinity.install new file mode 100644 index 000000000..b2ee6434c --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/libvalerie0.2.5-trinity.install @@ -0,0 +1 @@ +opt/trinity/lib/libvalerie.so.* diff --git a/debian/squeeze/libraries/mlt/debian/mlt-config.1 b/debian/squeeze/libraries/mlt/debian/mlt-config.1 new file mode 100644 index 000000000..9e700d957 --- /dev/null +++ b/debian/squeeze/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 +for the Debian GNU/Linux system (but may be used by others). diff --git a/debian/squeeze/libraries/mlt/debian/patches/.gitignore b/debian/squeeze/libraries/mlt/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/debian/squeeze/libraries/mlt/debian/rules b/debian/squeeze/libraries/mlt/debian/rules new file mode 100755 index 000000000..771793fff --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/rules @@ -0,0 +1,120 @@ +#!/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) + +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 + +configure: configure-stamp +configure-stamp: + dh_testdir + + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + + 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 + + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + + 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/squeeze/libraries/mlt/debian/watch b/debian/squeeze/libraries/mlt/debian/watch new file mode 100644 index 000000000..4dcc9e900 --- /dev/null +++ b/debian/squeeze/libraries/mlt/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/mlt/mlt-(.*).tar.gz -- cgit v1.2.3