1SUMMARY = "Pixman: Pixel Manipulation library" 2DESCRIPTION = "Pixman provides a library for manipulating pixel regions \ 3-- a set of Y-X banded rectangles, image compositing using the \ 4Porter/Duff model and implicit mask generation for geometric primitives \ 5including trapezoids, triangles, and rectangles." 6HOMEPAGE = "http://www.pixman.org" 7SECTION = "x11/libs" 8DEPENDS = "zlib" 9 10SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \ 11 file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ 12 file://CVE-2022-44638.patch \ 13 " 14SRC_URI[md5sum] = "73858c0862dd9896fb5f62ae267084a4" 15SRC_URI[sha256sum] = "6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc" 16 17# see http://cairographics.org/releases/ - only even minor versions are stable 18UPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" 19 20PE = "1" 21 22LICENSE = "MIT & MIT & PD" 23LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \ 24 file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \ 25 file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ 26 " 27 28inherit meson pkgconfig 29 30# These are for the tests and demos, which we don't install 31EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled" 32# ld: pixman/libpixman-mmx.a(pixman-mmx.c.o): 33# linking mips:loongson_2f module with previous mips:isa64 modules 34EXTRA_OEMESON += "-Dloongson-mmi=disabled" 35# disable iwmmxt due to compile fails on most arm platforms. 36EXTRA_OEMESON += "-Diwmmxt=disabled" 37 38EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" 39EXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" 40EXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" 41 42BBCLASSEXTEND = "native nativesdk" 43