Skip to contentSkip to conversation

pcp: update SRC_URI

PATCH New Gyorgy Sarvari 1 participant 1 message Feb 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcp: update SRC_URI

The original download location, jfrog's artifactory stopped providing any kind of free service, and the source code is not downloadable anymore.

The project however has an official github repository also - change the SRC_URI to this to make it work again.

---
 meta-oe/recipes-support/pcp/pcp.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-support/pcp/pcp.inc +5 -2
index 4cafa7234b..5ed2d220f0 100644
@@ -7,12 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
                     "
 COMPATIBLE_HOST:libc-musl = "null"
 
-SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
+SRC_URI = "git://github.com/performancecopilot/pcp;branch=main;protocol=https \
            file://0001-configure-Limit-the-header-search-to-sysroot.patch \
            file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
            file://config.linux \
 	   "
-SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee"
+
+SRCREV = "c13558fd0df54438cbb87cf303dc279cb58816c2"
+
+S = "${WORKDIR}/git"
 
 inherit setuptools3-base pkgconfig autotools-brokensep