diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 10:06:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:27:25 +0100 |
commit | a272d989a980749445e19846177f2a5968e04188 (patch) | |
tree | 2fe0013572b62d31d19a6acdd09e9c7d4c57349f /meta/recipes-graphics/cairo | |
parent | a3afabae30134312791536b003aa4a48b7f3bb19 (diff) | |
download | poky-a272d989a980749445e19846177f2a5968e04188.tar.gz |
cairo: Clean up packaging and fix warnings
There were a number of QA errors being reported when packaging cairo. This patch
ensures the debug files go in the -dbg package, the .so development links go into
the -dev package, .a files into -staticdev.
It also switches back to relying on debian package naming for the library name.
Since this is working correctly now the files are in the correct packages, we
can simplify the recipe and there is no change in the resulting package names
from a package feed perspective.
(From OE-Core rev: 9e8bc7b5834578f325c5777bf196dc834ca406c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cairo')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo_1.10.2.bb | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/meta/recipes-graphics/cairo/cairo_1.10.2.bb b/meta/recipes-graphics/cairo/cairo_1.10.2.bb index 572e1f6752..d2cadd249f 100644 --- a/meta/recipes-graphics/cairo/cairo_1.10.2.bb +++ b/meta/recipes-graphics/cairo/cairo_1.10.2.bb | |||
@@ -2,31 +2,17 @@ require cairo.inc | |||
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" |
4 | 4 | ||
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz" | 7 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "f101a9e88b783337b20b2e26dfd26d5f" | 9 | SRC_URI[md5sum] = "f101a9e88b783337b20b2e26dfd26d5f" |
10 | SRC_URI[sha256sum] = "32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41" | 10 | SRC_URI[sha256sum] = "32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41" |
11 | 11 | ||
12 | RDEPENDS_${PN} += "libcairo2 libcairo-gobject2 libcairo-script-interpreter2 \ | 12 | PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils" |
13 | cairo-perf-utils" | ||
14 | 13 | ||
15 | ALLOW_EMPTY = "1" | 14 | SUMMARY_${PN} = "The Cairo 2D vector graphics library" |
16 | 15 | DESCRIPTION_${PN} = "Cairo is a multi-platform library providing anti-aliased \ | |
17 | # | ||
18 | # Old version (1.8.10 or below) is automatically named as libcairo2 by | ||
19 | # debian_package_name_hook. To keep backword compatibility, | ||
20 | # it is necessary to explicitly name the package as libcairo2 here | ||
21 | # | ||
22 | PACKAGES =+ "libcairo2 libcairo2-dev libcairo2-dbg \ | ||
23 | libcairo-gobject2 \ | ||
24 | libcairo-script-interpreter2 \ | ||
25 | cairo-perf-utils \ | ||
26 | " | ||
27 | |||
28 | SUMMARY_libcairo2 = "The Cairo 2D vector graphics library" | ||
29 | DESCRIPTION_libcairo2 = "Cairo is a multi-platform library providing anti-aliased \ | ||
30 | vector-based rendering for multiple target backends. Paths consist \ | 16 | vector-based rendering for multiple target backends. Paths consist \ |
31 | of line segments and cubic splines and can be rendered at any width \ | 17 | of line segments and cubic splines and can be rendered at any width \ |
32 | with various join and cap styles. All colors may be specified with \ | 18 | with various join and cap styles. All colors may be specified with \ |
@@ -34,20 +20,20 @@ optional translucence (opacity/alpha) and combined using the \ | |||
34 | extended Porter/Duff compositing algebra as found in the X Render \ | 20 | extended Porter/Duff compositing algebra as found in the X Render \ |
35 | Extension." | 21 | Extension." |
36 | 22 | ||
37 | SUMMARY_libcairo-gobject2 = "The Cairo library GObject wrapper library" | 23 | SUMMARY_cairo-gobject = "The Cairo library GObject wrapper library" |
38 | DESCRIPTION_libcairo-gobject2 = "A GObject wrapper library for the Cairo API." | 24 | DESCRIPTION_cairo-gobject = "A GObject wrapper library for the Cairo API." |
39 | 25 | ||
40 | SUMMARY_libcairo-script-interpreter2 = "The Cairo library script interpreter" | 26 | SUMMARY_cairo-script-interpreter = "The Cairo library script interpreter" |
41 | DESCRIPTION_libcairo-script-interpreter2 = "The Cairo script interpreter implements \ | 27 | DESCRIPTION_cairo-script-interpreter = "The Cairo script interpreter implements \ |
42 | CairoScript. CairoScript is used by tracing utilities to enable the ability \ | 28 | CairoScript. CairoScript is used by tracing utilities to enable the ability \ |
43 | to replay rendering." | 29 | to replay rendering." |
44 | 30 | ||
45 | DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities" | 31 | DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities" |
46 | 32 | ||
47 | FILES_libcairo2 = "${libdir}/libcairo.so*" | 33 | FILES_${PN} = "${libdir}/libcairo.so.*" |
48 | FILES_libcairo2-dev = "${includedir} ${libdir}/*.la ${libdir}/*.a \ | 34 | FILES_${PN}-dev += "${libdir}/cairo/*.la ${libdir}/cairo/*.so" |
49 | ${libdir}/*.o ${libdir}/pkgconfig" | 35 | FILES_${PN}-dbg += "${libdir}/cairo/.debug" |
50 | FILES_libcairo2-dbg = "${libdir}/.debug ${libdir}/cairo/.debug" | 36 | FILES_${PN}-staticdev += "${libdir}/cairo/*.a" |
51 | FILES_libcairo-gobject2 = "${libdir}/libcairo-gobject.so*" | 37 | FILES_cairo-gobject = "${libdir}/libcairo-gobject.so.*" |
52 | FILES_libcairo-script-interpreter2 = "${libdir}/libcairo-script-interpreter.so*" | 38 | FILES_cairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*" |
53 | FILES_cairo-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/libcairo-trace.*" | 39 | FILES_cairo-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/libcairo-trace.so.*" |