summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2013-05-20 16:05:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-21 09:30:16 +0100
commite77a014df21f301a8a0b746a4a1f712595ebcbaf (patch)
tree29be867397e58436ccde337574c1a341b2f35163 /meta/recipes-graphics
parentbcb0616551abd1e05d6ee88a22d6c0dfbb6c5fda (diff)
downloadpoky-e77a014df21f301a8a0b746a4a1f712595ebcbaf.tar.gz
clutter-gst: Replace with 1.6.0 version
(From OE-Core rev: 4476e789ac41f44ad74385d85a16e505d96bc100) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-1.0.inc23
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-1.0_1.6.0.bb9
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-1.6/cogl-1.14.patch48
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-1.8_1.4.6.bb22
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst.inc13
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst/enable-tests.patch (renamed from meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch)9
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.4.patch18
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.8.patch17
8 files changed, 87 insertions, 72 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-gst-1.0.inc b/meta/recipes-graphics/clutter/clutter-gst-1.0.inc
new file mode 100644
index 0000000000..f79795ca54
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gst-1.0.inc
@@ -0,0 +1,23 @@
1DESCRIPTION = "Clutter GStreamer"
2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+"
4
5inherit clutter
6
7SRC_URI += "file://enable-tests.patch"
8
9DEPENDS = "gst-plugins-base gst-plugins-bad clutter-1.0"
10RDEPENDS_${PN} += "gst-meta-base"
11PACKAGES =+ "${PN}-examples"
12
13EXTRA_OECONF += "--disable-introspection"
14
15FILES_${PN} += "${libdir}/gstreamer-0.10/lib*.so"
16FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la"
17FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug/lib*.so"
18FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink"
19
20do_configure_prepend () {
21 # Disable DOLT
22 sed -i -e 's/^DOLT//' ${S}/configure.ac
23}
diff --git a/meta/recipes-graphics/clutter/clutter-gst-1.0_1.6.0.bb b/meta/recipes-graphics/clutter/clutter-gst-1.0_1.6.0.bb
new file mode 100644
index 0000000000..dc5cc13053
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gst-1.0_1.6.0.bb
@@ -0,0 +1,9 @@
1require clutter-gst-1.0.inc
2
3SRC_URI += "file://cogl-1.14.patch"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
6 file://clutter-gst/clutter-gst.h;beginline=1;endline=24;md5=95baacba194e814c110ea3bdf25ddbf4"
7
8SRC_URI[archive.md5sum] = "d60ab0118730cecd5dd9988ad7da034b"
9SRC_URI[archive.sha256sum] = "abc879cdd562f1640a825131405f4327a427bfe65b805ebc25d0c78909c8c622"
diff --git a/meta/recipes-graphics/clutter/clutter-gst-1.6/cogl-1.14.patch b/meta/recipes-graphics/clutter/clutter-gst-1.6/cogl-1.14.patch
new file mode 100644
index 0000000000..a46b448efa
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gst-1.6/cogl-1.14.patch
@@ -0,0 +1,48 @@
1From 1ae4c3e7b1e2c33892590f9ac7bf0e892a5bcbd5 Mon Sep 17 00:00:00 2001
2From: Tomas Frydrych <tomas@sleepfive.com>
3Date: Thu, 11 Oct 2012 08:53:03 +0100
4Subject: [PATCH] ClutterGstVideoSink: fix includes so we can build against
5 cogl-1.14
6
7Cogl 1.14 exposes various GL types through the public API but it does not
8pull in the GL type definitions through its public headers; specifically
9compilation will fail due to undefined GL_TEXTURE_2D. So include the headers
10the hard way.
11
12Upstream-status: Submitted @ https://bugzilla.gnome.org/show_bug.cgi?id=700509
13Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
14---
15 clutter-gst/clutter-gst-video-sink.c | 17 +++++++++++++++++
16 1 file changed, 17 insertions(+)
17
18diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
19index 9b4b53c..f092581 100644
20--- a/clutter-gst/clutter-gst-video-sink.c
21+++ b/clutter-gst/clutter-gst-video-sink.c
22@@ -42,6 +42,23 @@
23 #include "config.h"
24 #endif
25
26+/*
27+ * cogl-1.14 exposes generic GL types in the API, but not the actual includes.
28+ */
29+#include <cogl/cogl.h>
30+
31+#ifdef COGL_HAS_GLES1
32+#include <GLES/gl.h>
33+#include <GLES/glext.h>
34+#elif COGL_HAS_GLES2
35+#include <GLES2/gl2.h>
36+#include <GLES2/gl2ext.h>
37+#elif COGL_HAS_GL
38+#include <GL/gl.h>
39+#else
40+#error Unknown cogl configuration
41+#endif
42+
43 #include "clutter-gst-video-sink.h"
44 #include "clutter-gst-util.h"
45 #include "clutter-gst-private.h"
46--
471.7.10.4
48
diff --git a/meta/recipes-graphics/clutter/clutter-gst-1.8_1.4.6.bb b/meta/recipes-graphics/clutter/clutter-gst-1.8_1.4.6.bb
deleted file mode 100644
index facb0a1ee2..0000000000
--- a/meta/recipes-graphics/clutter/clutter-gst-1.8_1.4.6.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1require recipes-graphics/clutter/clutter-gst.inc
2
3PR = "r0"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
6 file://clutter-gst/clutter-gst.h;beginline=1;endline=24;md5=95baacba194e814c110ea3bdf25ddbf4"
7
8DEPENDS += "clutter-1.8 gstreamer"
9RDEPENDS_${PN} += "gst-meta-base"
10
11SRC_URI = "http://source.clutter-project.org/sources/clutter-gst/1.4/clutter-gst-${PV}.tar.bz2 \
12 file://enable_tests-1.8.patch"
13
14S = "${WORKDIR}/clutter-gst-${PV}"
15
16SRC_URI[md5sum] = "98aeed6baa7b3a80f10e7733080eb088"
17SRC_URI[sha256sum] = "54e2966e507563bd3f123a4e25780c2487f854c6cc3df3bedc8c6b5eb45e9769"
18
19do_configure_prepend () {
20 # Disable DOLT
21 sed -i -e 's/^DOLT//' ${S}/configure.ac
22}
diff --git a/meta/recipes-graphics/clutter/clutter-gst.inc b/meta/recipes-graphics/clutter/clutter-gst.inc
deleted file mode 100644
index 702424b4e3..0000000000
--- a/meta/recipes-graphics/clutter/clutter-gst.inc
+++ /dev/null
@@ -1,13 +0,0 @@
1DESCRIPTION = "Clutter GStreamer"
2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+"
4
5DEPENDS = "gstreamer gst-plugins-base"
6
7FILESPATH = "${FILE_DIRNAME}/clutter-gst"
8
9PACKAGES =+ "${PN}-examples"
10FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink"
11
12inherit autotools pkgconfig gtk-doc
13
diff --git a/meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch b/meta/recipes-graphics/clutter/clutter-gst/enable-tests.patch
index 6175a521d1..b3aec392e6 100644
--- a/meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch
+++ b/meta/recipes-graphics/clutter/clutter-gst/enable-tests.patch
@@ -4,6 +4,11 @@ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4 4
5Upstream-Status: Inappropriate [configuration] 5Upstream-Status: Inappropriate [configuration]
6 6
7Imported from clutter-gst-1.8 package, git://git.openembedded.org/openembedded,
8commit ae28ee3f7a060b9e0d13154a84f2444a98490b5b, updated for clutter-gst 1.6
9
10Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
11
7Index: git/examples/Makefile.am 12Index: git/examples/Makefile.am
8=================================================================== 13===================================================================
9--- git.orig/examples/Makefile.am 2011-01-31 10:14:23.000000000 +0800 14--- git.orig/examples/Makefile.am 2011-01-31 10:14:23.000000000 +0800
@@ -11,8 +16,8 @@ Index: git/examples/Makefile.am
11@@ -1,6 +1,6 @@ 16@@ -1,6 +1,6 @@
12 NULL = # 17 NULL = #
13 18
14-noinst_PROGRAMS = video-player video-sink 19-noinst_PROGRAMS = video-player video-sink video-sink-navigation
15+bin_PROGRAMS = video-player video-sink 20+bin_PROGRAMS = video-player video-sink video-sink-navigation
16 21
17 INCLUDES = -I$(top_srcdir) \ 22 INCLUDES = -I$(top_srcdir) \
18 $(MAINTAINER_CFLAGS) \ 23 $(MAINTAINER_CFLAGS) \
diff --git a/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.4.patch b/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.4.patch
deleted file mode 100644
index 3fc1378a7d..0000000000
--- a/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.4.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Install example binary needed for core-image-clutter
2
3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4
5Upstream-Status: Inappropriate [configuration]
6
7Index: git/examples/Makefile.am
8===================================================================
9--- git.orig/examples/Makefile.am 2011-05-04 14:07:21.000000000 -0700
10+++ git/examples/Makefile.am 2011-05-04 14:24:38.625984314 -0700
11@@ -1,6 +1,6 @@
12 NULL = #
13
14-noinst_PROGRAMS = video-player video-sink audio-player
15+bin_PROGRAMS = video-player video-sink audio-player
16
17 INCLUDES = -I$(top_srcdir) \
18 $(MAINTAINER_CFLAGS) \
diff --git a/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.8.patch b/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.8.patch
deleted file mode 100644
index de1dcc2add..0000000000
--- a/meta/recipes-graphics/clutter/clutter-gst/enable_tests-1.8.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Install example binary needed for poky-image-clutter
4
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
6Index: clutter-gst-1.3.8/examples/Makefile.am
7===================================================================
8--- clutter-gst-1.3.8.orig/examples/Makefile.am
9+++ clutter-gst-1.3.8/examples/Makefile.am
10@@ -1,6 +1,6 @@
11 NULL = #
12
13-noinst_PROGRAMS = video-player video-sink video-sink-navigation
14+bin_PROGRAMS = video-player video-sink video-sink-navigation
15
16 INCLUDES = -I$(top_srcdir) \
17 $(MAINTAINER_CFLAGS) \