Make ardour5/6 slection work

We cannot use siteinfo.bbclas inside of a packagegroup - packagegroups are
allarch.
Get around by (r)providing ardour conditionally on SITEINFO_BITS

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-11-08 14:16:46 +01:00
parent b804ea66f6
commit 39c7a0dd69
3 changed files with 12 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ DEPENDS += " \
fluidsynth \
"
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg siteinfo
REQUIRED_DISTRO_FEATURES = "x11"
@@ -121,3 +121,7 @@ FILES_${PN}-dev += " \
FILES_${PN}-staticdev += " \
${libdir}/${BPN}/*.a \
"
# did not get ardour6 to fly on 32bit systems - so (r)provide for 32 bits as fallback
PROVIDES = "${@oe.utils.conditional('SITEINFO_BITS', '32', 'ardour', '', d)}"
RPROVIDES_${PN} = "${@oe.utils.conditional('SITEINFO_BITS', '32', 'ardour', '', d)}"

View File

@@ -29,7 +29,7 @@ DEPENDS += " \
hidapi \
"
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg siteinfo
REQUIRED_DISTRO_FEATURES = "x11"
@@ -104,3 +104,7 @@ FILES_${PN}-dev += " \
FILES_${PN}-staticdev += " \
${libdir}/${BPN}/*.a \
"
# did not get ardour6 to fly on 32bit systems - so (r)provide for 64 bits only
PROVIDES = "${@oe.utils.conditional('SITEINFO_BITS', '64', 'ardour', '', d)}"
RPROVIDES_${PN} = "${@oe.utils.conditional('SITEINFO_BITS', '64', 'ardour', '', d)}"

View File

@@ -2,7 +2,7 @@ SUMMARY = "All music musicican packages"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit packagegroup siteinfo
inherit packagegroup
# unfortunately there is no way to add a comment. So folders, containing
# multiple recipes are separated by two '\' before and after. That way the
@@ -11,7 +11,7 @@ inherit packagegroup siteinfo
RDEPENDS_${PN} += " \
amsynth-standalone amsynth-lv2 amsynth-vst \
${@oe.utils.conditional('SITEINFO_BITS', '64', 'ardour6', 'ardour5', d)} \
ardour \
aubio \
audio-tweaks \
bristol \