Fix inconsistent license declarations for the vendored dr_libs copies


qtmultimedia vendors dr_wav.h twice: in src/3rdparty/dr_libs for the
QSoundEffect wave decoder, and under examples/multimedia/audiosource
for wave file writing in that example. Both ship a byte-identical
LICENSE file, but declared its terms differently. The src copy's
qt_attribution.json said "Unlicense OR MIT-0", while the examples copy
and both REUSE.toml files said "MIT-0".

dr_wav.h states "Choice of public domain or MIT-0" and the LICENSE
offers both alternatives, so "Unlicense OR MIT-0" is the accurate
expression. Align all four declarations on it, and add
LICENSES/Unlicense.txt, which the expression needs in order to
resolve: without it reuse lint reports a missing license.

While at it, fix the examples copy's classification:

- Declare QtParts: ["examples"]. Without it the entry defaults to
  "libs", so an example-only component was treated as shipping in the
  libraries.
- Drop SecurityCritical. Example code is not part of any shipped
  artefact, so it cannot be security critical by definition. The copy
  in src/3rdparty keeps the flag.
- Give it a distinct Id and Name. Both copies used "dr_libs" and
  "DR Libs", which makes the two components indistinguishable in the
  generated SBOM and attribution documentation even though they differ
  in QtParts and SecurityCritical. The examples copy becomes
  "audiosourceexample-dr_libs", following the naming of other
  example-only components, and src/3rdparty keeps the plain "dr_libs".

And in the src copy:

- Add the Copyright field that was missing, which left copyrightText
  as NOASSERTION for this component in the generated SBOM.

Both copyright lines are aligned on 2023, the year stated in dr_wav.h.
The standalone LICENSE file still says 2020.

Verified with reuse lint (REUSE 3.3 compliant, Unlicense among the
used licenses) and qtattributionsscanner (no warnings, unique ids,
QtParts, copyright and SecurityCritical as expected).

Pick-to: 6.12 6.12.0
Change-Id: I9562b6faabf029afe9f297b3e273b276774d9566
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit8ca2d64592b58f02ed9b1b947a56bdf3a918ccf2
parent82cbe707834dd21d2af1af7a078f3dcb514ba023
authorKai Köhne <kai.koehne@qt.io>
committerKai Köhne <kai.koehne@qt.io>
commit timeFri, 11 Sep 2026 09:22:12 +0000