diff mbox series

[meta-multimedia,4/4] tvheadend: Stop using gitpkgv

Message ID 20261028055817.4055253-4-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe,1/4] usbmuxd: Stop using gitpkgv | expand

Commit Message

Khem Raj Oct. 28, 2026, 5:58 a.m. UTC
PKGV = "4.3+git${GITPKGV}" counts the commits up to SRCREV, which is
always 1 with shallow clones, so successive SRCREVs only compare by hash
and gitpkgv warns:

  WARNING: tvheadend: Shallow cloning enabled - gitpkgv.bbclass will not
  generate sortable versions

Drop gitpkgv and let PKGV default to PV, to which the fetcher appends the
PR server AUTOINC and the revision (4.3+git0+cc60283368). The AUTOINC
starts below the commit count used so far, so bump PE to keep the upgrade
path from existing packages.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
index 6a7f6c3f5d..4752e30e13 100644
--- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
+++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
@@ -1,7 +1,7 @@ 
 SUMMARY = "Tvheadend: TV streaming server and recorder"
 HOMEPAGE = "https://tvheadend.org/"

-inherit autotools-brokensep gettext gitpkgv pkgconfig
+inherit autotools-brokensep gettext pkgconfig

 DEPENDS = "avahi cmake-native dvb-apps libdvbcsa libpcre2 openssl uriparser zlib"

@@ -14,7 +14,10 @@  SRC_URI = "git://github.com/tvheadend/tvheadend.git;branch=master;protocol=https

 SRCREV = "cc602833684953fc3e6f1c89d4f08f6dfef179e3"
 PV = "4.3+git"
-PKGV = "4.3+git${GITPKGV}"
+# PKGV used to be 4.3+git<commit count>+<hash> from gitpkgv; the PR
+# server AUTOINC that replaces the count starts lower, so bump PE to keep
+# the upgrade path.
+PE = "1"


 EXTRA_OECONF += "--arch=${TARGET_ARCH} \