Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [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 = "-Ddocs=true" |
| 18 | GTKDOC_DISABLE_FLAG = "-Ddocs=false" |
| 19 | |
| 20 | GI_ENABLE_FLAG = "-Dintrospection=true" |
| 21 | GI_DISABLE_FLAG = "-Dintrospection=false" |
| 22 | |
| 23 | EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}" |
| 24 | |
| 25 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ |
| 26 | '${GI_DISABLE_FLAG}', d)} " |
| 27 | |
| 28 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ |
| 29 | '${GTKDOC_DISABLE_FLAG}', d)} " |
| 30 | |
| 31 | SRC_URI_append = " \ |
| 32 | file://0001-meson.build-enable-introspection-for-cross-compile.patch \ |
| 33 | file://0001-Switch-from-filename-to-basename.patch \ |
| 34 | " |
| 35 | SRC_URI[archive.md5sum] = "769c85005d392ad17ffbc063f2d26454" |
| 36 | SRC_URI[archive.sha256sum] = "dd4d90d4217f2a0c1fee708a555596c2c19d26fef0952e1ead1938ab632c027b" |
| 37 | |
| 38 | BBCLASSEXTEND = "native nativesdk" |
| 39 | |