From 6f2f97411201815baadb8a0b43837a2035898a9d Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Mon, 22 Feb 2016 15:11:05 +0000 Subject: gstreamer: Fix runtime CMA error The gstreamer bad wayland sink plugin is dependent on wayland-kms. Make this explicit by adding appropriate DEPENDS/RDEPENDS. Without it the wayland sink plugin can be built with the wrong configuration depending on build order. Incorrectly built the plugin can lead to gst-launch to report an runtime error stating there is insufficient CMA memory. --- .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-rcar-gen2/recipes-multimedia/gstreamer') diff --git a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend index a881d76..83adc79 100644 --- a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend +++ b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend @@ -18,6 +18,8 @@ do_configure_prepend() { # for wayland PACKAGECONFIG_remove_rcar-gen2 = "${@'orc' if '1' in '${USE_GLES_WAYLAND}' else ''}" PACKAGECONFIG_append_rcar-gen2 = " faad ${@base_contains('USE_GLES_WAYLAND', '1', 'wayland', '', d)}" +DEPENDS += "wayland-kms" +RDEPENDS_${PN} = "libwayland-egl" # for lcb DEPENDS_append_silk = " ${@base_conditional('USE_MULTIMEDIA', '1', 'faac', '', d)}" -- cgit 1.2.3-korg From a29b1deff4f828987ab22562e6c0cd60a95be1ab Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Mon, 22 Feb 2016 15:39:55 +0000 Subject: gstreamer: Fix a long list of build dependency QA warnings Include upstream fixes in Poky meta that resolve a long list of QA warnings related to building the gst bad plugins. For example: WARNING: QA Issue: gstreamer1.0-plugins-bad-accurip rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-accurip rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmdec rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmdec rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmenc rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmenc rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps] --- .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-rcar-gen2/recipes-multimedia/gstreamer') diff --git a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend index 83adc79..8262f16 100644 --- a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend +++ b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend @@ -7,6 +7,10 @@ SRCREV_rcar-gen2 = "${@'eda7155f94981ace11b866fc02daca6ad4869221' \ LIC_FILES_CHKSUM_remove_rcar-gen2 = "\ file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607" +SRC_URI += " \ + file://0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch \ + file://configure-allow-to-disable-libssh2.patch" + S = "${WORKDIR}/git" do_configure_prepend() { -- cgit 1.2.3-korg