summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
Commit message (Collapse)AuthorAgeFilesLines
...
* gst-shark: Define SRCREV_FORMATKhem Raj2021-09-111-1/+1
| | | | | | Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bluealsa: Add recipeKhem Raj2021-09-013-0/+51
| | | | | | | Implementation of bluetoooth audio over alsa backend esepcially with bluez5 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Upgrade to 0.3.34Khem Raj2021-09-011-4/+6
| | | | | | | | | | | Enable systemd user services as well as they are required for user pipewire sessions Turn pw-cat into a packageconfig Enable systemd-user-service only for systemd Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-multimedia: stop using "virtual/" in RPROVIDES and RDEPENDSMichael Opdenacker2021-09-011-1/+1
| | | | | | | | | | | | | Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe in OE-core Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opus-tools: update to 0.2, move to meta-multimedia and fix licenseMichael Opdenacker2021-08-122-0/+16
| | | | | | | | | | | | | | The license in version 0.1.8 was already BSD-2-Clause and GPLv2 (for the "opusinfo" command). The license checksum change is due to trivial changes on the license text ("https" instead of "http" and whitespace changes). This new version now DEPENDs on "libopusenc" and "opusfile" too, but this required to move the recipe to meta-multimedia instead. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bigbuckbunny-1080p: fix sample video URLMichael Opdenacker2021-08-121-1/+1
| | | | | | | | | | | Replace a link that's now broken. The original download link on blender.org still works (https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_surround.avi) but is still extremely slow. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mycroft: Install more tools needed by scriptsPhilippe Coval2021-08-111-0/+3
| | | | | | | | | | Bash dependency maybe droped once scripts are simplified to support busybox. Relate-to: https://github.com/MycroftAI/mycroft-core/pull/2686 Change-Id: Ibbb6c2e72f56f35ce475c045e52b4d4e56275348 Signed-off-by: Philippe Coval <rzr@users.sf.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vorbis-tools: update to 1.4.2 (latest in 1.4.x series)Michael Opdenacker2021-08-094-95/+18
| | | | | | | | | | This allows to get rid of 2 patches, included in this release Update the gettext patch, still not applied in this version Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Update to honisterMartin Jansa2021-08-031-1/+1
| | | | | | | This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-0352-232/+232
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fluidsynth: upgrade 2.2.1 -> 2.2.2Andreas Müller2021-07-271-2/+2
| | | | | | | | | | | | | | | | | | | Changes: * The MIDI router now handles out-of-range parameters in a smarter manner (#891, thanks to @jjceresa) * Keep pedaling effective when the same note is played more than once (#905, thanks to @jjceresa) * Select soundfont samples by frequency instead of midi note numbers (#926, thanks to @Naturseptime) * Fix the sequencer's event ordering for NoteOn vel=0 events (#907) * libfluidsynth's import library was broken for MinGW builds (#874) * fluidsynth.exe short option -Q not working (#915, thanks to @pedrolcl) * Precompiled Android binaries didn't work (#894, #897) * Fix openMP detection for XCode 12.5 (#917) * Make audio.jack.autoconnect connect all available ports (#920) * Prevent MIDI Player from continuously suppressing notes (#935, thanks to @albedozero) * fluidsynth.pc now includes private libraries for static linking (#904) * Fix typos in code and documentation (#939, thanks to @luzpaz) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Fix git send-email instructions in READMEKhem Raj2021-07-171-2/+2
| | | | | | This ensures that cut-n-paste of this command from README will work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.30 -> 0-3-31Andreas Müller2021-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 0.3.x releases. - Fixes for alsa-lib 1.2.5 - New pulseaudio modules: module-avahi-zeroconf, module-pipe-source, module-roc-sink, module-roc-source. - JACK has seen massive stability improvements. Locking and correctness wrt to callbacks has been reworked. Also thread priorities have improved. - Handle various crashes and lockups when running out of file descriptors. - Bluetooth now uses a hardware database to disable non-working features on listed devices. - Scheduling quantum and rate can now be changed dynamically with pw-metadata. - Many bugfixes and improvements. - Improve cleanup of context in error cases. - There is now a pw-test framework for improved unit tests. - Improve property serialization to valid JSON. - Fix some macros to work with better with coverity. - Metadata permissions are checked now. Clients need the M permission on an object to be able to set metadata for it. - The core metadata object will now remove metadata for removed objects, the implementor does not need to worry about that anymore. - Audioadapter will now follow the rate of the graph with the resampler adjusting itself dynamically. - Core now has a metadata implementation helper. A context will expose a metadata with settings that can be changed at runtime. This can be used to change the loglevel or graph quantum and samplerate on the fly. - An infinite loop was fixed in the audio converter. - Handle out-of-fds more gracefully. Handle truncated control data by dropping the client connection. - Fix profiler crash with many streams. - Improve latency handling in pw-filter. There is now a default handler and a ProcessLatency parameter to simplify latency reporting. - Latency reporting was improved in devices and streams. - And example sink/source was added. - hardware mute and volume are now properties on the Route param to make things easier. - More fixes for alsa-ucm 1.2.5. - spa-json-dump now properly encodes string and keys. - pw-dump now shows the correct subject of the metadata. - Ensure the node.description is set, some applications crash otherwise (TeamSpeak). - Module loading and unloading was improved. - module-avahi-zeroconf was implemented. - module-pipe-source was implemented - module-roc-sink and module-roc-source was implemented. - The maximum amount of connections has been limited to 64, like pulseaudio. - Handle out-of-fds more gracefully. - Fix overflow of read/write pointers. - Source and sink state are now decoupled from the monitor state and will report IDLE when not playing anything. - Port switching should now happen to/from the port that actually changed. - The locking was reviewed. All callbacks are now emited from the PipeWire thread with the lock released and the process function will be disabled for the duration of the callback. This ensures that no two callbacks are called at the same time. - Improve internal consistency and try to never call callbacks with invalid objects. - Monitor port can now be accessed with system:monitor_%d - client threads are now created with SCHED_FIFO and module-rt is used to create the other RT threads. This should avoid SIGKILL from RTKit in some cases. - Various bugfixes to improve connections to devices. - Handle delayed UUID connection. - There is now a hardware database that can disable features in listed devices. - Use libusb to detect availability of mSBC. - The virtual device name can now also contain a media role. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpd: Update to 0.22.9Khem Raj2021-06-292-1/+45
| | | | | | | Fix build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* rygel: require gobject-introspection-data in DISTRO_FEATURESMartin Jansa2021-06-122-3/+6
| | | | | | | | * introduced in libmediaart-2.0 with: https://git.openembedded.org/meta-openembedded/commit/?id=2b90058c346a5a56dced3c1b7413068027a884f1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Upgrade to 0.3.30Carlos Rafael Giani2021-06-091-1/+1
| | | | | | | | | | | This is a bugfix upgrade. Changelog: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.30 Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Add filter-chain files to modules-filter-chain packageCarlos Rafael Giani2021-06-091-1/+5
| | | | | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libmediaart-2.0: upgrade 1.9.4 -> 1.9.5 / merge inc file / build with mesonAndreas Müller2021-06-093-19/+23
| | | | | | | | | | | | | | | NEW in 1.9.5 - 2021-05-22 ========================= * libmediaart: Remove QT4 support * libmediaart: Mandate that input strings are UTF8 * extract: Remove local storage * build: Drop autotools support * build: Update to recent glib API * build: introspection fixes * build: Added CI Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libmediaart 0.7.0: removeAndreas Müller2021-06-092-7/+0
| | | | | | | | * we have libmediaart-2.0 * nothing depends on the version introduced 2014 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gupnp: upgrade 1.2.6 -> 1.2.7Andreas Müller2021-06-093-71/+7
| | | | | | | | | | | | | | | | | Hardening fix was applied 1.2.7 ===== - Fix build with -Wformat-security=error - Bump required GLib version to 2.66 - Fix some introspection annotations - Add missing varargs functions to vapi - Revert fix from 1.2.5 which causes managed control points to live too long Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.24 -> 0.3.29Andreas Müller2021-06-051-16/+17
| | | | | | | Due to 'stealing' from jack & pulseaudio the license was changed Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gupnp: upgrade 1.2.4 -> 1.2.6Andreas Müller2021-06-013-8/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In their mail announcement they stated out clearly: GUPnP 1.0.7 and GUPnP 1.2.5 fix a potential DNS rebind issue. An impact of this would be that for example a user could be tricked into opening a malicious web page that could scan the local network for UPnP media servers and download the user's shared files, or, if enabled, even delete them. Upgrade to 1.2.5 (or where that is not possible, 1.0.7) is strongly recommended. At repo side: 1.2.6 ===== - Fix wrong dependency on GSSDP 1.2.4 Bugs fixed in this release: - https://gitlab.gnome.org/GNOME/gupnp/issues/48 All contributors to this release: - Jens Georg <mail@jensge.org> 1.2.5 ===== - Fix introspection annotation for send_action_list - Fix potential fd leak in linux CM - Fix potential NULL pointer dereference when evaluating unset ServiceProxyActions - Fix leaking the message string if an action is never sent - Fix leaking the ServiceProxyAction if sending fails in call_action - Fix introspection annotation for send_action and call_action_finish to prevent a double-free - Make ServiceIntrospection usable from gobject-introspection - Add Python examle - Add C example - Fix JavaScript example - Fix potential use-after-free if service proxy is destroxed before libsoup request finishes in control point - Fix potential data leak due to being vulnerable to DNS rebind attacs Bugs fixed in this release: - https://gitlab.gnome.org/GNOME/gupnp/issues/47 - https://gitlab.gnome.org/GNOME/gupnp/issues/46 - https://gitlab.gnome.org/GNOME/gupnp/issues/23 - https://gitlab.gnome.org/GNOME/gupnp/issues/24 All contributors to this release: - Jens Georg <mail@jensge.org> - Doug Nazar <nazard@nazar.ca> - Andre Klapper <a9016009@gmx.de> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* projucer: Update to latest master tipKhem Raj2021-05-282-87/+3
| | | | | | | | | | | Drop patch which no longer is needed as it has been fixed differently upstream License-Update: Updated to reflect JUCE 6 Terms [1] [1] https://github.com/juce-framework/JUCE/commit/de6ecc57f84294e82a608bcc6d0f5d11645f15e3#diff-4673a3aba01813b595de187a7a6e9e63a3491d55821606fecd9f13a10c188a1d Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Update to latest master tipKhem Raj2021-05-172-120/+6
| | | | | | | | | | | | Drop upstreamed patch jinja2.Environment.compile_templates no longer accepts py_compile argument so delete it Fixes TypeError: compile_templates() got an unexpected keyword argument 'py_compile' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* fluidsynth: upgrade 2.2.0 -> 2.2.1Andreas Müller2021-05-111-2/+2
| | | | | | | | | | | | | | | | | * Make ALSA the default driver on Linux (#878) * Coreaudio driver failed to initialize on MacOS 11 (#803, thanks to @ringoz) * WaveOut driver failed to initialize (#873, thanks to @carlo-bramini) * COM initialization in WASAPI driver is no longer performed in the caller's context (#839, thanks to @pedrolcl) * WASPI driver now supports reverb and chorus (#836, thanks to @chirs241097) * Handle SysEx GM/GM2 mode on, GS reset, and XG reset (#877, thanks to @kode54) * Old behaviour of fluid_player_join has been restored to prevent infinite loop in client code (#872) * The Soundfont loader code has been refactored, illegal generators will now be skipped more consequently (#823, thanks to @mawe42) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libupnp: Do not use _np versions of mutex APIsKhem Raj2021-05-112-3/+47
| | | | | | | These APIs are deprecated/removed in future glibc 2.34+ Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* libmusicbrainz: Rework native and target piecesKhem Raj2021-05-112-46/+10
| | | | | | | | | | | | Build the native tools via a proper native recipe Once done this way we do not need any patches Bump SRCREV to latest which brings in one fix [1] [1] https://github.com/metabrainz/libmusicbrainz/commit/8be45b12a86bc0e46f2f836c8ac88e1e98d82aee Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* libupnp: Upgrade to 1.14.6Khem Raj2021-05-031-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdvdnav 6.1.1Persian Prince2021-04-271-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* aom: Match the name for AOM-Patent-License-1.0Khem Raj2021-04-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fluidsynth: upgrade 2.1.7 -> 2.2.0Andreas Müller2021-04-132-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only fallout by API/ABI changes in my world build was meta-games/scummvm. Fix was sent [1] fluidsynth 2.2.0 This release breaks ABI compatibility! Refer to the API docs for details. A C++98 compliant compiler is now required to build fluidsynth (mailing list thread) New features Support loading SoundFonts >2GiB on Windows (#629) Major overhaul of the sequencer and its event queue (#604) Overlapping notes can be handled (#637) Performance improvement, since the event queue no longer blocks the rendering thread Time scale is not limited to 1000 anymore and can therefore be used for tempo changes The following audio drivers have gained multi-channel support DSound (#667, thanks to @jjceresa) WaveOut (#667, thanks to @jjceresa) The WinMIDI driver supports multiple devices (#677, thanks to @jjceresa) Handle GS DT1 SysEx messages for setting whether a channel is used for rhythm part (#708, thanks to @chirs241097) Support use of UTF-8 filenames under Windows (#718, thanks to @getraid-gg) Improved support for overriding tempo of the MIDI player (#711, #713, thanks to @jjceresa) Handle settings-related commands in user command file before initializing other objects (#739) SoundFont loading has been parallelized (#746, #812, requires openMP) The Oboe driver has gained a lower latency and other updates (#740, #741, #747) WASAPI driver has been added (#754, thanks to @chirs241097) General Fix race condition in fluid_player_callback (#783, thanks to @arcln) Improvements to LADSPA subsystem (#795, thanks to @mawe42) [1] https://github.com/cazfi/meta-games/pull/58 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fluidsynth: update SRC_URI to remove non-existing 2.1.x branchKartikey Rameshbhai Parmar2021-04-061-1/+1
| | | | | | | | Remove branch 2.1.x from SRC_URI as fluidsynth github removed the branch. The SRCREV is on master branch Signed-off-by: Kartikey Rameshbhai Parmar <kartikey.rameshbhai.parmar@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sox: Remove LICENSE_FLAGS = "commercial"Khem Raj2021-03-301-4/+0
| | | | | | | | Its not needed bitbake gives a better diagnostics when included in image deps without accepting commercial license Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* vlc: Exclude from world if commercial is not in inclusion listKhem Raj2021-03-301-3/+1
| | | | | | | Remove LICENSE_FLAGS setting as its no longer needed Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* sox: Exclude from world if commercial is not in inclusion listKhem Raj2021-03-301-0/+3
| | | | | | | It needs ffmpeg Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* mpd: Check for commercial in LICENSE_FLAGS_WHITELISTKhem Raj2021-03-301-3/+8
| | | | | | | aac and ffmpeg could be enabled only if they have been whitelisted by user Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-multimedia: include vlc only with x11 in DISTRO_FEATURESMartin Jansa2021-03-301-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-multimedia: include projucer only with x11 in DISTRO_FEATURESMartin Jansa2021-03-301-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Update the patch to upstreamed oneKhem Raj2021-03-281-11/+90
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-{oe,multimedia}: move pipewire to the right packagegroupMartin Jansa2021-03-281-0/+1
| | | | | | | * it's in meta-multimedia not meta-oe layers Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* aom: update to 3.0.0Oleksandr Kravchuk2021-03-261-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Package systemd unit file for pipewire-media-sessionKhem Raj2021-03-211-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Upgrade to 0.3.24Carlos Rafael Giani2021-03-201-19/+24
| | | | | | | | | | | | | | | | | | | | | | This is a bugfix upgrade with some necessary changes to the recipe itself. Changelogs: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.23 https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.24 Fixes in the recipe itself: - meson_options.txt now uses features for everything, so the "=true" and "=false" packageconfig args were replaced by "=enabled" and "=disabled", respectively - "docs" packageconfig was incorrectly adding doxygen instead of doxygen-native to the DEPENDS variable - "man" packageconfig removed, since manpage generation requires xmltoman, and that tool is not available Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Drop gatesgarth from LAYERSERIES_COMPATKhem Raj2021-03-191-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openh264: Disable building for ppc64leKhem Raj2021-03-112-0/+2
| | | | | | Needs porting to ppc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Update to latestKhem Raj2021-03-032-3/+42
| | | | | | | Add a fix for build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* pipewire: Rework 0.3 recipe and upgrade to 0.3.22Carlos Rafael Giani2021-03-032-77/+273
| | | | | | | | | | | | | | | | * Use a versioned recipe instead of _git * Add more packageconfigs: alsa, docs, sdl2, sndfile, v4l2, pipewire-alsa, pipewire-jack * Split SPA and module packages dynamically to generate one package for each SPA plugin and for each module * Split pipewire library, shim PulseAudio daemon, main tools & SPA tools, pipewire-alsa, pipewire-jack, ALSA card profiles, GStreamer plugin, and example session manager into separate packages * Set up a "pipewire" user and group to run the PipeWire daemon with that user instead of root Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Move to meta-multimediaCarlos Rafael Giani2021-03-032-0/+142
| | | | | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vlc: Fix build with gcc 11Khem Raj2021-03-032-0/+44
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* gerbera: Update to 1.7.0Khem Raj2021-03-032-2/+35
| | | | | | | Fix build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>