summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rw-r--r--recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gst-examples_1.26.6.bb8
-rw-r--r--recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb5
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb138
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb56
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb58
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb13
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb20
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb17
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb16
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb62
14 files changed, 208 insertions, 199 deletions
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
index ddbe334db..fd32b0a80 100644
--- a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
@@ -14,7 +14,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
14 14
15SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2" 15SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2"
16 16
17DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" 17DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base json-glib"
18RRECOMMENDS:${PN} = "git" 18RRECOMMENDS:${PN} = "git"
19 19
20FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" 20FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
@@ -33,7 +33,7 @@ def gettext_oemeson(d):
33# Build GstValidateVideo 33# Build GstValidateVideo
34PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" 34PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
35 35
36EXTRA_OEMESON += " \ 36EXTRA_OEMESON += "\
37 -Ddoc=disabled \ 37 -Ddoc=disabled \
38 -Ddebug_viewer=disabled \ 38 -Ddebug_viewer=disabled \
39 -Dtests=disabled \ 39 -Dtests=disabled \
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
index 2b31df7df..1a606ad48 100644
--- a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
@@ -8,9 +8,9 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues"
8LICENSE = "LGPL-2.0-or-later" 8LICENSE = "LGPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" 9LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9"
10 10
11DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" 11DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gtk+3 json-glib"
12 12
13SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26;tag=${PV} \ 13SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26 \
14 file://0001-Make-player-examples-installable.patch \ 14 file://0001-Make-player-examples-installable.patch \
15 file://gst-player.desktop \ 15 file://gst-player.desktop \
16 " 16 "
@@ -29,13 +29,13 @@ UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
29ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 29ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
30 30
31do_install:append() { 31do_install:append() {
32 install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop 32 install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
33} 33}
34 34
35RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" 35RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback"
36RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ 36RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \
37 gstreamer1.0-plugins-good-meta \ 37 gstreamer1.0-plugins-good-meta \
38 gstreamer1.0-plugins-bad-meta \ 38 gstreamer1.0-plugins-bad-meta \
39 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ 39 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \
40 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" 40 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"
41RPROVIDES:${PN} += "gst-player gst-player-bin" 41RPROVIDES:${PN} += "gst-player gst-player-bin"
diff --git a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
index 96a7ce6ab..59fb98393 100644
--- a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
+++ b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
@@ -8,17 +8,16 @@ LICENSE = "GPL-3.0-only"
8 8
9inherit pkgconfig 9inherit pkgconfig
10 10
11DEPENDS = "gstreamer1.0 gstreamer1.0-rtsp-server glib-2.0" 11DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-rtsp-server"
12 12
13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14 14
15SRC_URI = " \ 15SRC_URI = "\
16 git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \ 16 git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \
17" 17"
18 18
19SRCREV = "490564815d8049dbdd79087f546835b673ba6e88" 19SRCREV = "490564815d8049dbdd79087f546835b673ba6e88"
20 20
21
22do_install() { 21do_install() {
23 install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \ 22 install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \
24 ${D}/${bindir}/gst-variable-rtsp-server 23 ${D}/${bindir}/gst-variable-rtsp-server
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
index e7a4a7dea..a19ccd93d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Libav-based GStreamer 1.x plugin" 1SUMMARY = "Libav-based GStreamer 1.x plugin"
2DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ 2DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \
3muxers, and demuxers provided by FFmpeg." 3 muxers, and demuxers provided by FFmpeg."
4HOMEPAGE = "http://gstreamer.freedesktop.org/" 4HOMEPAGE = "http://gstreamer.freedesktop.org/"
5SECTION = "multimedia" 5SECTION = "multimedia"
6 6
@@ -20,7 +20,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg"
20 20
21inherit meson pkgconfig upstream-version-is-even 21inherit meson pkgconfig upstream-version-is-even
22 22
23EXTRA_OEMESON += " \ 23EXTRA_OEMESON += "\
24 -Dtests=disabled \ 24 -Dtests=disabled \
25" 25"
26 26
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
index 36db56eb8..8c294d92f 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
@@ -11,6 +11,7 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc
11SUMMARY = "'Bad' GStreamer plugins and helper libraries " 11SUMMARY = "'Bad' GStreamer plugins and helper libraries "
12HOMEPAGE = "https://gstreamer.freedesktop.org/" 12HOMEPAGE = "https://gstreamer.freedesktop.org/"
13BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues" 13BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues"
14CVE_PRODUCT = "gst-plugins-bad"
14 15
15SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ 16SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
16 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ 17 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \
@@ -26,7 +27,7 @@ DEPENDS += "gstreamer1.0-plugins-base"
26 27
27inherit gobject-introspection 28inherit gobject-introspection
28 29
29PACKAGECONFIG ??= " \ 30PACKAGECONFIG ??= "\
30 ${GSTREAMER_ORC} \ 31 ${GSTREAMER_ORC} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 32 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
32 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \ 33 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \
@@ -37,74 +38,74 @@ PACKAGECONFIG ??= " \
37 ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ 38 ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \
38" 39"
39 40
40PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" 41PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom"
41PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" 42PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass"
42PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" 43PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp"
43PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" 44PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5"
44PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" 45PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
45PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" 46PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo"
46PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" 47PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl"
47PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" 48PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2"
48PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" 49PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394"
49PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" 50PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb"
50PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" 51PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl"
51PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" 52PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac"
52PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" 53PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2"
53PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" 54PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth"
54PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," 55PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled,"
55# Pick atleast one crypto backend below when enabling hls 56# Pick atleast one crypto backend below when enabling hls
56PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" 57PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle"
57PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl" 58PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl"
58PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt" 59PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt"
59# the gl packageconfig enables OpenGL elements that haven't been ported 60# the gl packageconfig enables OpenGL elements that haven't been ported
60# to -base yet. They depend on the gstgl library in -base, so we do 61# to -base yet. They depend on the gstgl library in -base, so we do
61# not add GL dependencies here, since these are taken care of in -base. 62# not add GL dependencies here, since these are taken care of in -base.
62PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," 63PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled,"
63PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" 64PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm"
64PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" 65PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265"
65PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" 66PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2"
66PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" 67PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms"
67PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" 68PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug"
68PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu" 69PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu"
69PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" 70PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon"
70PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" 71PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft"
71PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" 72PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv"
72PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" 73PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264"
73PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" 74PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg"
74PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" 75PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt"
75# the opus encoder/decoder elements are now in the -base package, 76# the opus encoder/decoder elements are now in the -base package,
76# but the opus parser remains in -bad 77# but the opus parser remains in -bad
77PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" 78PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus"
78PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" 79PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav"
79PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" 80PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg"
80PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" 81PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump"
81PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" 82PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc"
82PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled" 83PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled"
83PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" 84PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2"
84PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" 85PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1"
85PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt" 86PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt"
86PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" 87PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp"
87PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" 88PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa"
88PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" 89PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo"
89PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" 90PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev"
90# this enables support for stateless V4L2 mem2mem codecs, which is a newer form of 91# this enables support for stateless V4L2 mem2mem codecs, which is a newer form of
91# V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs 92# V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs
92PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev" 93PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev"
93PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" 94PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva"
94PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" 95PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc"
95PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" 96PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc"
96PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" 97PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native"
97PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" 98PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm"
98PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" 99PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
99PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" 100PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice"
100PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" 101PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing"
101PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" 102PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar"
102PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon" 103PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon"
103PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" 104PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265"
104 105
105GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}" 106GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}"
106 107
107EXTRA_OEMESON += " \ 108EXTRA_OEMESON += "\
108 -Ddoc=disabled \ 109 -Ddoc=disabled \
109 -Daes=enabled \ 110 -Daes=enabled \
110 -Dcodecalpha=enabled \ 111 -Dcodecalpha=enabled \
@@ -169,7 +170,6 @@ FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
169FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" 170FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles"
170FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" 171FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs"
171 172
172
173########### End of OE-core copy ########### 173########### End of OE-core copy ###########
174 174
175########### i.MX overrides ################ 175########### i.MX overrides ################
@@ -179,14 +179,14 @@ DEFAULT_PREFERENCE = "-1"
179LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" 179LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770"
180 180
181SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ 181SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
182 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ 182 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \
183 file://0002-avoid-including-sys-poll.h-directly.patch \ 183 file://0002-avoid-including-sys-poll.h-directly.patch \
184 file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ 184 file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
185 " 185 "
186SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " 186SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} "
187 187
188SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" 188SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch"
189SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" 189SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch"
190 190
191GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" 191GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https"
192SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 192SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
@@ -197,7 +197,7 @@ inherit use-imx-headers
197PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" 197PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}"
198PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" 198PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}"
199 199
200PACKAGECONFIG_REMOVE ?= " \ 200PACKAGECONFIG_REMOVE ?= "\
201 dtls vulkan \ 201 dtls vulkan \
202 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \ 202 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \
203" 203"
@@ -207,17 +207,17 @@ PACKAGECONFIG:remove:mx943-nxp-bsp = "gl"
207PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" 207PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress"
208 208
209PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" 209PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
210PACKAGECONFIG_G2D ??= "" 210PACKAGECONFIG_G2D ??= ""
211PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" 211PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
212 212
213PACKAGECONFIG[g2d] = ",,virtual/libg2d" 213PACKAGECONFIG[g2d] = ",,virtual/libg2d"
214PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" 214PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress"
215 215
216EXTRA_OEMESON += " \ 216EXTRA_OEMESON += "\
217 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ 217 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \
218" 218"
219 219
220EXTRA_OEMESON:remove = " \ 220EXTRA_OEMESON:remove = "\
221 -Dkate=disabled \ 221 -Dkate=disabled \
222" 222"
223 223
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
index 0cfa8c064..86790354e 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
@@ -29,7 +29,7 @@ inherit gobject-introspection
29PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}" 29PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}"
30PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}" 30PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}"
31 31
32PACKAGECONFIG ??= " \ 32PACKAGECONFIG ??= "\
33 ${GSTREAMER_ORC} \ 33 ${GSTREAMER_ORC} \
34 ${PACKAGECONFIG_GL} \ 34 ${PACKAGECONFIG_GL} \
35 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ 35 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \
@@ -44,40 +44,40 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
44X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" 44X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
45X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled" 45X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled"
46 46
47PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" 47PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
48PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia" 48PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia"
49PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene" 49PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene"
50PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg" 50PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg"
51PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg" 51PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg"
52PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus" 52PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus"
53PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango" 53PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango"
54PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng" 54PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng"
55# This enables Qt5 QML examples in -base. The Qt5 GStreamer 55# This enables Qt5 QML examples in -base. The Qt5 GStreamer
56# qmlglsink and qmlglsrc plugins still exist in -good. 56# qmlglsink and qmlglsrc plugins still exist in -good.
57PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native" 57PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native"
58PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora" 58PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora"
59PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor" 59PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor"
60PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual" 60PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual"
61PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis" 61PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis"
62PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 62PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
63 63
64# OpenGL API packageconfigs 64# OpenGL API packageconfigs
65PACKAGECONFIG[opengl] = ",,virtual/libgl libglu" 65PACKAGECONFIG[opengl] = ",,virtual/libgl libglu"
66PACKAGECONFIG[gles2] = ",,virtual/libgles2" 66PACKAGECONFIG[gles2] = ",,virtual/libgles2"
67 67
68# OpenGL platform packageconfigs 68# OpenGL platform packageconfigs
69PACKAGECONFIG[egl] = ",,virtual/egl" 69PACKAGECONFIG[egl] = ",,virtual/egl"
70PACKAGECONFIG[glx] = ",,virtual/libgl" 70PACKAGECONFIG[glx] = ",,virtual/libgl"
71 71
72# OpenGL window systems (except for X11) 72# OpenGL window systems (except for X11)
73PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" 73PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm"
74PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" 74PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm"
75PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" 75PACKAGECONFIG[dispmanx] = ",,virtual/libomxil"
76PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" 76PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d"
77 77
78OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" 78OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}"
79 79
80EXTRA_OEMESON += " \ 80EXTRA_OEMESON += "\
81 -Ddoc=disabled \ 81 -Ddoc=disabled \
82 ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \ 82 ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \
83 ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \ 83 ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \
@@ -108,15 +108,15 @@ DEFAULT_PREFERENCE = "-1"
108 108
109LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" 109LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770"
110 110
111SRC_URI:remove = " \ 111SRC_URI:remove = "\
112 https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ 112 https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \
113 file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \ 113 file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \
114 file://0003-viv-fb-Make-sure-config.h-is-included.patch \ 114 file://0003-viv-fb-Make-sure-config.h-is-included.patch \
115 file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" 115 file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch"
116SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " 116SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} "
117 117
118SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" 118SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch"
119SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" 119SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch"
120 120
121GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" 121GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https"
122SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 122SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
@@ -128,7 +128,7 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
128PACKAGECONFIG_REMOVE ?= "jpeg" 128PACKAGECONFIG_REMOVE ?= "jpeg"
129 129
130PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" 130PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
131PACKAGECONFIG_G2D ??= "" 131PACKAGECONFIG_G2D ??= ""
132PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" 132PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
133 133
134PACKAGECONFIG[g2d] = ",,virtual/libg2d" 134PACKAGECONFIG[g2d] = ",,virtual/libg2d"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
index 269761536..49ae2311f 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
@@ -30,7 +30,7 @@ RDEPENDS:${PN}-soup += "${MLPREFIX}${@bb.utils.contains('PACKAGECONFIG', 'soup2'
30 30
31PACKAGECONFIG_SOUP ?= "soup3" 31PACKAGECONFIG_SOUP ?= "soup3"
32 32
33PACKAGECONFIG ??= " \ 33PACKAGECONFIG ??= "\
34 ${GSTREAMER_ORC} \ 34 ${GSTREAMER_ORC} \
35 ${PACKAGECONFIG_SOUP} \ 35 ${PACKAGECONFIG_SOUP} \
36 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ 36 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
@@ -44,33 +44,33 @@ X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfi
44 44
45QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" 45QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
46 46
47PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" 47PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native"
48PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" 48PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
49PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" 49PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
50PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" 50PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394"
51PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" 51PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac"
52PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" 52PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
53PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" 53PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
54PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" 54PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
55PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" 55PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
56PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" 56PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
57PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" 57PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame"
58PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" 58PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng"
59PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" 59PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils"
60PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" 60PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
61PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" 61PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
62PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" 62PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
63PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3" 63PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3"
64PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2" 64PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2"
65PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" 65PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex"
66PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" 66PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
67PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" 67PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"
68PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" 68PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false"
69PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" 69PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx"
70PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" 70PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
71PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 71PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
72 72
73EXTRA_OEMESON += " \ 73EXTRA_OEMESON += "\
74 -Ddoc=disabled \ 74 -Ddoc=disabled \
75 -Daalib=disabled \ 75 -Daalib=disabled \
76 -Ddirectsound=disabled \ 76 -Ddirectsound=disabled \
@@ -93,7 +93,7 @@ FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
93 93
94DEFAULT_PREFERENCE = "-1" 94DEFAULT_PREFERENCE = "-1"
95 95
96LIC_FILES_CHKSUM = " \ 96LIC_FILES_CHKSUM = "\
97 file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ 97 file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \
98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ 98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \
99" 99"
@@ -109,8 +109,8 @@ DEPENDS:append:mx93-nxp-bsp = " libdrm"
109DEPENDS:append:mx943-nxp-bsp = " libdrm" 109DEPENDS:append:mx943-nxp-bsp = " libdrm"
110 110
111SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ 111SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \
112 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ 112 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
113 file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \ 113 file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \
114" 114"
115 115
116SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " 116SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} "
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
index b042adb94..2768c6b7e 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
@@ -1,5 +1,6 @@
1# Copyright (C) 2018 O.S. Systems Software LTDA. 1# Copyright (C) 2018 O.S. Systems Software LTDA.
2DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" 2DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
3HOMEPAGE = "https://github.com/Freescale/gstreamer-imx"
3LICENSE = "LGPL-2.0-or-later" 4LICENSE = "LGPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
5SECTION = "multimedia" 6SECTION = "multimedia"
@@ -8,7 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libimxdmabuffer"
8# for the uniaudio decoder, videoparsersbad for the VPU video decoder 9# for the uniaudio decoder, videoparsersbad for the VPU video decoder
9# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is 10# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is
10# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) 11# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS)
11RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" 12RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-bad gstreamer1.0-plugins-good"
12RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" 13RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers"
13RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" 14RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad"
14 15
@@ -38,16 +39,16 @@ EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX} -Dv4l2-amphion=disabl
38 39
39PACKAGECONFIG ?= "uniaudiodec" 40PACKAGECONFIG ?= "uniaudiodec"
40PACKAGECONFIG:append:imxgpu2d = " g2d" 41PACKAGECONFIG:append:imxgpu2d = " g2d"
41PACKAGECONFIG:append:imxvpu = " vpu" 42PACKAGECONFIG:append:imxvpu = " vpu"
42PACKAGECONFIG:append:imxipu = " ipu" 43PACKAGECONFIG:append:imxipu = " ipu"
43PACKAGECONFIG:append:imxpxp = " pxp" 44PACKAGECONFIG:append:imxpxp = " pxp"
44# The custom imxv4l2 source and sink elements are only 45# The custom imxv4l2 source and sink elements are only
45# available on the i.MX6. 46# available on the i.MX6.
46# The 2D blitter sinks require an MXC framebuffer, which 47# The 2D blitter sinks require an MXC framebuffer, which
47# is not available anymore on the i.MX8 (since these SoCs 48# is not available anymore on the i.MX8 (since these SoCs
48# now use KMS instead of the old Linux framebuffer). 49# now use KMS instead of the old Linux framebuffer).
49PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink" 50PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink"
50PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink" 51PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink"
51 52
52PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" 53PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}"
53PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," 54PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled,"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
index 71de57530..72e482247 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
@@ -6,14 +6,14 @@ HOMEPAGE = "https://gstreamer.freedesktop.org/"
6BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" 6BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
9 " 9 "
10 10
11LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" 11LICENSE = "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-${PV}.tar.xz \
16 " 16"
17 17
18SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491" 18SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491"
19 19
@@ -23,19 +23,19 @@ DEPENDS += "gstreamer1.0-plugins-base"
23 23
24GST_PLUGIN_SET_HAS_EXAMPLES = "0" 24GST_PLUGIN_SET_HAS_EXAMPLES = "0"
25 25
26PACKAGECONFIG ??= " \ 26PACKAGECONFIG ??= "\
27 ${GSTREAMER_ORC} \ 27 ${GSTREAMER_ORC} \
28" 28"
29 29
30PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" 30PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52"
31PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" 31PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
32PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" 32PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
33PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" 33PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
34PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" 34PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
35 35
36GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" 36GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}"
37 37
38EXTRA_OEMESON += " \ 38EXTRA_OEMESON += "\
39 -Ddoc=disabled \ 39 -Ddoc=disabled \
40 -Dsidplay=disabled \ 40 -Dsidplay=disabled \
41" 41"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
index 89306c928..825da8810 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Python bindings for GStreamer 1.0" 1SUMMARY = "Python bindings for GStreamer 1.0"
2DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ 2DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \
3provided by python-gi) " 3 provided by python-gi) "
4HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" 4HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/"
5SECTION = "multimedia" 5SECTION = "multimedia"
6 6
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
index 9c32413ae..6332145df 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
@@ -12,7 +12,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
12 12
13SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ 13SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
14 file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \ 14 file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \
15 " 15 "
16 16
17SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90" 17SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90"
18 18
@@ -20,7 +20,7 @@ S = "${UNPACKDIR}/${PNREAL}-${PV}"
20 20
21inherit meson pkgconfig upstream-version-is-even gobject-introspection 21inherit meson pkgconfig upstream-version-is-even gobject-introspection
22 22
23EXTRA_OEMESON += " \ 23EXTRA_OEMESON += "\
24 -Ddoc=disabled \ 24 -Ddoc=disabled \
25 -Dexamples=enabled \ 25 -Dexamples=enabled \
26 -Dtests=disabled \ 26 -Dtests=disabled \
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
index 559bac064..d1ed15f87 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
@@ -1,33 +1,32 @@
1SUMMARY = "VA-API support to GStreamer" 1SUMMARY = "VA-API support to GStreamer"
2HOMEPAGE = "https://gstreamer.freedesktop.org/"
3DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ 2DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
4based plugins for GStreamer and helper libraries: `vaapidecode', \ 3 based plugins for GStreamer and helper libraries: `vaapidecode', \
5`vaapiconvert', and `vaapisink'." 4 `vaapiconvert', and `vaapisink'."
5HOMEPAGE = "https://gstreamer.freedesktop.org/"
6SECTION = "multimedia"
6 7
7REALPN = "gstreamer-vaapi" 8REALPN = "gstreamer-vaapi"
8 9
9LICENSE = "LGPL-2.1-or-later" 10LICENSE = "LGPL-2.1-or-later"
10LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" 11LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
12DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base libva"
11 13
12SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" 14SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz"
13 15
14SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667" 16SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667"
15 17
16S = "${UNPACKDIR}/${REALPN}-${PV}" 18S = "${UNPACKDIR}/${REALPN}-${PV}"
17DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
18 19
19inherit meson pkgconfig features_check upstream-version-is-even 20inherit meson pkgconfig features_check upstream-version-is-even
20 21
21REQUIRED_DISTRO_FEATURES ?= "opengl" 22REQUIRED_DISTRO_FEATURES ?= "opengl"
22 23
23EXTRA_OEMESON += " \ 24EXTRA_OEMESON += "\
24 -Ddoc=disabled \ 25 -Ddoc=disabled \
25 -Dexamples=disabled \ 26 -Dexamples=disabled \
26 -Dtests=enabled \ 27 -Dtests=enabled \
27" 28"
28 29
29PACKAGES =+ "${PN}-tests"
30
31# OpenGL packageconfig factored out to make it easy for distros 30# OpenGL packageconfig factored out to make it easy for distros
32# and BSP layers to pick either glx, egl, or no GL. By default, 31# and BSP layers to pick either glx, egl, or no GL. By default,
33# try detecting X11 first, and if found (with OpenGL), use GLX, 32# try detecting X11 first, and if found (with OpenGL), use GLX,
@@ -47,7 +46,9 @@ PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/libgl"
47PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols" 46PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols"
48PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxrandr libxrender" 47PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxrandr libxrender"
49 48
49PACKAGES =+ "${PN}-tests"
50
50FILES:${PN} += "${libdir}/gstreamer-*/*.so" 51FILES:${PN} += "${libdir}/gstreamer-*/*.so"
51FILES:${PN}-dbg += "${libdir}/gstreamer-*/.debug" 52FILES:${PN}-dbg += "${libdir}/gstreamer-*/.debug"
52FILES:${PN}-dev += "${libdir}/gstreamer-*/*.a" 53FILES:${PN}-dev += "${libdir}/gstreamer-*/*.a"
53FILES:${PN}-tests = "${bindir}/*" 54FILES:${PN}-tests += "${bindir}/*"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
index e602ff35c..c6afdd98d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
@@ -7,13 +7,13 @@
7 7
8SUMMARY = "GStreamer 1.0 multimedia framework" 8SUMMARY = "GStreamer 1.0 multimedia framework"
9DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ 9DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
10It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." 10 It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
11HOMEPAGE = "http://gstreamer.freedesktop.org/" 11HOMEPAGE = "http://gstreamer.freedesktop.org/"
12BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" 12BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
13SECTION = "multimedia" 13SECTION = "multimedia"
14LICENSE = "LGPL-2.1-or-later" 14LICENSE = "LGPL-2.1-or-later"
15 15
16DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native" 16DEPENDS = "bison-native flex-native glib-2.0 glib-2.0-native libxml2"
17 17
18inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome 18inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome
19 19
@@ -54,7 +54,7 @@ def gettext_oemeson(d):
54 return '-Dnls=disabled' 54 return '-Dnls=disabled'
55 return '-Dnls=enabled' 55 return '-Dnls=enabled'
56 56
57EXTRA_OEMESON += " \ 57EXTRA_OEMESON += "\
58 -Ddoc=disabled \ 58 -Ddoc=disabled \
59 -Dexamples=disabled \ 59 -Dexamples=disabled \
60 -Ddbghelp=disabled \ 60 -Ddbghelp=disabled \
@@ -84,17 +84,17 @@ PTEST_BUILD_HOST_FILES = ""
84 84
85DEFAULT_PREFERENCE = "-1" 85DEFAULT_PREFERENCE = "-1"
86 86
87LIC_FILES_CHKSUM = " \ 87LIC_FILES_CHKSUM = "\
88 file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ 88 file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
89 file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ 89 file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \
90" 90"
91 91
92# Use i.MX fork of GST for customizations 92# Use i.MX fork of GST for customizations
93SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ 93SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
94 file://0001-tests-respect-the-idententaion-used-in-meson.patch \ 94 file://0001-tests-respect-the-idententaion-used-in-meson.patch \
95 file://0002-tests-add-support-for-install-the-tests.patch \ 95 file://0002-tests-add-support-for-install-the-tests.patch \
96 file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ 96 file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \
97 file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ 97 file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \
98" 98"
99SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " 99SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} "
100GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" 100GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https"
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
index 48d84cead..aa398df0c 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
@@ -2,18 +2,22 @@
2# Copyright 2017-2025 NXP 2# Copyright 2017-2025 NXP
3# Copyright (C) 2012-2015 O.S. Systems Software LTDA. 3# Copyright (C) 2012-2015 O.S. Systems Software LTDA.
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5DESCRIPTION = "Gstreamer freescale plugins" 5SUMMARY = "GStreamer 1.0 plugins for i.MX"
6DESCRIPTION = "Freescale/NXP GStreamer 1.0 plugins providing hardware-accelerated \
7 multimedia (audio/video codec, capture and sink) elements for \
8 i.MX SoCs."
9HOMEPAGE = "https://github.com/nxp-imx/imx-gst1.0-plugin"
6SECTION = "multimedia" 10SECTION = "multimedia"
7LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" 11LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" 12LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
9 13
10DEPENDS = " \ 14DEPENDS = "\
15 ${DEPENDS_IMXGPU} \
11 gstreamer1.0 \ 16 gstreamer1.0 \
12 gstreamer1.0-plugins-base \
13 gstreamer1.0-plugins-bad \ 17 gstreamer1.0-plugins-bad \
18 gstreamer1.0-plugins-base \
14 imx-codec \ 19 imx-codec \
15 imx-parser \ 20 imx-parser \
16 ${DEPENDS_IMXGPU} \
17 libinput \ 21 libinput \
18" 22"
19DEPENDS:append:mx6-nxp-bsp = " imx-lib" 23DEPENDS:append:mx6-nxp-bsp = " imx-lib"
@@ -23,18 +27,13 @@ DEPENDS:append:mx93-nxp-bsp = " imx-lib"
23DEPENDS:append:mx943-nxp-bsp = " imx-lib" 27DEPENDS:append:mx943-nxp-bsp = " imx-lib"
24DEPENDS:append:imxvpu = " imx-vpuwrap" 28DEPENDS:append:imxvpu = " imx-vpuwrap"
25DEPENDS:append:imxfbdev:imxgpu = " libdrm" 29DEPENDS:append:imxfbdev:imxgpu = " libdrm"
26DEPENDS_IMXGPU = "" 30DEPENDS_IMXGPU = ""
27DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" 31DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}"
28DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" 32DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter"
29DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" 33DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = ""
30DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" 34DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = ""
31DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" 35DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = ""
32 36
33# For backwards compatibility
34RREPLACES:${PN} = "gst1.0-fsl-plugin"
35RPROVIDES:${PN} = "gst1.0-fsl-plugin"
36RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
37
38PV = "4.10.3+git${SRCPV}" 37PV = "4.10.3+git${SRCPV}"
39 38
40SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}" 39SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}"
@@ -42,7 +41,6 @@ IMXGST_SRC ?= "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https"
42SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 41SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
43SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6" 42SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6"
44 43
45
46inherit meson pkgconfig use-imx-headers 44inherit meson pkgconfig use-imx-headers
47 45
48PLATFORM:mx6-nxp-bsp = "MX6" 46PLATFORM:mx6-nxp-bsp = "MX6"
@@ -60,17 +58,6 @@ EXTRA_OEMESON = "-Dplatform=${PLATFORM} \
60 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ 58 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \
61" 59"
62 60
63PACKAGES =+ "${PN}-tools ${PN}-libgstfsl"
64
65# Add codec list that the beep plugin run-time depended
66BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
67RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux "
68RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp"
69RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp"
70RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp"
71RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp"
72RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp"
73
74PACKAGECONFIG ?= "" 61PACKAGECONFIG ?= ""
75 62
76# FIXME: Add all features 63# FIXME: Add all features
@@ -82,13 +69,34 @@ MSDEPENDS = "imx-msparser imx-mscodec"
82PACKAGECONFIG[wma10dec] = ",,${MSDEPENDS},${MSDEPENDS}" 69PACKAGECONFIG[wma10dec] = ",,${MSDEPENDS},${MSDEPENDS}"
83PACKAGECONFIG[wma8enc] = ",,${MSDEPENDS},${MSDEPENDS}" 70PACKAGECONFIG[wma8enc] = ",,${MSDEPENDS},${MSDEPENDS}"
84 71
85FILES:${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" 72PACKAGES =+ "${PN}-tools ${PN}-libgstfsl"
86 73
74# Deliberately replace the default main-package file list so the (unversioned)
75# GStreamer plugin .so files land in ${PN} instead of ${PN}-dev.
76# nooelint: oelint.var.filesoverride
77FILES:${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}"
87FILES:${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" 78FILES:${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
88FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" 79FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc"
89FILES:${PN}-tools += "${bindir}/* ${libdir}/librecorder_engine-1.0${SOLIBS}" 80FILES:${PN}-tools += "${bindir}/* ${libdir}/librecorder_engine-1.0${SOLIBS}"
90FILES:${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" 81FILES:${PN}-libgstfsl += "${libdir}/libgstfsl-1.0${SOLIBS}"
82
83# Add codec list that the beep plugin run-time depended
84BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
85RDEPENDS:${PN} += "${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux imx-parser"
86RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp"
87RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp"
88RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp"
89RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp"
90RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp"
91 91
92# The plugins pull in codec/parser build dependencies conditionally through
93# PACKAGECONFIG, so the static build-deps QA check cannot see them all.
94# nooelint: oelint.vars.insaneskip
92INSANE_SKIP:${PN} = "build-deps" 95INSANE_SKIP:${PN} = "build-deps"
93 96
97# Runtime backwards compatibility with the old gst1.0-fsl-plugin name
98RREPLACES:${PN} = "gst1.0-fsl-plugin"
99RPROVIDES:${PN} = "gst1.0-fsl-plugin"
100RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
101
94COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 102COMPATIBLE_MACHINE = "(imx-nxp-bsp)"