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 <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-11-22 10:07:47 +01:00
parent f94533e137
commit c224555451
1 changed files with 25 additions and 5 deletions

View File

@ -1,11 +1,34 @@
# #
# Copyright (C) 2012 Digi International. # Copyright (C) 2012-2017 Digi International Inc.
# #
SUMMARY = "Gstreamer framework packagegroup for DEY image" SUMMARY = "Gstreamer framework packagegroup for DEY image"
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup 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 ?= ""
MACHINE_GSTREAMER_1_0_EXTRA_INSTALL_ccimx6 ?= " \ MACHINE_GSTREAMER_1_0_EXTRA_INSTALL_ccimx6 ?= " \
gstreamer1.0-plugins-bad-meta \ gstreamer1.0-plugins-bad-meta \
@ -14,10 +37,7 @@ MACHINE_GSTREAMER_1_0_EXTRA_INSTALL_ccimx6 ?= " \
" "
RDEPENDS_${PN} = " \ RDEPENDS_${PN} = " \
gstreamer1.0-meta-audio \ ${MACHINE_GSTREAMER_1_0_PKGS} \
gstreamer1.0-meta-video \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
${MACHINE_GSTREAMER_1_0_EXTRA_INSTALL} \ ${MACHINE_GSTREAMER_1_0_EXTRA_INSTALL} \
${MACHINE_GSTREAMER_1_0_PLUGIN} \ ${MACHINE_GSTREAMER_1_0_PLUGIN} \
" "