blob: 4e2dacbc4d89f99318c3aca4a41f08bdedf44cd3 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "Accessibility toolkit for GNOME"
2HOMEPAGE = "http://live.gnome.org/GAP/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4SECTION = "x11/libs"
5
6LICENSE = "GPLv2+ & LGPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
8 file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
9 file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
10
11# Need gettext-native as Meson can't turn off i18n
12DEPENDS = "gettext-native glib-2.0"
13
14GNOMEBASEBUILDCLASS = "meson"
15inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
16
17GTKDOC_ENABLE_FLAG = "-Ddocs=true"
18GTKDOC_DISABLE_FLAG = "-Ddocs=false"
19
20GI_ENABLE_FLAG = "-Dintrospection=true"
21GI_DISABLE_FLAG = "-Dintrospection=false"
22
23EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}"
24
25EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
26 '${GI_DISABLE_FLAG}', d)} "
27
28EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
29 '${GTKDOC_DISABLE_FLAG}', d)} "
30
31SRC_URI_append = " \
32 file://0001-meson.build-enable-introspection-for-cross-compile.patch \
33 file://0001-Switch-from-filename-to-basename.patch \
34 "
35SRC_URI[archive.md5sum] = "769c85005d392ad17ffbc063f2d26454"
36SRC_URI[archive.sha256sum] = "dd4d90d4217f2a0c1fee708a555596c2c19d26fef0952e1ead1938ab632c027b"
37
38BBCLASSEXTEND = "native nativesdk"
39