summaryrefslogtreecommitdiff
path: root/meta/packages/clutter
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-28 15:39:27 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-28 15:39:27 +0000
commit4b7ef3d8b58ceb3277c5083b8941e18345ff1861 (patch)
tree0a2d06837752fedac35e88106464023460890e00 /meta/packages/clutter
parent53314a0125bf85adf07bbc82e41e896f7f501ccd (diff)
downloadopenembedded-core-4b7ef3d8b58ceb3277c5083b8941e18345ff1861.tar.gz
openembedded-core-4b7ef3d8b58ceb3277c5083b8941e18345ff1861.tar.bz2
openembedded-core-4b7ef3d8b58ceb3277c5083b8941e18345ff1861.zip
Add clutter-mozembed
Diffstat (limited to 'meta/packages/clutter')
-rw-r--r--meta/packages/clutter/clutter-mozembed.inc10
-rw-r--r--meta/packages/clutter/clutter-mozembed/link-with-g++.patch30
-rw-r--r--meta/packages/clutter/clutter-mozembed_git.bb14
3 files changed, 54 insertions, 0 deletions
diff --git a/meta/packages/clutter/clutter-mozembed.inc b/meta/packages/clutter/clutter-mozembed.inc
new file mode 100644
index 0000000000..9273b266c7
--- /dev/null
+++ b/meta/packages/clutter/clutter-mozembed.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Clutter Mozilla Embedded"
+HOMEPAGE = "http://www.clutter-project.org/"
+LICENSE = "LGPL"
+
+DEPENDS = "mozilla-headless"
+
+FILESPATH = "${FILE_DIRNAME}/clutter-mozembed"
+
+inherit autotools_stage pkgconfig gtk-doc
+
diff --git a/meta/packages/clutter/clutter-mozembed/link-with-g++.patch b/meta/packages/clutter/clutter-mozembed/link-with-g++.patch
new file mode 100644
index 0000000000..8f84e6142b
--- /dev/null
+++ b/meta/packages/clutter/clutter-mozembed/link-with-g++.patch
@@ -0,0 +1,30 @@
+Index: git/cluttermozembed/Makefile.am
+===================================================================
+--- git.orig/cluttermozembed/Makefile.am 2009-01-27 14:17:00.000000000 +0000
++++ git/cluttermozembed/Makefile.am 2009-01-28 15:36:27.000000000 +0000
+@@ -16,11 +16,11 @@
+ source_h = \
+ clutter-mozembed.h
+ source_c = \
+- clutter-mozembed.c
++ clutter-mozembed.c dummy2.cpp
+
+ bin_PROGRAMS = mozheadless
+
+-mozheadless_SOURCES = mozheadless.c
++mozheadless_SOURCES = mozheadless.c dummy.cpp
+
+ lib_LTLIBRARIES = libcluttermozembed.la
+ libcluttermozembed_la_SOURCES = $(source_c) $(source_h)
+Index: git/configure.ac
+===================================================================
+--- git.orig/configure.ac 2009-01-27 14:17:01.000000000 +0000
++++ git/configure.ac 2009-01-28 15:35:38.000000000 +0000
+@@ -7,6 +7,7 @@
+
+ AC_ISC_POSIX
+ AC_PROG_CC
++AC_PROG_CXX
+ AC_STDC_HEADERS
+ AC_PROG_LIBTOOL
+
diff --git a/meta/packages/clutter/clutter-mozembed_git.bb b/meta/packages/clutter/clutter-mozembed_git.bb
new file mode 100644
index 0000000000..1705c82ec1
--- /dev/null
+++ b/meta/packages/clutter/clutter-mozembed_git.bb
@@ -0,0 +1,14 @@
+require clutter-mozembed.inc
+
+PV = "0.8.0+git${SRCREV}"
+PR = "r1"
+
+SRC_URI = "git://git.clutter-project.org/clutter-mozembed.git;protocol=git \
+ file://link-with-g++.patch;patch=1"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend () {
+ touch ${S}/cluttermozembed/dummy.cpp
+ touch ${S}/cluttermozembed/dummy2.cpp
+} \ No newline at end of file