[meta-intel] [PATCH 1/2] intel-media-driver: fix upstream release checking
Ross Burton
ross.burton at intel.com
Fri Feb 1 09:02:18 PST 2019
We need to use a custom regex because there are lots of tags we want to ignore:
- We want to skip intel-media-19.1.pre1 as it's a pre-release
- driver-for-Intel-Media-SDK-2018Q2.1 gets parsed as version 2018
- intel-media-600.0132 gets parsed as version 600
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
recipes-multimedia/libva/intel-media-driver_18.3.0.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-multimedia/libva/intel-media-driver_18.3.0.bb b/recipes-multimedia/libva/intel-media-driver_18.3.0.bb
index d5f1ddc5..6492dff0 100644
--- a/recipes-multimedia/libva/intel-media-driver_18.3.0.bb
+++ b/recipes-multimedia/libva/intel-media-driver_18.3.0.bb
@@ -23,6 +23,8 @@ SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;branch=intel-m
SRCREV = "00f9ae5dd6e2bff4da2aaa5b39df4f75588405de"
S = "${WORKDIR}/git"
+UPSTREAM_CHECK_GITTAGREGEX = "^intel-media-(?P<pver>(?!600\..*)\d+(\.\d+)+)$"
+
inherit cmake pkgconfig
MEDIA_DRIVER_ARCH_x86 = "32"
--
2.11.0
More information about the meta-intel
mailing list