summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb8
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.20.3.imx.bb8
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.3.imx.bb8
3 files changed, 18 insertions, 6 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb
index a3f22a0d..5777679d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb
@@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
11 file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ 11 file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
12 " 12 "
13 13
14SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \ 14SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz \
15 file://0001-libav-Fix-for-APNG-encoder-property-registration.patch \ 15 file://0001-libav-Fix-for-APNG-encoder-property-registration.patch \
16 " 16 "
17SRC_URI[sha256sum] = "3fedd10560fcdfaa1b6462cbf79a38c4e7b57d7f390359393fc0cef6dbf27dfe" 17SRC_URI[sha256sum] = "3fedd10560fcdfaa1b6462cbf79a38c4e7b57d7f390359393fc0cef6dbf27dfe"
18 18
19S = "${WORKDIR}/gst-libav-${PV}" 19S = "${WORKDIR}/gst-libav-${@get_gst_ver('${PV}')}"
20 20
21DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" 21DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg"
22 22
@@ -26,6 +26,10 @@ EXTRA_OEMESON += " \
26 -Dtests=disabled \ 26 -Dtests=disabled \
27" 27"
28 28
29# Drop .imx from PV
30def get_gst_ver(v):
31 return oe.utils.trim_version(v, 3)
32
29FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" 33FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
30FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" 34FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
31 35
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
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.3.imx.bb
index 172cb083..2a3d9db6 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.3.imx.bb
@@ -8,11 +8,11 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
8 8
9PNREAL = "gst-rtsp-server" 9PNREAL = "gst-rtsp-server"
10 10
11SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" 11SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz"
12 12
13SRC_URI[sha256sum] = "ee402718be9b127f0e5e66ca4c1b4f42e4926ec93ba307b7ccca5dc6cc9794ca" 13SRC_URI[sha256sum] = "ee402718be9b127f0e5e66ca4c1b4f42e4926ec93ba307b7ccca5dc6cc9794ca"
14 14
15S = "${WORKDIR}/${PNREAL}-${PV}" 15S = "${WORKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}"
16 16
17inherit meson pkgconfig upstream-version-is-even gobject-introspection 17inherit meson pkgconfig upstream-version-is-even gobject-introspection
18 18
@@ -25,6 +25,10 @@ EXTRA_OEMESON += " \
25GIR_MESON_ENABLE_FLAG = "enabled" 25GIR_MESON_ENABLE_FLAG = "enabled"
26GIR_MESON_DISABLE_FLAG = "disabled" 26GIR_MESON_DISABLE_FLAG = "disabled"
27 27
28# Drop .imx from PV
29def get_gst_ver(v):
30 return oe.utils.trim_version(v, 3)
31
28# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well 32# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
29require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc 33require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
30 34