From 6338d5bda5b55ae8e2df2a6f30b45b02ebf5f153 Mon Sep 17 00:00:00 2001 From: Valentin Jec Date: Mon, 29 Jul 2024 10:04:27 +0300 Subject: [PATCH] wayland-protocols: Replace hardcoded SRC_URI with WAYLAND_PROTOCOLS_SRC variable Signed-off-by: Valentin Jec --- recipes-graphics/wayland/wayland-protocols_1.32.imx.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb index 6b2a70917..131f227de 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb @@ -9,7 +9,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \ file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" -SRC_URI = "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" +SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" +WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" +SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" SRCREV = "7ece577d467f8afb2f5a2f7fff3761a1e0ee9dad" S = "${WORKDIR}/git"