Add clutter-mozembed

This commit is contained in:
Richard Purdie
2009-01-28 15:39:27 +00:00
parent 53314a0125
commit 4b7ef3d8b5
3 changed files with 54 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
}