[SCM] MLT multimedia framework packaging branch, master, updated. debian/0.7.2-1-1-g2694999

Patrick Matthäi pmatthaei at alioth.debian.org
Fri May 13 19:58:39 UTC 2011


The following commit has been merged in the master branch:
commit 26949994644a880751b982476dd9d5243d758127
Author: Patrick Matthäi <pmatthaei at debian.org>
Date:   Fri May 13 21:58:27 2011 +0200

    * Add patch 01-build-on-kfreebsd.diff, so that mlt also builds on kFreeBSD.
---
 debian/changelog                         |    6 ++++++
 debian/patches/01-build-on-kfreebsd.diff |   24 ++++++++++++++++++++++++
 debian/patches/series                    |    1 +
 3 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 774cff5..1073542 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mlt (0.7.2-2) UNRELEASED; urgency=low
+
+  * Add patch 01-build-on-kfreebsd.diff, so that mlt also builds on kFreeBSD.
+
+ -- Patrick Matthäi <pmatthaei at debian.org>  Fri, 13 May 2011 21:57:19 +0200
+
 mlt (0.7.2-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/01-build-on-kfreebsd.diff b/debian/patches/01-build-on-kfreebsd.diff
new file mode 100644
index 0000000..db56496
--- /dev/null
+++ b/debian/patches/01-build-on-kfreebsd.diff
@@ -0,0 +1,24 @@
+diff -Naur mlt-0.7.2.orig/configure mlt-0.7.2/configure
+--- mlt-0.7.2.orig/configure	2011-05-02 07:59:12.000000000 +0200
++++ mlt-0.7.2/configure	2011-05-13 21:56:03.000000000 +0200
+@@ -82,7 +82,7 @@
+ 		echo "SHFLAGS=-dynamiclib"
+ 		echo "LDFLAGS+=`sdl-config --libs`"
+ 		;;
+-		Linux)
++		Linux|GNU/kFreeBSD)
+ 		[ "$(uname -m)" = "x86_64" ] && echo "ARCH_X86_64=1" && echo "CFLAGS+=-DARCH_X86_64"
+ 		[ "$optimisations" = "true" ] &&
+ 			echo "OPTIMISATIONS+=-ffast-math"
+diff -Naur mlt-0.7.2.orig/src/mlt++/configure mlt-0.7.2/src/mlt++/configure
+--- mlt-0.7.2.orig/src/mlt++/configure	2011-05-02 07:59:12.000000000 +0200
++++ mlt-0.7.2/src/mlt++/configure	2011-05-13 21:56:03.000000000 +0200
+@@ -10,7 +10,7 @@
+ 		echo "CXXFLAGS+=-D__DARWIN__ -Wall -fPIC"
+ 		echo "LIBFLAGS=-dynamiclib -single_module"
+ 		;;
+-	Linux|FreeBSD|NetBSD)
++	Linux|FreeBSD|NetBSD|GNU/kFreeBSD)
+ 		echo LIBSUF=.so
+ 		echo "CXXFLAGS+=-Wall $WARNINGS -fPIC -DPIC"
+ 		echo "LIBFLAGS=-shared"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..47375e9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-build-on-kfreebsd.diff

-- 
MLT multimedia framework packaging



More information about the pkg-kde-commits mailing list