Compare commits

...

3 Commits

5 changed files with 63 additions and 0 deletions

18
conf/layer.conf Normal file
View File

@ -0,0 +1,18 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "helium-pinecube"
BBFILE_PATTERN_helium-pinecube = "^${LAYERDIR}/"
BBFILE_PRIORITY_helium-pinecube = "6"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_helium-pinecube = "2"
LAYERDEPENDS_helium-pinecube = "core pinecube-bsp helium multimedia-layer"
LAYERSERIES_COMPAT_helium-pinecube = "scarthgap"

View File

@ -0,0 +1,34 @@
SUMMARY = "Helium image for Pinecube"
LICENSE = "MIT"
require recipes-core/images/helium-image-default.bb
require recipes-core/images/pinecube-image-default.bb
ALSA_INSTALL = " \
alsa-utils-alsamixer \
alsa-utils-aplay \
"
V4L2_INSTALL = " \
media-ctl \
"
GSTREAMER_INSTALL = " \
gstreamer1.0 \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-rtsp-server \
gstreamer1.0-vaapi \
"
LIBCAMERA_INSTALL = " \
libcamera \
"
PACKAGECONFIG:libcamera += " gst"
IMAGE_INSTALL += " \
${ALSA_INSTALL} \
${V4L2_INSTALL} \
${GSTREAMER_INSTALL} \
${LIBCAMERA_INSTALL} \
"

View File

@ -0,0 +1,2 @@
PACKAGECONFIG += " hls openssl v4l2codecs rtmp"
PACKAGECONFIG:remove = "bz2 closedcaption curl dash dtls sbc smoothstreaming sndfile ttml webp"

View File

@ -0,0 +1,6 @@
PACKAGECONFIG += " libv4l2 v4l2"
PACKAGECONFIG:remove = "bz2 cairo gdk-pixbuf gudev mpg123 speex taglib soup2 soup3"
# Soup is removed from PACKAGECONFIG, but yocto still has a problem with it
PACKAGECONFIG_SOUP = ""
RDEPENDS:${PN}-soup = ""

View File

@ -0,0 +1,3 @@
# Drop opengl requirement
REQUIRED_DISTRO_FEATURES = ""
PACKAGECONFIG += " drm encoders"