Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a2e24bc5b10a455693936737908b3e16264daee2

commit a2e24bc5b10a455693936737908b3e16264daee2
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun May 4 15:01:14 2008 +0200

kdenlive-0.5_1-2-x86_64
* rebuilt with mlt , fmmpeg
* added ffmpeg patch
* closes FS#3057

diff --git a/source/kde-extra/kdenlive/FrugalBuild 
b/source/kde-extra/kdenlive/FrugalBuild
index 9de3fe7..afe244d 100644
--- a/source/kde-extra/kdenlive/FrugalBuild
+++ b/source/kde-extra/kdenlive/FrugalBuild
@@ -3,18 +3,20 @@

pkgname=kdenlive
pkgver=0.5_1
-pkgrel=1
+pkgrel=2
pkgdesc="A Non-Linear Video Editing Suite for KDE"
depends=('libdrm' 'libiec61883' 'mlt-plus-plus>=0.2.2-4' 'libraw1394' 
'kdelibs>=3.5.7' 'libavc1394' \
-         'mlt-qimage>=0.2.4' 'mlt-sdl>=0.2.4' 'mlt-jack>=0.2.4' 
'mlt-lumas>=0.2.4' 'ladspa_sdk' 'libtheora')
+         'mlt-qimage>=0.2.4-4' 'mlt-sdl>=0.2.4-4' 'mlt-jack>=0.2.4-4' 
'mlt-lumas>=0.2.4-4' 'ladspa_sdk' 'libtheora' \
+         'ffmpeg>=20080427-4')
_F_kde_defaults=0
_F_kde_reconf=1
Finclude sourceforge kde
-source=($source kdenlive-0.5-gcc-4.3.patch)
+source=($source kdenlive-0.5-gcc-4.3.patch kdenlive-0.5-ffmpegheaders.patch)
groups=('kde-extra')
archs=('i686' 'x86_64')
_F_cd_path="$pkgname-${pkgver/_*}"
sha1sums=('5e9fea4d197189daf65ae493f5eb48704579d041' \
-          '919096f300257bd1b5daf5b401d3438046a16462')
+          '919096f300257bd1b5daf5b401d3438046a16462' \
+          '3fe247bf73b26480f81ac8c0d48233ac4f360435')

# optimization OK
diff --git a/source/kde-extra/kdenlive/kdenlive-0.5-ffmpegheaders.patch 
b/source/kde-extra/kdenlive/kdenlive-0.5-ffmpegheaders.patch
new file mode 100644
index 0000000..9117761
--- /dev/null
+++ b/source/kde-extra/kdenlive/kdenlive-0.5-ffmpegheaders.patch
@@ -0,0 +1,32 @@
+Index: kdenlive-0.5/configure.in.in
+===================================================================
+--- kdenlive-0.5.orig/configure.in.in
++++ kdenlive-0.5/configure.in.in
+@@ -49,6 +49,8 @@ AC_SUBST(LIBMLT_CFLAGS)
+
+ dnl check libraries
+
++AC_CHECK_HEADERS([ffmpeg/avformat.h libavformat/avformat.h])
++
+ # LIBRAW1394
+
+ #PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 1.1.0)
+Index: kdenlive-0.5/kdenlive/krender.cpp
+===================================================================
+--- kdenlive-0.5.orig/kdenlive/krender.cpp
++++ kdenlive-0.5/kdenlive/krender.cpp
+@@ -22,8 +22,14 @@
+  *                                                                         *
+  ***************************************************************************/
+
++#include "config.h"
++
+ extern "C" {
++#if HAVE_LIBAVFORMAT_AVFORMAT_H
++#include <libavformat/avformat.h>
++#else
+ #include <ffmpeg/avformat.h>
++#endif
+ }
+
+ #include <iostream>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to