diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb')
| -rw-r--r-- | recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb new file mode 100644 index 000000000..3830846b3 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | # This builds an older version which is compatible with the gstreamer NXP fork 1.24.7.imx, | ||
| 2 | # thus the version is appended with '.imx' | ||
| 3 | |||
| 4 | SUMMARY = "GStreamer examples (including gtk-play, gst-play)" | ||
| 5 | DESCRIPTION = "GStreamer example applications." | ||
| 6 | HOMEPAGE = "https://gitlab.freedesktop.org/gstreamer/gst-examples" | ||
| 7 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues" | ||
| 8 | LICENSE = "LGPL-2.0-or-later" | ||
| 9 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" | ||
| 10 | |||
| 11 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" | ||
| 12 | |||
| 13 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.24 \ | ||
| 14 | file://0001-Make-player-examples-installable.patch \ | ||
| 15 | file://gst-player.desktop \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git/subprojects/gst-examples" | ||
| 21 | |||
| 22 | inherit meson pkgconfig features_check | ||
| 23 | |||
| 24 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | ||
| 25 | |||
| 26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop | ||
| 30 | } | ||
| 31 | |||
| 32 | RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" | ||
| 33 | RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ | ||
| 34 | gstreamer1.0-plugins-good-meta \ | ||
| 35 | gstreamer1.0-plugins-bad-meta \ | ||
| 36 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ | ||
| 37 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" | ||
| 38 | RPROVIDES:${PN} += "gst-player gst-player-bin" | ||
