blob: 26b13b69d7273fd1ad69a4e1a481af208a8ca567 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "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 = "-Denable_docs=true"
18GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
19
20GI_ENABLE_FLAG = "-Ddisable_introspection=false"
21GI_DISABLE_FLAG = "-Ddisable_introspection=true"
22
23EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
24 '${GI_DISABLE_FLAG}', d)} "
25
26EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
27 '${GTKDOC_DISABLE_FLAG}', d)} "
28
29SRC_URI_append = " \
30 file://0001-meson.build-enable-introspection-for-cross-compile.patch \
31 file://0001-Switch-from-filename-to-basename.patch \
32 "
33SRC_URI[archive.md5sum] = "dfb5e7474220afa3f4ca7e45af9f3a11"
34SRC_URI[archive.sha256sum] = "cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc"
35
36BBCLASSEXTEND = "native"
37