1SUMMARY = "A thin layer of graphic data types"
2HOMEPAGE = "http://ebassi.github.io/graphene/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7d871d9e23c450c421a85bb2819f648"
5
6GNOMEBASEBUILDCLASS = "meson"
7
8inherit gnomebase gobject-introspection gtk-doc
9
10SRC_URI += "file://float-div.patch"
11
12SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
13
14# Disable neon support by default on ARM-32 platforms because of the
15# following upstream bug: https://github.com/ebassi/graphene/issues/215
16PACKAGECONFIG ?= "gobject-types ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', '', d)}"
17
18PACKAGECONFIG[gobject-types] = "-Dgobject_types=true,-Dgobject_types=false,glib-2.0"
19PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false,"
20
21GIR_MESON_ENABLE_FLAG = 'enabled'
22GIR_MESON_DISABLE_FLAG = 'disabled'
23
24GTKDOC_MESON_OPTION = "gtk_doc"
25
26EXTRA_OEMESON = "-Dinstalled_tests=false"
27
28FILES:${PN} += "${libdir}/graphene-1.0"
29
30BBCLASSEXTEND = "native nativesdk"
31