diff options
5 files changed, 46 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend new file mode 100644 index 000000000..5cf6d411c --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # testbuild/../test.c:10: undefined reference to `glXCreateContext' | ||
| 2 | PACKAGECONFIG:remove:imxgpu = "x11" | ||
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 69a807a3b..595633b04 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
| @@ -10,12 +10,16 @@ SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" | |||
| 10 | 10 | ||
| 11 | PACKAGECONFIG ??= " \ | 11 | PACKAGECONFIG ??= " \ |
| 12 | no-idle-timeout \ | 12 | no-idle-timeout \ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ | ||
| 13 | ${PACKAGECONFIG_GBM_FORMAT} \ | 14 | ${PACKAGECONFIG_GBM_FORMAT} \ |
| 14 | ${PACKAGECONFIG_REPAINT_WINDOW} \ | 15 | ${PACKAGECONFIG_REPAINT_WINDOW} \ |
| 15 | ${PACKAGECONFIG_SIZE} \ | 16 | ${PACKAGECONFIG_SIZE} \ |
| 16 | ${PACKAGECONFIG_USE_G2D} \ | 17 | ${PACKAGECONFIG_USE_G2D} \ |
| 17 | " | 18 | " |
| 18 | 19 | ||
| 20 | # Mainline BSPs dont support xwayland | ||
| 21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" | ||
| 22 | |||
| 19 | PACKAGECONFIG_GBM_FORMAT ?= "" | 23 | PACKAGECONFIG_GBM_FORMAT ?= "" |
| 20 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" | 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" |
| 21 | 25 | ||
| @@ -46,6 +50,7 @@ PACKAGECONFIG[rdp] = ",," | |||
| 46 | PACKAGECONFIG[repaint-window] = ",," | 50 | PACKAGECONFIG[repaint-window] = ",," |
| 47 | PACKAGECONFIG[size] = ",," | 51 | PACKAGECONFIG[size] = ",," |
| 48 | PACKAGECONFIG[use-g2d] = ",," | 52 | PACKAGECONFIG[use-g2d] = ",," |
| 53 | PACKAGECONFIG[xwayland] = ",," | ||
| 49 | 54 | ||
| 50 | do_install:append() { | 55 | do_install:append() { |
| 51 | if [ -f "${WORKDIR}/weston.config" ]; then | 56 | if [ -f "${WORKDIR}/weston.config" ]; then |
| @@ -75,5 +80,9 @@ do_install:append() { | |||
| 75 | sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini | 80 | sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini |
| 76 | fi | 81 | fi |
| 77 | 82 | ||
| 83 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then | ||
| 84 | sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini | ||
| 85 | fi | ||
| 86 | |||
| 78 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini | 87 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini |
| 79 | } | 88 | } |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch new file mode 100644 index 000000000..1345dd4f0 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From dc5d752ec3fbec10402aa60fa8245e384e0c7206 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 7 Jun 2023 22:53:47 -0700 | ||
| 4 | Subject: [PATCH] v4l2: Include gst/allocators/gstdmabuf.h for | ||
| 5 | gst_is_dmabuf_memory() | ||
| 6 | |||
| 7 | This is flagged by clang-16 | ||
| 8 | ../git/sys/v4l2/gstv4l2videoenc.c:756:9: error: call to undeclared function 'gst_is_dmabuf_memory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
| 9 | if (gst_is_dmabuf_memory (gst_buffer_peek_memory (frame->input_buffer, 0)) | ||
| 10 | ^ | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-good/pull/2] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | sys/v4l2/gstv4l2videoenc.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c | ||
| 19 | index a505a228f..f24d5a795 100644 | ||
| 20 | --- a/sys/v4l2/gstv4l2videoenc.c | ||
| 21 | +++ b/sys/v4l2/gstv4l2videoenc.c | ||
| 22 | @@ -36,6 +36,7 @@ | ||
| 23 | |||
| 24 | #include <string.h> | ||
| 25 | #include <gst/gst-i18n-plugin.h> | ||
| 26 | +#include <gst/allocators/gstdmabuf.h> | ||
| 27 | |||
| 28 | GST_DEBUG_CATEGORY_STATIC (gst_v4l2_video_enc_debug); | ||
| 29 | #define GST_CAT_DEFAULT gst_v4l2_video_enc_debug | ||
| 30 | -- | ||
| 31 | 2.41.0 | ||
| 32 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb index 95c8657e0..95e33d5b1 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb | |||
| @@ -13,6 +13,7 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues | |||
| 13 | 13 | ||
| 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ |
| 15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | 15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ |
| 16 | file://0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch \ | ||
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" | 19 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb index d3c29ff74..4da992ee9 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb | |||
| @@ -28,3 +28,5 @@ def get_gst_ver(v): | |||
| 28 | return oe.utils.trim_version(v, 3) | 28 | return oe.utils.trim_version(v, 3) |
| 29 | 29 | ||
| 30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even | 30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even |
| 31 | |||
| 32 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
