[meta-intel] [PATCH 3/4] libyami: upgrade to 1.3.0
Anuj Mittal
anuj.mittal at intel.com
Sun Feb 4 22:25:53 PST 2018
Major changes:
*Implement H.264 SVC-T new reference mode
*Implement H.264 low latency mode
*Improve v4l2 interface,support dynamic resolution change
*JPEG decoder fixes and Y800 support
The 1.3.0 release tag isn't on any branch so use the SRCREV that is
one commit behind.
Added a patch to fix build because of change in location of headers
in this release. Also, point to renamed intel repository.
Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
---
...-point-to-build-dir-for-generated-headers.patch | 29 ++++++++++++++++++++++
.../libyami/{libyami_1.2.0.bb => libyami_1.3.0.bb} | 11 ++++----
2 files changed, 35 insertions(+), 5 deletions(-)
create mode 100644 recipes-multimedia/libyami/libyami/0001-Makefile.am-point-to-build-dir-for-generated-headers.patch
rename recipes-multimedia/libyami/{libyami_1.2.0.bb => libyami_1.3.0.bb} (76%)
diff --git a/recipes-multimedia/libyami/libyami/0001-Makefile.am-point-to-build-dir-for-generated-headers.patch b/recipes-multimedia/libyami/libyami/0001-Makefile.am-point-to-build-dir-for-generated-headers.patch
new file mode 100644
index 0000000..673969c
--- /dev/null
+++ b/recipes-multimedia/libyami/libyami/0001-Makefile.am-point-to-build-dir-for-generated-headers.patch
@@ -0,0 +1,29 @@
+From 00fc21a41bf7e11d468227487c4e9de9e6d608e6 Mon Sep 17 00:00:00 2001
+From: Anuj Mittal <anuj.mittal at intel.com>
+Date: Mon, 5 Feb 2018 11:16:18 +0800
+Subject: [PATCH] Makefile.am: point to build dir for generated headers
+
+Otherwise it will give out errors for missing YamiVersion.h.
+
+Upstream-Status: Submitted [https://github.com/intel/libyami/pull/827]
+
+Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
+---
+ common/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/common/Makefile.am b/common/Makefile.am
+index 5ee61da..1a788e5 100644
+--- a/common/Makefile.am
++++ b/common/Makefile.am
+@@ -40,6 +40,7 @@ extra_includes = \
+ libyami_common_cppflags = \
+ $(LIBVA_CFLAGS) \
+ -I$(top_srcdir)/interface \
++ -I$(top_builddir)/interface \
+ $(extra_includes) \
+ $(NULL)
+
+--
+2.7.4
+
diff --git a/recipes-multimedia/libyami/libyami_1.2.0.bb b/recipes-multimedia/libyami/libyami_1.3.0.bb
similarity index 76%
rename from recipes-multimedia/libyami/libyami_1.2.0.bb
rename to recipes-multimedia/libyami/libyami_1.3.0.bb
index 1d1d02f..ce4f253 100644
--- a/recipes-multimedia/libyami/libyami_1.2.0.bb
+++ b/recipes-multimedia/libyami/libyami_1.3.0.bb
@@ -2,13 +2,13 @@ SUMMARY = "Yami is media infrastructure base on libva"
DESCRIPTION = "Yet Another Media Infrastructure \
light weight hardware codec library base on VA-API "
-HOMEPAGE = "https://github.com/01org/libyami"
-BUGTRACKER = "https://github.com/01org/libyami/issues/new"
+HOMEPAGE = "https://github.com/intel/libyami"
+BUGTRACKER = "https://github.com/intel/libyami/issues/new"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57"
-SRC_URI = "git://github.com/01org/libyami.git;branch=apache \
+SRC_URI = "git://github.com/intel/libyami.git;branch=apache \
file://0001-bitWriter.cpp-Delete-unused-CACHEBYTES.patch \
file://0002-typecast-index-from-size_t-to-int.patch \
file://0003-Add-Wno-invalid-offsetof-to-compiler-commandline.patch \
@@ -18,8 +18,9 @@ SRC_URI = "git://github.com/01org/libyami.git;branch=apache \
file://0007-Delete-unused-variables.patch \
file://0008-NalUnit-is-declared-in-different-namespace.patch \
file://0009-Fix-clang-warnings.patch \
+ file://0001-Makefile.am-point-to-build-dir-for-generated-headers.patch \
"
-SRCREV = "c884fc3facbf1a0adf2082a1cf95cb146300a5ca"
+SRCREV = "0192c3c041e02e8eb753e9e3e02bfc7b55756ce2"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
@@ -30,5 +31,5 @@ inherit autotools pkgconfig distro_features_check
REQUIRED_DISTRO_FEATURES = "opengl"
-UPSTREAM_CHECK_URI = "https://github.com/01org/libyami/releases"
+UPSTREAM_CHECK_URI = "https://github.com/intel/libyami/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
--
2.7.4
More information about the meta-intel
mailing list