stm-st-stm32mp: add packagegroup-dey-gstreamer to support STM platforms

https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2022-07-01 12:42:21 +02:00
parent ee2a28f3cc
commit d261ba301b
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
#
# Copyright (C) 2022 Digi International Inc.
#
SUMMARY = "Gstreamer framework packagegroup for DEY image"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
# Per machine gstreamer base packages
MACHINE_GSTREAMER_1_0_PKGS = " \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good-meta \
gstreamer1.0-plugins-bad-meta \
gstreamer1.0-plugins-ugly-meta \
gstreamer1.0-libav \
gstreamer1.0-rtsp-server-meta \
"
# Minimal set of gstreamer elements to play a local WEBM video
MACHINE_GSTREAMER_1_0_PKGS:append = " \
gstreamer1.0-plugins-base-alsa \
gstreamer1.0-plugins-base-audioconvert \
gstreamer1.0-plugins-base-audioresample \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-base-videoconvert \
gstreamer1.0-plugins-base-videoscale \
gstreamer1.0-plugins-base-volume \
gstreamer1.0-plugins-good-pulseaudio \
gstreamer1.0-plugins-good-video4linux2 \
gstreamer1.0-plugins-good-videofilter \
gstreamer1.0-plugins-good-avi \
gstreamer1.0-plugins-good-jpeg \
"
RDEPENDS:${PN} = " \
${MACHINE_GSTREAMER_1_0_PKGS} \
"

View File

@ -35,6 +35,8 @@ IMAGE_FEATURES += " \
# it with video/camera
IMAGE_FEATURES:append:ccimx6ulsbc = " dey-gstreamer"
IMAGE_FEATURES:append:ccmp15 = " ${@bb.utils.contains('DISTRO_FEATURES', 'gstreamer', 'dey-gstreamer', '', d)}"
# Remove some features to reduce the rootfs size to fit in the internal storage.
IMAGE_FEATURES:remove:ccimx6ul = "package-management"