blob: 048b45a08f687a6f439a0102a0a360b0388512b4 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "GStreamer examples (including gtk-play, gst-play)"
2LICENSE = "LGPL-2.0+"
3LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9"
4
Andrew Geissler6ce62a22020-11-30 19:58:47 -06005DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 libsoup-2.4 json-glib glib-2.0-native"
Brad Bishop316dfdd2018-06-25 12:45:53 -04006
Andrew Geissler6ce62a22020-11-30 19:58:47 -06007SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gst-examples.git;protocol=https;branch=1.18 \
Brad Bishop316dfdd2018-06-25 12:45:53 -04008 file://0001-Make-player-examples-installable.patch \
Brad Bishop15ae2502019-06-18 21:44:24 -04009 file://gst-player.desktop \
10 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012SRCREV = "998ee69af18a5928759dbe17fffbceebbc8d72d0"
Brad Bishop316dfdd2018-06-25 12:45:53 -040013
14S = "${WORKDIR}/git"
15
Brad Bishop6dbb3162019-11-25 09:41:34 -050016inherit meson pkgconfig features_check
Brad Bishop316dfdd2018-06-25 12:45:53 -040017
Andrew Geissler475cb722020-07-10 16:00:51 -050018UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
Brad Bishop316dfdd2018-06-25 12:45:53 -040019
20ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
21
22do_install_append() {
23 install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
24}
25
26RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback"
27RRECOMMENDS_${PN} = "gstreamer1.0-plugins-base-meta \
28 gstreamer1.0-plugins-good-meta \
29 gstreamer1.0-plugins-bad-meta \
30 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \
31 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"
32RPROVIDES_${PN} += "gst-player gst-player-bin"