From c2245554519174d9fdc528af9028f359f56da503 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 22 Nov 2017 10:07:47 +0100 Subject: [PATCH] packagegroup-dey-gstreamer: define installed packages per machine This allows to specify a different set of gstreamer packages to be installed per machine. It's mainly used for the CC6UL to define a minimum set of packages that allows to play a WEBM video, and at the same time save some space as this platform does not have much storage. The space saved with this change for the CC6UL and the default QT image is about ~5MB. https://jira.digi.com/browse/DEL-4987 Signed-off-by: Javier Viguera --- .../packagegroup-dey-gstreamer.bb | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/meta-digi-dey/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb b/meta-digi-dey/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb index 85d4803f6..a51f3e079 100644 --- a/meta-digi-dey/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb +++ b/meta-digi-dey/recipes-multimedia/packagegroups/packagegroup-dey-gstreamer.bb @@ -1,11 +1,34 @@ # -# Copyright (C) 2012 Digi International. +# Copyright (C) 2012-2017 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-meta-audio \ + gstreamer1.0-meta-video \ + gstreamer1.0-plugins-base-meta \ + gstreamer1.0-plugins-good-meta \ +" +# Minimal set of gstreamer elements to play a local WEBM video +MACHINE_GSTREAMER_1_0_PKGS_ccimx6ul = " \ + 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-pulse \ + gstreamer1.0-plugins-good-video4linux2 \ + gstreamer1.0-plugins-good-videofilter \ + gstreamer1.0-plugins-good-vpx \ +" + MACHINE_GSTREAMER_1_0_EXTRA_INSTALL ?= "" MACHINE_GSTREAMER_1_0_EXTRA_INSTALL_ccimx6 ?= " \ gstreamer1.0-plugins-bad-meta \ @@ -14,10 +37,7 @@ MACHINE_GSTREAMER_1_0_EXTRA_INSTALL_ccimx6 ?= " \ " RDEPENDS_${PN} = " \ - gstreamer1.0-meta-audio \ - gstreamer1.0-meta-video \ - gstreamer1.0-plugins-base-meta \ - gstreamer1.0-plugins-good-meta \ + ${MACHINE_GSTREAMER_1_0_PKGS} \ ${MACHINE_GSTREAMER_1_0_EXTRA_INSTALL} \ ${MACHINE_GSTREAMER_1_0_PLUGIN} \ "