Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | require cairo.inc |
| 2 | |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" |
| 4 | |
| 5 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \ |
| 6 | file://cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff \ |
| 7 | file://0001-cairo-Fix-CVE-2017-9814.patch \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI[md5sum] = "9f0db9dbfca0966be8acd682e636d165" |
| 11 | SRC_URI[sha256sum] = "8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16" |
| 12 | |
| 13 | PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils" |
| 14 | |
| 15 | SUMMARY_${PN} = "The Cairo 2D vector graphics library" |
| 16 | DESCRIPTION_${PN} = "Cairo is a multi-platform library providing anti-aliased \ |
| 17 | vector-based rendering for multiple target backends. Paths consist \ |
| 18 | of line segments and cubic splines and can be rendered at any width \ |
| 19 | with various join and cap styles. All colors may be specified with \ |
| 20 | optional translucence (opacity/alpha) and combined using the \ |
| 21 | extended Porter/Duff compositing algebra as found in the X Render \ |
| 22 | Extension." |
| 23 | |
| 24 | SUMMARY_cairo-gobject = "The Cairo library GObject wrapper library" |
| 25 | DESCRIPTION_cairo-gobject = "A GObject wrapper library for the Cairo API." |
| 26 | |
| 27 | SUMMARY_cairo-script-interpreter = "The Cairo library script interpreter" |
| 28 | DESCRIPTION_cairo-script-interpreter = "The Cairo script interpreter implements \ |
| 29 | CairoScript. CairoScript is used by tracing utilities to enable the ability \ |
| 30 | to replay rendering." |
| 31 | |
| 32 | DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities" |
| 33 | |
| 34 | FILES_${PN} = "${libdir}/libcairo.so.*" |
| 35 | FILES_${PN}-dev += "${libdir}/cairo/*.so" |
| 36 | FILES_${PN}-gobject = "${libdir}/libcairo-gobject.so.*" |
| 37 | FILES_${PN}-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*" |
| 38 | FILES_${PN}-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/*.la ${libdir}/cairo/libcairo-trace.so.*" |
| 39 | |
| 40 | do_install_append () { |
| 41 | rm -rf ${D}${bindir}/cairo-sphinx |
| 42 | rm -rf ${D}${libdir}/cairo/cairo-fdr* |
| 43 | rm -rf ${D}${libdir}/cairo/cairo-sphinx* |
| 44 | rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr* |
| 45 | rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx* |
| 46 | } |