summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-01-16 15:43:12 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-01-16 18:19:54 +0100
commit2df5dcf528a4be15d5a997936754e7973856d535 (patch)
tree16ffb517cdaf64bcdcc3dc1eeb015df95dded726
parentcac1ca451a303cf4e234629fed0588fdbd669c69 (diff)
downloadmeta-openembedded-2df5dcf528a4be15d5a997936754e7973856d535.tar.gz
cairo: replace cairo_1.10.2.bb and .inc files with .bbappend, change cairomm to use .inc from oe-core
* cairo-native is needed for pango-native and PRINC is for slight packaging changes in oe-core version Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo-fpu.inc6
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo.inc19
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo_1.10.2.bb10
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend2
-rw-r--r--meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb2
5 files changed, 3 insertions, 36 deletions
diff --git a/meta-oe/recipes-graphics/cairo/cairo-fpu.inc b/meta-oe/recipes-graphics/cairo/cairo-fpu.inc
deleted file mode 100644
index bdaf78979..000000000
--- a/meta-oe/recipes-graphics/cairo/cairo-fpu.inc
+++ /dev/null
@@ -1,6 +0,0 @@
1
2def get_cairo_fpu_setting(bb, d):
3 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
4 return "--disable-some-floating-point"
5 return ""
6
diff --git a/meta-oe/recipes-graphics/cairo/cairo.inc b/meta-oe/recipes-graphics/cairo/cairo.inc
deleted file mode 100644
index 615700492..000000000
--- a/meta-oe/recipes-graphics/cairo/cairo.inc
+++ /dev/null
@@ -1,19 +0,0 @@
1SECTION = "libs"
2DEPENDS = "virtual/libx11 pixman libsm libpng fontconfig libxrender glib-2.0"
3DESCRIPTION = "Cairo graphics library"
4LICENSE = "MPL LGPL"
5
6#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
7require cairo-fpu.inc
8EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
9
10inherit autotools pkgconfig
11
12BBCLASSEXTEND = "native"
13
14PACKAGES =+ "cairo-trace cairo-trace-dev libcairo-script-interpreter libcairo-gobject"
15FILES_libcairo-gobject = "${libdir}/libcairo-gobject.so.*"
16FILES_libcairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*"
17FILES_cairo-trace = "${bindir}/*trace ${libdir}/cairo/libcairo-trace.so.*"
18FILES_cairo-trace-dev = "${libdir}/cairo/*"
19
diff --git a/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bb b/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bb
deleted file mode 100644
index 9de75ed64..000000000
--- a/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require cairo.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
4
5SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \
6"
7SRC_URI[cairo.md5sum] = "f101a9e88b783337b20b2e26dfd26d5f"
8SRC_URI[cairo.sha256sum] = "32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41"
9
10
diff --git a/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend b/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend
new file mode 100644
index 000000000..f02e1292d
--- /dev/null
+++ b/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend
@@ -0,0 +1,2 @@
1BBCLASSEXTEND = "native"
2PRINC := "${@int(PRINC) + 1}"
diff --git a/meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb b/meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb
index e4fec3c39..dbde45811 100644
--- a/meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb
+++ b/meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb
@@ -1,4 +1,4 @@
1require cairo.inc 1require recipes-graphics/cairo/cairo.inc
2 2
3DESCRIPTION = "C++ bindings for Cairo graphics library" 3DESCRIPTION = "C++ bindings for Cairo graphics library"
4 4