summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb
new file mode 100644
index 00000000..0ba9a1ae
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb
@@ -0,0 +1,37 @@
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 = "\
11 https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz \
12 file://0001-meson.build-Fix-missing-python_opt.patch \
13 "
14SRC_URI[sha256sum] = "041c2255c1ea9936c777dcb08a36ecaa6a24a69a12fc46ef53f1530d46c59f9d"
15
16DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
17RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
18
19PNREAL = "gst-python"
20
21S = "${WORKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}"
22
23EXTRA_OEMESON += "\
24 -Dtests=disabled \
25 -Dplugin=enabled \
26 -Dlibpython-dir=${libdir} \
27"
28
29inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check
30
31# Drop .imx from PV
32def get_gst_ver(v):
33 return oe.utils.trim_version(v, 3)
34
35FILES:${PN} += "${libdir}/gstreamer-1.0"
36
37REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"