* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/. * Patch Makefile to fix compilation errors.
Signed-off-by: Anuj Mittal <anuj.mit...@intel.com> --- ...x-template-paths-when-buildir-is-differen.patch | 41 ++++++++++++++++++++++ ...t-validate_1.12.4.bb => gst-validate_1.14.0.bb} | 10 +++--- 2 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch rename meta/recipes-multimedia/gstreamer/{gst-validate_1.12.4.bb => gst-validate_1.14.0.bb} (71%) diff --git a/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch b/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch new file mode 100644 index 0000000000..400b8b0fea --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch @@ -0,0 +1,41 @@ +From ac9d7d230effdb97870c2f317b3b45449bde1769 Mon Sep 17 00:00:00 2001 +From: Anuj Mittal <am.de...@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.de...@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 + diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb similarity index 71% rename from meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb rename to meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb index 0f2585a459..d12b8f6a0f 100644 --- a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb +++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb @@ -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/*" -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core