monocypher: prepend MIRRORS instead of overwriting

Overwriting (instead of extending) MIRRORS in a recipe prevent user from
using default Yocto Project mirrors (https://downloads.yoctoproject.org/mirror/sources/)

As a side-effect, it might fix meta-oe-mirror build for monocypher [0].

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/469

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yoann Congal 2025-10-10 01:39:58 +02:00 committed by Khem Raj
parent 9619695788
commit b9471f4967
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.md;md5=ff30a1c41dfd9e6fa559a9e45ee98302"
SRC_URI = "https://monocypher.org/download/${BPN}-${PV}.tar.gz"
SRC_URI[sha512sum] = "bf275d4c53ff94af6cdc723a4e002e9f080f4d1436c86c76bb37870b34807f1d7b32331d8ff8a1aeb369e946f3769021e03e63efac25b82efc5abf54dc084714"
MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz "
MIRRORS =+ "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz"
S = "${UNPACKDIR}/${BPN}-${PV}"