pipewire: Deduce branch name from PV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc:Markus Volk <f_l_k@t-online.de>
This commit is contained in:
Khem Raj 2025-03-24 20:52:12 -07:00
parent 8f09c1aca9
commit e71de0ad6b

View File

@ -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"