summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-03-11 09:57:34 -0800
committerKhem Raj <raj.khem@gmail.com>2023-03-11 09:57:34 -0800
commit33a4bdd8a7faa15cc649acbf9ee88b6bdc8b7329 (patch)
tree5cd64a824ec0249186006d350949e8ae0f8cde52 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb
parent006150473048c94d32a9bd255f09525a286c2b7c (diff)
downloadmeta-freescale-33a4bdd8a7faa15cc649acbf9ee88b6bdc8b7329.tar.gz
gstreamer1.0-libav,gstreamer1.0-plugins-ugly,gstreamer1.0-rtsp-server: Drop .imx when needing gstreamer version
Fixes fetching errors otherwise, since it can not file source tarballs on gstreamer download servers with 1.20.3.imx suffix Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jose Quaresma <jose.quaresma@foundries.io>
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb
index d961c5af..32af9683 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb
@@ -12,11 +12,11 @@ LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
12LICENSE_FLAGS = "commercial" 12LICENSE_FLAGS = "commercial"
13 13
14SRC_URI = " \ 14SRC_URI = " \
15 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ 15 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \
16 " 16 "
17SRC_URI[sha256sum] = "8caa20789a09c304b49cf563d33cca9421b1875b84fcc187e4a385fa01d6aefd" 17SRC_URI[sha256sum] = "8caa20789a09c304b49cf563d33cca9421b1875b84fcc187e4a385fa01d6aefd"
18 18
19S = "${WORKDIR}/gst-plugins-ugly-${PV}" 19S = "${WORKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}"
20 20
21DEPENDS += "gstreamer1.0-plugins-base" 21DEPENDS += "gstreamer1.0-plugins-base"
22 22
@@ -42,6 +42,10 @@ EXTRA_OEMESON += " \
42 -Dsidplay=disabled \ 42 -Dsidplay=disabled \
43" 43"
44 44
45# Drop .imx from PV
46def get_gst_ver(v):
47 return oe.utils.trim_version(v, 3)
48
45FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" 49FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
46FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" 50FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"
47 51