Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Accessibility toolkit for GNOME" |
| 2 | HOMEPAGE = "http://live.gnome.org/GAP/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
| 4 | SECTION = "x11/libs" |
| 5 | |
| 6 | LICENSE = "GPLv2+ & LGPLv2+" |
| 7 | LIC_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 |
| 12 | DEPENDS = "gettext-native glib-2.0" |
| 13 | |
| 14 | GNOMEBASEBUILDCLASS = "meson" |
| 15 | inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection |
| 16 | |
| 17 | GTKDOC_ENABLE_FLAG = "-Denable_docs=true" |
| 18 | GTKDOC_DISABLE_FLAG = "-Denable_docs=false" |
| 19 | |
| 20 | GI_ENABLE_FLAG = "-Ddisable_introspection=false" |
| 21 | GI_DISABLE_FLAG = "-Ddisable_introspection=true" |
| 22 | |
| 23 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ |
| 24 | '${GI_DISABLE_FLAG}', d)} " |
| 25 | |
| 26 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ |
| 27 | '${GTKDOC_DISABLE_FLAG}', d)} " |
| 28 | |
| 29 | SRC_URI_append = " \ |
| 30 | file://0001-meson.build-enable-introspection-for-cross-compile.patch \ |
| 31 | file://0001-Switch-from-filename-to-basename.patch \ |
| 32 | " |
| 33 | SRC_URI[archive.md5sum] = "dfb5e7474220afa3f4ca7e45af9f3a11" |
| 34 | SRC_URI[archive.sha256sum] = "cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc" |
| 35 | |
| 36 | BBCLASSEXTEND = "native" |
| 37 | |