Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dc832badd | |||
| 1adab53f53 | |||
| 4b269eb2ea |
18
conf/layer.conf
Normal file
18
conf/layer.conf
Normal 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"
|
||||
34
recipes-core/images/helium-image-pinecube.bb
Normal file
34
recipes-core/images/helium-image-pinecube.bb
Normal 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} \
|
||||
"
|
||||
@ -0,0 +1,2 @@
|
||||
PACKAGECONFIG += " hls openssl v4l2codecs rtmp"
|
||||
PACKAGECONFIG:remove = "bz2 closedcaption curl dash dtls sbc smoothstreaming sndfile ttml webp"
|
||||
@ -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 = ""
|
||||
@ -0,0 +1,3 @@
|
||||
# Drop opengl requirement
|
||||
REQUIRED_DISTRO_FEATURES = ""
|
||||
PACKAGECONFIG += " drm encoders"
|
||||
Loading…
x
Reference in New Issue
Block a user