diff options
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.bb | 37 |
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 @@ | |||
1 | SUMMARY = "Python bindings for GStreamer 1.0" | ||
2 | DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ | ||
3 | provided by python-gi) " | ||
4 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | LICENSE = "LGPL-2.1-or-later" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | ||
9 | |||
10 | SRC_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 | " | ||
14 | SRC_URI[sha256sum] = "041c2255c1ea9936c777dcb08a36ecaa6a24a69a12fc46ef53f1530d46c59f9d" | ||
15 | |||
16 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
17 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
18 | |||
19 | PNREAL = "gst-python" | ||
20 | |||
21 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" | ||
22 | |||
23 | EXTRA_OEMESON += "\ | ||
24 | -Dtests=disabled \ | ||
25 | -Dplugin=enabled \ | ||
26 | -Dlibpython-dir=${libdir} \ | ||
27 | " | ||
28 | |||
29 | inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check | ||
30 | |||
31 | # Drop .imx from PV | ||
32 | def get_gst_ver(v): | ||
33 | return oe.utils.trim_version(v, 3) | ||
34 | |||
35 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
36 | |||
37 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||