diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-01-16 15:43:12 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-16 18:19:54 +0100 |
commit | 2df5dcf528a4be15d5a997936754e7973856d535 (patch) | |
tree | 16ffb517cdaf64bcdcc3dc1eeb015df95dded726 | |
parent | cac1ca451a303cf4e234629fed0588fdbd669c69 (diff) | |
download | meta-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.inc | 6 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo.inc | 19 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo_1.10.2.bb | 10 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend | 2 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairomm_1.10.0.bb | 2 |
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 | |||
2 | def 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 @@ | |||
1 | SECTION = "libs" | ||
2 | DEPENDS = "virtual/libx11 pixman libsm libpng fontconfig libxrender glib-2.0" | ||
3 | DESCRIPTION = "Cairo graphics library" | ||
4 | LICENSE = "MPL LGPL" | ||
5 | |||
6 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
7 | require cairo-fpu.inc | ||
8 | EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | BBCLASSEXTEND = "native" | ||
13 | |||
14 | PACKAGES =+ "cairo-trace cairo-trace-dev libcairo-script-interpreter libcairo-gobject" | ||
15 | FILES_libcairo-gobject = "${libdir}/libcairo-gobject.so.*" | ||
16 | FILES_libcairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*" | ||
17 | FILES_cairo-trace = "${bindir}/*trace ${libdir}/cairo/libcairo-trace.so.*" | ||
18 | FILES_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 @@ | |||
1 | require cairo.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" | ||
4 | |||
5 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \ | ||
6 | " | ||
7 | SRC_URI[cairo.md5sum] = "f101a9e88b783337b20b2e26dfd26d5f" | ||
8 | SRC_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 @@ | |||
1 | BBCLASSEXTEND = "native" | ||
2 | PRINC := "${@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 @@ | |||
1 | require cairo.inc | 1 | require recipes-graphics/cairo/cairo.inc |
2 | 2 | ||
3 | DESCRIPTION = "C++ bindings for Cairo graphics library" | 3 | DESCRIPTION = "C++ bindings for Cairo graphics library" |
4 | 4 | ||