diff options
author | Valentin Jec <valentin.jec@nxp.com> | 2024-02-12 12:06:51 +0200 |
---|---|---|
committer | Valentin Jec <valentin.jec@nxp.com> | 2024-02-12 12:06:51 +0200 |
commit | 336628e6b0118c765df47632714f47b942a3ff18 (patch) | |
tree | ed8c77c76948bd13ab702749c5ade3dc87d1c505 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb | |
parent | 9dfbf6675adcf3dfbc1127a5ce55f135082318ae (diff) | |
download | meta-freescale-336628e6b0118c765df47632714f47b942a3ff18.tar.gz |
recipes-multimedia: Update for NXP release 6.1.55-2.2.0
Upgraded:
- gstreamer1.0-plugins-bad: 1.22.0 -> 1.22.5
- gstreamer1.0-plugins-base: 1.22.0 -> 1.22.5
- gstreamer1.0-plugins-good: 1.22.0 -> 1.22.5
- gstreamer1.0: 1.22.0 -> 1.22.5
- imx-codec: 4.8.1 -> 4.8.2
- imx-dsp: 2.1.5 -> 2.1.6
- imx-dsp-codec-ext: 2.1.5 -> 2.1.6
- imx-parser: 4.8.1 -> 4.8.2
Updated:
- imx-alsa-plugins_git.bb
- imx-gst1.0-plugin_git.bb
- imx-vpuwrap_git.bb
New feature:
- imx-opencl-converter_0.1.bb
Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb new file mode 100644 index 00000000..1a6197d5 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb | |||
@@ -0,0 +1,119 @@ | |||
1 | # This recipe is for the i.MX fork of gstreamer1.0-plugins-good. For ease of | ||
2 | # maintenance, the top section is a verbatim copy of an OE-core | ||
3 | # recipe. The second section customizes the recipe for i.MX. | ||
4 | |||
5 | ########### OE-core copy ################## | ||
6 | # Upstream hash: 937817e5164f8af8452aec03ae3c45cb23d63df9 | ||
7 | |||
8 | require gstreamer1.0-plugins-common.inc | ||
9 | |||
10 | SUMMARY = "'Good' GStreamer plugins" | ||
11 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
12 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues" | ||
13 | |||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | ||
15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | ||
16 | file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch" | ||
17 | |||
18 | SRC_URI[sha256sum] = "b67b31313a54c6929b82969d41d3cfdf2f58db573fb5f491e6bba5d84aea0778" | ||
19 | |||
20 | S = "${WORKDIR}/gst-plugins-good-${PV}" | ||
21 | |||
22 | LICENSE = "LGPL-2.1-or-later" | ||
23 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
24 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" | ||
25 | |||
26 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib" | ||
27 | RPROVIDES:${PN}-pulseaudio += "${PN}-pulse" | ||
28 | RPROVIDES:${PN}-soup += "${PN}-souphttpsrc" | ||
29 | RDEPENDS:${PN}-soup += "${MLPREFIX}${@bb.utils.contains('PACKAGECONFIG', 'soup2', 'libsoup-2.4', 'libsoup', d)}" | ||
30 | |||
31 | PACKAGECONFIG_SOUP ?= "soup3" | ||
32 | |||
33 | PACKAGECONFIG ??= " \ | ||
34 | ${GSTREAMER_ORC} \ | ||
35 | ${PACKAGECONFIG_SOUP} \ | ||
36 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ | ||
37 | ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'asm', '', d)} \ | ||
38 | bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 speex taglib v4l2 \ | ||
39 | " | ||
40 | |||
41 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" | ||
42 | X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" | ||
43 | X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" | ||
44 | |||
45 | QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | ||
46 | |||
47 | PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" | ||
48 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | ||
49 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | ||
50 | PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" | ||
51 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" | ||
52 | PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" | ||
53 | PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" | ||
54 | PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" | ||
55 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" | ||
56 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" | ||
57 | PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" | ||
58 | PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" | ||
59 | PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" | ||
60 | PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" | ||
61 | PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" | ||
62 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" | ||
63 | PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3" | ||
64 | PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2" | ||
65 | PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" | ||
66 | PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" | ||
67 | PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" | ||
68 | PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" | ||
69 | PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" | ||
70 | PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" | ||
71 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
72 | |||
73 | EXTRA_OEMESON += " \ | ||
74 | -Ddoc=disabled \ | ||
75 | -Daalib=disabled \ | ||
76 | -Ddirectsound=disabled \ | ||
77 | -Ddv=disabled \ | ||
78 | -Dlibcaca=disabled \ | ||
79 | -Doss=enabled \ | ||
80 | -Doss4=disabled \ | ||
81 | -Dosxaudio=disabled \ | ||
82 | -Dosxvideo=disabled \ | ||
83 | -Dshout2=disabled \ | ||
84 | -Dtwolame=disabled \ | ||
85 | -Dwaveform=disabled \ | ||
86 | " | ||
87 | |||
88 | FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | ||
89 | |||
90 | ########### End of OE-core copy ########### | ||
91 | |||
92 | ########### i.MX overrides ################ | ||
93 | |||
94 | DEFAULT_PREFERENCE = "-1" | ||
95 | |||
96 | LIC_FILES_CHKSUM = " \ | ||
97 | file://LICENSE.txt;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
98 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ | ||
99 | " | ||
100 | |||
101 | # fb implementation of v4l2 uses libdrm | ||
102 | DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'v4l2', '${DEPENDS_V4L2}', '', d)}" | ||
103 | DEPENDS_V4L2 = "${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'libdrm', d)}" | ||
104 | |||
105 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | ||
106 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | ||
107 | file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \ | ||
108 | " | ||
109 | |||
110 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | ||
111 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" | ||
112 | SRCBRANCH = "MM_04.08.02_2310_L6.1.y" | ||
113 | SRCREV = "a4631334ad32abc513bde8f73491ef345f865a48" | ||
114 | |||
115 | S = "${WORKDIR}/git" | ||
116 | |||
117 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
118 | |||
119 | ########### End of i.MX overrides ######### | ||