1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

gst-validate: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/.
* Patch Makefile to fix compilation errors.

(From OE-Core rev: 64a27c7f9792126b1ad82571c351c96da6addb02)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Anuj Mittal
2018-05-03 16:17:54 +08:00
committed by Richard Purdie
parent 19df6ef6f3
commit 6b52c84a3f
2 changed files with 47 additions and 4 deletions
@@ -0,0 +1,41 @@
From ac9d7d230effdb97870c2f317b3b45449bde1769 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <am.devel@gmail.com>
Date: Wed, 11 Apr 2018 15:40:02 +0800
Subject: [PATCH] validate: fix template paths when buildir is different
Compilation just fails otherwise because it's not able to locate the files.
Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=795149]
Signed-off-by: Anuj Mittal <am.devel@gmail.com>
---
gst/validate/Makefile.am | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gst/validate/Makefile.am b/gst/validate/Makefile.am
index 342730a..3fcc3e5 100644
--- a/gst/validate/Makefile.am
+++ b/gst/validate/Makefile.am
@@ -48,14 +48,17 @@ source_h = \
nodist_libgstvalidate_@GST_API_VERSION@_la_SOURCES = $(built_source_make)
nodist_libgstvalidate_@GST_API_VERSION@include_HEADERS = $(built_header_make)
+template_h = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.h.template)
+template_c = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.c.template)
+
gst-validate-enum-types.h: $(source_h)
$(AM_V_GEN)$(GLIB_MKENUMS) \
- --template gst-validate-enum-types.h.template \
+ --template $(template_h) \
$^ > gst-validate-enum-types.h
gst-validate-enum-types.c: $(source_h)
$(AM_V_GEN)$(GLIB_MKENUMS) \
- --template gst-validate-enum-types.c.template \
+ --template $(template_c) \
$^ > gst-validate-enum-types.c
EXTRA_DIST= \
--
2.7.4
@@ -6,11 +6,13 @@ SECTION = "multimedia"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz"
SRC_URI[md5sum] = "bc074d49677081f9c27de11a09165746"
SRC_URI[sha256sum] = "f9da9dfe6e5d6f5ba3b38c5752b42d3f927715904942b405c2924d3cb77afba1"
SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \
file://0001-validate-fix-template-paths-when-buildir-is-differen.patch \
"
SRC_URI[md5sum] = "deb8654c912b189388fe585b0fc5bc8f"
SRC_URI[sha256sum] = "33df08bf77f2895d64b7e8a957de3b930b4da0a8edabfbefcff2eab027eeffdf"
DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base"
RRECOMMENDS_${PN} = "git"
FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"