imx-gst1.0-plugin: Adjust libdrm dependency

The 7ULP build is broken:

```
../git/plugins/compositor/gstimxcompositor.c:124:10: fatal error: libdrm/drm_fourcc.h: No such file or directory
  124 | #include <libdrm/drm_fourcc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
```

Replace the imxvpu condition for the libdrm dependency to all fbdev
devices with GPU. For i.MX 6 and 7, the new condition simply extends
what the old condition provided. For i.MX 8, the new condition removes
the explicit dependency. It seems the dependency is still needed, but it
is satisfied implicitly.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2022-04-04 16:28:58 -05:00
parent 0fb851cdc9
commit 904c6c8865

View File

@ -11,7 +11,8 @@ DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer
DEPENDS:append:mx6-nxp-bsp = " imx-lib"
DEPENDS:append:mx7-nxp-bsp = " imx-lib"
DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib"
DEPENDS:append:imxvpu = " imx-vpuwrap libdrm"
DEPENDS:append:imxvpu = " imx-vpuwrap"
DEPENDS:append:imxfbdev:imxgpu = " libdrm"
# For backwards compatibility
RREPLACES:${PN} = "gst1.0-fsl-plugin"