gst-plugins-bad_0.10.5.bb : apply bug from #2854 to fix properly the directfb
authorGraeme Gregory <dp@xora.org.uk>
Fri, 24 Aug 2007 08:40:43 +0000 (08:40 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Fri, 24 Aug 2007 08:40:43 +0000 (08:40 +0000)
problems in compile. Thanks to "Gordon Syme"

packages/gstreamer/gst-plugins-bad/gst-plugins-directfb-fix.patch [new file with mode: 0644]
packages/gstreamer/gst-plugins-bad_0.10.5.bb

diff --git a/packages/gstreamer/gst-plugins-bad/gst-plugins-directfb-fix.patch b/packages/gstreamer/gst-plugins-bad/gst-plugins-directfb-fix.patch
new file mode 100644 (file)
index 0000000..f8f516b
--- /dev/null
@@ -0,0 +1,32 @@
+--- gst-plugins-bad-0.10.5-r1.orig/gst-plugins-bad-0.10.5/examples/directfb/gstdfb.c   2007-08-24 08:23:23.000000000 +0100
++++ gst-plugins-bad-0.10.5-r1/gst-plugins-bad-0.10.5/examples/directfb/gstdfb.c        2007-08-24 08:24:28.000000000 +0100
+@@ -35,7 +35,7 @@
+ #include <math.h>
+ #include <time.h>
+-#include <directfb.h>
++#include <directfb/directfb.h>
+ #include <gst/gst.h>
+ #include <string.h>
+--- gst-plugins-bad-0.10.5-r1.orig/gst-plugins-bad-0.10.5/ext/directfb/dfb-example.c   2007-08-24 08:23:24.000000000 +0100
++++ gst-plugins-bad-0.10.5-r1/gst-plugins-bad-0.10.5/ext/directfb/dfb-example.c        2007-08-24 08:24:41.000000000 +0100
+@@ -1,5 +1,5 @@
+-#include <directfb.h>
++#include <directfb/directfb.h>
+ #include <gst/gst.h>
+ static IDirectFB *dfb = NULL;
+
+--- gst-plugins-bad-0.10.5-r1.orig/gst-plugins-bad-0.10.5/ext/directfb/dfbvideosink.h  2007-08-24 08:23:24.000000000 +0100
++++ gst-plugins-bad-0.10.5-r1/gst-plugins-bad-0.10.5/ext/directfb/dfbvideosink.h       2007-08-24 08:24:56.000000000 +0100
+@@ -22,7 +22,7 @@
+ #include <gst/video/gstvideosink.h>
+-#include <directfb.h>
++#include <directfb/directfb.h>
+ G_BEGIN_DECLS
index 9c7d941..ce61d10 100644 (file)
@@ -1,8 +1,8 @@
 require gst-plugins.inc
 
-SRC_URI += "file://vorbisenc.h file://vorbisdec.h"
-DEPENDS += "gst-plugins-base"
-EXTRA_OECONF += " --disable-directfb "
+SRC_URI += "file://vorbisenc.h file://vorbisdec.h \
+            file://gst-plugins-directfb-fix.patch;patch=1;pnum=2"
+DEPENDS += "gst-plugins-base directfb"
 
 do_compile_prepend() {
        # work around missing files in upstream tarball (upstream bug #454078)