[oe] [PATCH] [meta-oe] libav: Fix git URI

Gary Thomas gary at mlbassoc.com
Thu Oct 18 16:51:29 UTC 2012


Specifying SRCREV and branch in the git SRC_URI confuses the bitbake
fetcher.  This ends up with a saved tarball which contains neither
the SRCREV nor the branch, which in turn means the git tree needs
to be fetched every time even though a saved tarball has been created.

Simply removing the branch (which is redundant anyway) from the SRC_URI
makes everything happy.

Signed-off-by: Gary Thomas <gary at mlbassoc.com>
---
 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
index 66a32c9..f9a2e06 100644
--- a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
+++ b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
 PV = "0.8.3+git${SRCPV}"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # When bumping SRCREV make sure you bump PR here and in dependant
 # recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION
 # changes
 SRCREV = "2fb4be9a99a2c2a9435339830e3d940171cc0d9b"
-SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.8"
+SRC_URI = "git://git.libav.org/libav.git;protocol=git"
 
 S = "${WORKDIR}/git"
 
-- 
1.7.9.5





More information about the Openembedded-devel mailing list