blob: 4670ab34db8b573ddd97aa29c8115268e8d15484 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "GStreamer examples (including gtk-play, gst-play)"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "GStreamer example applications"
3HOMEPAGE = "https://gitlab.freedesktop.org/gstreamer/gst-examples"
4BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues"
Brad Bishop316dfdd2018-06-25 12:45:53 -04005LICENSE = "LGPL-2.0+"
6LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9"
7
Andrew Geissler6ce62a22020-11-30 19:58:47 -06008DEPENDS = "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 -04009
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gst-examples.git;protocol=https;branch=1.18 \
Brad Bishop316dfdd2018-06-25 12:45:53 -040011 file://0001-Make-player-examples-installable.patch \
Brad Bishop15ae2502019-06-18 21:44:24 -040012 file://gst-player.desktop \
13 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040014
Andrew Geissler95ac1b82021-03-31 14:34:31 -050015SRCREV = "959bb246a5b1f5f9c78557da11c3f22b42ff89c0"
Brad Bishop316dfdd2018-06-25 12:45:53 -040016
17S = "${WORKDIR}/git"
18
Brad Bishop6dbb3162019-11-25 09:41:34 -050019inherit meson pkgconfig features_check
Brad Bishop316dfdd2018-06-25 12:45:53 -040020
Andrew Geissler475cb722020-07-10 16:00:51 -050021UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
Brad Bishop316dfdd2018-06-25 12:45:53 -040022
23ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
24
25do_install_append() {
26 install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
27}
28
29RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback"
30RRECOMMENDS_${PN} = "gstreamer1.0-plugins-base-meta \
31 gstreamer1.0-plugins-good-meta \
32 gstreamer1.0-plugins-bad-meta \
33 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \
34 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"
35RPROVIDES_${PN} += "gst-player gst-player-bin"