summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/jpeg
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-01-19 17:37:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 21:29:47 +0000
commit61c893aa2242896177ebceefb012a3d2499da3c7 (patch)
treec14bc34721e11223bd5f31105adf982afa545502 /meta/recipes-graphics/jpeg
parent5f09dc6aa57ae2e359bac813ce88156776e6071b (diff)
downloadopenembedded-core-61c893aa2242896177ebceefb012a3d2499da3c7.tar.gz
openembedded-core-61c893aa2242896177ebceefb012a3d2499da3c7.tar.bz2
openembedded-core-61c893aa2242896177ebceefb012a3d2499da3c7.zip
libjpeg-turbo: fix upstream version check (sort of)
We prepend '8d' to the version and at the moment there is no way to strip that out when doing upstream checks. But at least the latest upstream version is reported correctly. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/jpeg')
-rw-r--r--meta/recipes-graphics/jpeg/libjpeg-turbo_8d+1.4.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_8d+1.4.2.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_8d+1.4.2.bb
index da1923f466..4859431941 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_8d+1.4.2.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_8d+1.4.2.bb
@@ -14,6 +14,8 @@ BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
SRC_URI[md5sum] = "86b0d5f7507c2e6c21c00219162c3c44"
SRC_URI[sha256sum] = "521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e"
+UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libjpeg-turbo/files/"
+UPSTREAM_CHECK_REGEX = "/libjpeg-turbo/files/(?P<pver>(\d+[\.\-_]*)+)/"
S = "${WORKDIR}/${BPN}-${BASEPV}"