blob: 4e82f566057006fa2c146d5bbde98dfef072d786 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application"
2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+"
4
Brad Bishop19323692019-04-05 15:28:33 -04005CLUTTERBASEBUILDCLASS = "meson"
6inherit clutter distro_features_check upstream-version-is-even gobject-introspection gtk-doc
7
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008# depends on clutter-1.0 which depends on cogl-1.0
9REQUIRED_DISTRO_FEATURES ?= "opengl"
10# depends on gtk+3
11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
13DEPENDS = "clutter-1.0 gtk+3"
14PACKAGES =+ "${PN}-examples"
Brad Bishop19323692019-04-05 15:28:33 -040015
16GTKDOC_ENABLE_FLAG = "-Denable_docs=true"
17GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
18
19GI_ENABLE_FLAG = "-Denable_gi=true"
20GI_DISABLE_FLAG = "-Denable_gi=false"
21
22EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}"
23
24EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
25 '${GI_DISABLE_FLAG}', d)} "
26
27EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
28 '${GTKDOC_DISABLE_FLAG}', d)} "
29
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031