tvheadend: Stop using gitpkgv

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>
This commit is contained in:
Khem Raj committed 2026-10-29 00:02:30 -07:00
1 parent 4e962d99ee
commit 8ca93f5138
1 file changed
+5 -2
@@ -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} \