diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb new file mode 100644 index 000000000..092247394 --- /dev/null +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb @@ -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} \ +" diff --git a/meta-digi-dey/recipes-core/images/dey-image-graphical.inc b/meta-digi-dey/recipes-core/images/dey-image-graphical.inc index ba7df4e69..3449c613c 100644 --- a/meta-digi-dey/recipes-core/images/dey-image-graphical.inc +++ b/meta-digi-dey/recipes-core/images/dey-image-graphical.inc @@ -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"