spotify / spotify-qt: Add only if meta-rust is in layers
Otherwise meta-rust is a hard dependency Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -6,6 +6,11 @@ BBFILES += "${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/
|
||||
# appends
|
||||
BBFILES += "${LAYERDIR}/appends/*/*.bbappend"
|
||||
|
||||
|
||||
BBFILES_DYNAMIC += "\
|
||||
rust-layer:${LAYERDIR}/dynamic-layers/meta-rust/*.bb \
|
||||
"
|
||||
|
||||
BBFILE_COLLECTIONS += "meta-musicians"
|
||||
BBFILE_PATTERN_meta-musicians := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-musicians = "20"
|
||||
|
||||
@@ -192,7 +192,7 @@ RDEPENDS_${PN} += " \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "opengl", "zyn-fusion-dssi zyn-fusion-lv2 zyn-fusion-vst zyn-fusion-standalone", "zynaddsubfx-dssi zynaddsubfx-lv2 zynaddsubfx-vst zynaddsubfx-standalone",d)} \
|
||||
\
|
||||
\
|
||||
spotifyd spotify-qt \
|
||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'rust-layer', 'spotifyd spotify-qt', '', d)} \
|
||||
"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user