blob: 22e19ba069e2aef468d3617b947db4e248b24c24 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Pixman: Pixel Manipulation library"
Brad Bishopc342db32019-05-15 21:57:59 -04002DESCRIPTION = "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."
Andrew Geissler82c905d2020-04-13 13:39:40 -05006HOMEPAGE = "http://www.pixman.org"
7SECTION = "x11/libs"
8DEPENDS = "zlib"
Brad Bishopc342db32019-05-15 21:57:59 -04009
Andrew Geissler82c905d2020-04-13 13:39:40 -050010SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \
11 file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \
12 file://0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch \
13 "
14SRC_URI[md5sum] = "267a7af290f93f643a1bc74490d9fdd1"
15SRC_URI[sha256sum] = "da66d6fd6e40aee70f7bd02e4f8f76fc3f006ec879d346bae6a723025cfbdde7"
Brad Bishopc342db32019-05-15 21:57:59 -040016
17# see http://cairographics.org/releases/ - only even minor versions are stable
18UPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
19
Andrew Geissler82c905d2020-04-13 13:39:40 -050020PE = "1"
21
Brad Bishopc342db32019-05-15 21:57:59 -040022LICENSE = "MIT & MIT-style & 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 "
Andrew Geissler82c905d2020-04-13 13:39:40 -050027
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
Brad Bishopc342db32019-05-15 21:57:59 -040036BBCLASSEXTEND = "native nativesdk"