diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/clutter/clutter-mozembed.inc | 10 | ||||
-rw-r--r-- | meta/packages/clutter/clutter-mozembed/link-with-g++.patch | 30 | ||||
-rw-r--r-- | meta/packages/clutter/clutter-mozembed_git.bb | 14 |
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 @@ | |||
1 | DESCRIPTION = "Clutter Mozilla Embedded" | ||
2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | |||
5 | DEPENDS = "mozilla-headless" | ||
6 | |||
7 | FILESPATH = "${FILE_DIRNAME}/clutter-mozembed" | ||
8 | |||
9 | inherit autotools_stage pkgconfig gtk-doc | ||
10 | |||
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 @@ | |||
1 | Index: git/cluttermozembed/Makefile.am | ||
2 | =================================================================== | ||
3 | --- git.orig/cluttermozembed/Makefile.am 2009-01-27 14:17:00.000000000 +0000 | ||
4 | +++ git/cluttermozembed/Makefile.am 2009-01-28 15:36:27.000000000 +0000 | ||
5 | @@ -16,11 +16,11 @@ | ||
6 | source_h = \ | ||
7 | clutter-mozembed.h | ||
8 | source_c = \ | ||
9 | - clutter-mozembed.c | ||
10 | + clutter-mozembed.c dummy2.cpp | ||
11 | |||
12 | bin_PROGRAMS = mozheadless | ||
13 | |||
14 | -mozheadless_SOURCES = mozheadless.c | ||
15 | +mozheadless_SOURCES = mozheadless.c dummy.cpp | ||
16 | |||
17 | lib_LTLIBRARIES = libcluttermozembed.la | ||
18 | libcluttermozembed_la_SOURCES = $(source_c) $(source_h) | ||
19 | Index: git/configure.ac | ||
20 | =================================================================== | ||
21 | --- git.orig/configure.ac 2009-01-27 14:17:01.000000000 +0000 | ||
22 | +++ git/configure.ac 2009-01-28 15:35:38.000000000 +0000 | ||
23 | @@ -7,6 +7,7 @@ | ||
24 | |||
25 | AC_ISC_POSIX | ||
26 | AC_PROG_CC | ||
27 | +AC_PROG_CXX | ||
28 | AC_STDC_HEADERS | ||
29 | AC_PROG_LIBTOOL | ||
30 | |||
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 @@ | |||
1 | require clutter-mozembed.inc | ||
2 | |||
3 | PV = "0.8.0+git${SRCREV}" | ||
4 | PR = "r1" | ||
5 | |||
6 | SRC_URI = "git://git.clutter-project.org/clutter-mozembed.git;protocol=git \ | ||
7 | file://link-with-g++.patch;patch=1" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | do_configure_prepend () { | ||
12 | touch ${S}/cluttermozembed/dummy.cpp | ||
13 | touch ${S}/cluttermozembed/dummy2.cpp | ||
14 | } \ No newline at end of file | ||