diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb b/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb new file mode 100644 index 0000000000..e83ea8cb79 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "GStreamer examples (including gtk-play, gst-play)" | ||
2 | LICENSE = "LGPL-2.0+" | ||
3 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" | ||
4 | |||
5 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 glib-2.0-native" | ||
6 | |||
7 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gst-examples.git;protocol=https \ | ||
8 | file://0001-Make-player-examples-installable.patch \ | ||
9 | file://gst-player.desktop \ | ||
10 | " | ||
11 | |||
12 | SRCREV = "d953c127c1146b50d5676618299933950685dcd7" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit meson pkgconfig distro_features_check | ||
17 | |||
18 | |||
19 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
20 | |||
21 | do_install_append() { | ||
22 | install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop | ||
23 | } | ||
24 | |||
25 | RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback" | ||
26 | RRECOMMENDS_${PN} = "gstreamer1.0-plugins-base-meta \ | ||
27 | gstreamer1.0-plugins-good-meta \ | ||
28 | gstreamer1.0-plugins-bad-meta \ | ||
29 | ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \ | ||
30 | ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" | ||
31 | RPROVIDES_${PN} += "gst-player gst-player-bin" | ||