]> git.sesse.net Git - mlt/commitdiff
+ Functional debian build rules
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 5 Dec 2005 12:01:15 +0000 (12:01 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 5 Dec 2005 12:01:15 +0000 (12:01 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@876 d19143bc-622f-0410-bfdd-b5b2a6649095

debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..930bd29
--- /dev/null
@@ -0,0 +1,6 @@
+mlt (0.2.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- charlie <charles@vmfx.com>  Fri,  2 Dec 2005 06:25:07 +0100
+
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1aaf816
--- /dev/null
@@ -0,0 +1,21 @@
+Source: mlt
+Section: devel
+Priority: optional
+Maintainer: Charles Yates <charles@vmfx.com>
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.6.1
+
+Package: mlt-dev
+Section: devel
+Architecture: any
+Depends: mlt (= ${Source-Version})
+Description: Development library and headers for mlt
+ mlt is a free multimedia tool set and library.
+
+Package: mlt
+Section: multimedia
+Architecture: any
+Depends: ${shlibs:Depends}, ffmpeg
+Description: mlt tools and runtime library
+ mlt is a free multimedia tool set and library.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..ba21db6
--- /dev/null
@@ -0,0 +1,22 @@
+This package was debianized by Charles Yates <charles@vmfx.com> on
+Thu,  2 Dec 2005
+
+Copyright:
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..545828a
--- /dev/null
@@ -0,0 +1,102 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+export prefix=usr
+export libdir=$(prefix)/lib
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=20051130
+#major=2
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+       ./configure --prefix=/$(prefix) --libdir=/$(libdir) --disable-debug --enable-gpl --disable-sox --luma-compress --enable-motion-est --disable-jackrack
+
+build: build-stamp
+build-stamp:  config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/tmp
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+
+# 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_movefiles -pmlt-dev $(prefix)/bin/mlt-config
+       dh_movefiles -pmlt-dev $(prefix)/include
+       dh_movefiles -pmlt-dev $(libdir)/pkgconfig
+       dh_movefiles -pmlt $(prefix)
+#      dh_installdebconf       
+#      dh_installdocs -A README 
+       dh_installexamples
+       dh_installmenu
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+       dh_installcron
+       dh_installman
+       dh_installinfo
+#      dh_undocumented
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+#      dh_perl
+       dh_shlibdeps -l${PWD}/debian/mlt/$(libdir)
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install