Skip to contentSkip to conversation

pipewire: Deduce branch name from PV

PATCH New Khem Raj 1 participant 1 message Mar 25, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 pipewire: Deduce branch name from PV

---
 meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.1.bb +2 -1
index 2bd7739433..122f8fc4ec 100644
@@ -13,7 +13,8 @@ LIC_FILES_CHKSUM = " \
 DEPENDS = "dbus ncurses"
 
 SRCREV = "2eb8cf5dc780ca22b94545f1254497a428c412f5"
-SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https"
+BRANCH = "${@oe.utils.trim_version('${PV}', 2)}"
+SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https"
 
 S = "${WORKDIR}/git"