Patchwork [meta-oe] xbmc: append +gitr${SRCPV} to PV not PR

login
register
mail settings
Submitter Martin Jansa
Date May 2, 2013, 3:47 p.m.
Message ID <1367509678-3948-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/49261/
State Accepted
Commit 285dbc0c2c8634d8a9aa4e7abe24bbebf0f0c549
Headers show

Comments

Martin Jansa - May 2, 2013, 3:47 p.m.
* otherwise AUTOINC in SRCPV isn't expanded and stays in PKGR and
  filename
* I haven't seen it documented anywhere, but oe-core is full of checks
  like this:
  meta/classes/migrate_localcount.bbclass: if not 'AUTOINC' in pv:
  meta/classes/package.bbclass:            if 'AUTOINC' in pkgv:
  meta/classes/prexport.bbclass:           if 'AUTOINC' in ver:
  meta/classes/prserv.bbclass:             if 'AUTOINC' in pv:
  so it looks intentional

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
index 30256d5..0b4d696 100644
--- a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
+++ b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
@@ -9,9 +9,8 @@  DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2d
 
 SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
 
-PV = "11.0"
+PV = "11.0+gitr${SRCPV}"
 PR = "r14"
-PR_append = "+gitr${SRCPV}"
 SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
            file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
            file://0002-Revert-fixed-ios-Add-memory-barriers-to-atomic-Add-S.patch \