1SUMMARY = "GStreamer integration library for Clutter"
2DESCRIPTION = "Clutter-Gst is an integration library for using GStreamer with Clutter. \
3It provides a GStreamer sink to upload frames to GL and an actor that \
4implements the ClutterGstPlayer interface using playbin."
5HOMEPAGE = "http://www.clutter-project.org/"
6BUGTRACKER = "https://gitlab.gnome.org/GNOME/clutter-gst/-/issues"
7LICENSE = "LGPL-2.0-or-later"
8
9inherit clutter features_check upstream-version-is-even gobject-introspection
10# depends on clutter-1.0 which depends on cogl-1.0
11REQUIRED_DISTRO_FEATURES ?= "opengl"
12
13export GST_PLUGIN_SCANNER_1_0="${S}/gst-plugin-scanner-dummy"
14
15SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch"
16
17DEPENDS = "gstreamer1.0-plugins-base gstreamer1.0-plugins-bad clutter-1.0 libgudev"
18RDEPENDS:${PN} += "gstreamer1.0-meta-base"
19PACKAGES  =+ "${PN}-examples"
20
21FILES:${PN}          += "${libdir}/gstreamer-1.0/lib*.so"
22FILES:${PN}-dev      += "${libdir}/gstreamer-1.0/*.la"
23FILES:${PN}-examples  = "${bindir}/video-player ${bindir}/video-sink"
24