summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb
new file mode 100644
index 000000000..388ee81e6
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Python bindings for GStreamer 1.0"
2DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \
3provided by python-gi) "
4HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/"
5SECTION = "multimedia"
6
7LICENSE = "LGPL-2.1-or-later"
8LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
9
10SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz"
11SRC_URI[sha256sum] = "e5046a05d77abb15671ad01cd1908d17d62e5a06f5d7841be4342ade2a3fb8db"
12
13DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
14DEPENDS:append = " gstreamer1.0-plugins-bad"
15
16RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
17
18PNREAL = "gst-python"
19
20S = "${UNPACKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}"
21
22EXTRA_OEMESON += "\
23 -Dtests=disabled \
24 -Dplugin=enabled \
25 -Dlibpython-dir=${libdir} \
26"
27
28inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check
29
30# Drop .imx from PV
31def get_gst_ver(v):
32 return oe.utils.trim_version(v, 3)
33
34FILES:${PN} += "${libdir}/gstreamer-1.0"
35
36REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"