Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application" |
| 2 | HOMEPAGE = "http://www.clutter-project.org/" |
| 3 | LICENSE = "LGPLv2+" |
| 4 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 5 | CLUTTERBASEBUILDCLASS = "meson" |
| 6 | inherit clutter distro_features_check upstream-version-is-even gobject-introspection gtk-doc |
| 7 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | # depends on clutter-1.0 which depends on cogl-1.0 |
| 9 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
| 10 | # depends on gtk+3 |
| 11 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | |
| 13 | DEPENDS = "clutter-1.0 gtk+3" |
| 14 | PACKAGES =+ "${PN}-examples" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | |
| 16 | GTKDOC_ENABLE_FLAG = "-Denable_docs=true" |
| 17 | GTKDOC_DISABLE_FLAG = "-Denable_docs=false" |
| 18 | |
| 19 | GI_ENABLE_FLAG = "-Denable_gi=true" |
| 20 | GI_DISABLE_FLAG = "-Denable_gi=false" |
| 21 | |
| 22 | EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}" |
| 23 | |
| 24 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ |
| 25 | '${GI_DISABLE_FLAG}', d)} " |
| 26 | |
| 27 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ |
| 28 | '${GTKDOC_DISABLE_FLAG}', d)} " |
| 29 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |