1*8460358cSPatrick WilliamsSUMMARY = "Pixman: Pixel Manipulation library"
2*8460358cSPatrick WilliamsDESCRIPTION = "Pixman provides a library for manipulating pixel regions \
3*8460358cSPatrick Williams-- a set of Y-X banded rectangles, image compositing using the \
4*8460358cSPatrick WilliamsPorter/Duff model and implicit mask generation for geometric primitives \
5*8460358cSPatrick Williamsincluding trapezoids, triangles, and rectangles."
6*8460358cSPatrick WilliamsHOMEPAGE = "http://www.pixman.org"
7*8460358cSPatrick WilliamsSECTION = "x11/libs"
8*8460358cSPatrick WilliamsDEPENDS = "zlib"
9*8460358cSPatrick Williams
10*8460358cSPatrick WilliamsSRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz"
11*8460358cSPatrick WilliamsSRC_URI[sha256sum] = "6349061ce1a338ab6952b92194d1b0377472244208d47ff25bef86fc71973466"
12*8460358cSPatrick Williams
13*8460358cSPatrick Williams# see http://cairographics.org/releases/ - only even minor versions are stable
14*8460358cSPatrick WilliamsUPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
15*8460358cSPatrick Williams
16*8460358cSPatrick WilliamsPE = "1"
17*8460358cSPatrick Williams
18*8460358cSPatrick WilliamsLICENSE = "MIT & PD"
19*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
20*8460358cSPatrick Williams                    file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \
21*8460358cSPatrick Williams                    file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \
22*8460358cSPatrick Williams                   "
23*8460358cSPatrick Williams
24*8460358cSPatrick Williamsinherit meson pkgconfig
25*8460358cSPatrick Williams
26*8460358cSPatrick Williams# These are for the tests and demos, which we don't install
27*8460358cSPatrick WilliamsEXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled"
28*8460358cSPatrick Williams# ld: pixman/libpixman-mmx.a(pixman-mmx.c.o):
29*8460358cSPatrick Williams# linking mips:loongson_2f module with previous mips:isa64 modules
30*8460358cSPatrick WilliamsEXTRA_OEMESON += "-Dloongson-mmi=disabled"
31*8460358cSPatrick Williams
32*8460358cSPatrick WilliamsEXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
33*8460358cSPatrick WilliamsEXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
34*8460358cSPatrick WilliamsEXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
35*8460358cSPatrick Williams
36*8460358cSPatrick WilliamsEXTRA_OEMESON:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
37*8460358cSPatrick WilliamsEXTRA_OEMESON:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
38*8460358cSPatrick Williams
39*8460358cSPatrick WilliamsEXTRA_OEMESON:append:class-native = " -Dopenmp=disabled"
40*8460358cSPatrick Williams
41*8460358cSPatrick WilliamsBBCLASSEXTEND = "native nativesdk"
42*8460358cSPatrick Williams
43*8460358cSPatrick WilliamsCVE_STATUS[CVE-2023-37769] = "not-applicable-config: stress-test is an uninstalled test"
44