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