This is effectively a manual cherry-pick and squash of commits:
4249268041b879b3d2bae338d5de88f4f2d54b26
07f4ab8c2833ae5377b97cc9e3820bed67e539d0
from the master branch with additional review and fixups.
The intent of these changes is to minimize the effort to backport
fixes from the master branch, which has been updated in preparation
for the switch to the next Yocto LTS release in early 2022.
Bug-AGL: SPEC-4144
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3b47f1b7d62038b314a17763d24a64f6d4e15e72
174 files changed:
-AGL_FEATURES_append = " agl-demo-preload"
+AGL_FEATURES:append = " agl-demo-preload"
# Use demo device mapping for low-can that enables sllin0
PREFERRED_RPROVIDER_virtual/low-can-dev-mapping = "dev-mapping-demo"
# Extend agl-voiceagent-alexa image feature to preload voiceagent
# configuration package.
# Use demo device mapping for low-can that enables sllin0
PREFERRED_RPROVIDER_virtual/low-can-dev-mapping = "dev-mapping-demo"
# Extend agl-voiceagent-alexa image feature to preload voiceagent
# configuration package.
-FEATURE_PACKAGES_agl-voiceagent-alexa_append = " virtual/alexa-voiceagent-config"
+FEATURE_PACKAGES_agl-voiceagent-alexa:append = " virtual/alexa-voiceagent-config"
IMAGE_FEATURES =+ "debug-tweaks"
IMAGE_FEATURES =+ "debug-tweaks"
-DISTRO_FEATURES_append = " automount "
+DISTRO_FEATURES:append = " automount "
-IMAGE_INSTALL_append = " screen mc "
+IMAGE_INSTALL:append = " screen mc "
# Include all kernel modules here for ease-of-use during development.
# Note that this is conditional on virtual/kernel not being linux-dummy
# in order to allow building the demo images as containers.
# Comment this out to switch to selecting the kernel modules
# individually.
# Include all kernel modules here for ease-of-use during development.
# Note that this is conditional on virtual/kernel not being linux-dummy
# in order to allow building the demo images as containers.
# Comment this out to switch to selecting the kernel modules
# individually.
-IMAGE_INSTALL_append = " ${@'kernel-modules' if d.getVar('PREFERRED_PROVIDER_virtual/kernel') != 'linux-dummy' else ''}"
+IMAGE_INSTALL:append = " ${@'kernel-modules' if d.getVar('PREFERRED_PROVIDER_virtual/kernel') != 'linux-dummy' else ''}"
# Extend agl-voiceagent-alexa image feature with local alexa-viewer
# package.
# Extend agl-voiceagent-alexa image feature with local alexa-viewer
# package.
-FEATURE_PACKAGES_agl-voiceagent-alexa_append = " alexa-viewer"
+FEATURE_PACKAGES_agl-voiceagent-alexa:append = " alexa-viewer"
-AGL_FEATURES_append = " agldemo"
+AGL_FEATURES:append = " agldemo"
# Set preferred provider for low-can device mapping configuration
PREFERRED_RPROVIDER_virtual/low-can-dev-mapping ?= "${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'dev-mapping-ci', 'dev-mapping', d)}"
# Set preferred provider for low-can device mapping configuration
PREFERRED_RPROVIDER_virtual/low-can-dev-mapping ?= "${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'dev-mapping-ci', 'dev-mapping', d)}"
FEATURE_PACKAGES_agl-speech-framework = "packagegroup-agl-speech-services"
# install virtualbox drivers for vmdk
FEATURE_PACKAGES_agl-speech-framework = "packagegroup-agl-speech-services"
# install virtualbox drivers for vmdk
-IMAGE_INSTALL_append = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic.vmdk wic.vmdk.xz', ' open-vm-tools vboxguestdrivers', '', d)}"
+IMAGE_INSTALL:append = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic.vmdk wic.vmdk.xz', ' open-vm-tools vboxguestdrivers', '', d)}"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
-RDEPENDS_${PN} = "bluez5-obex agl-service-bluetooth"
+RDEPENDS:${PN} = "bluez5-obex agl-service-bluetooth"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
-RDEPENDS_${PN} = "bluez5-obex agl-service-bluetooth agl-service-data-persistence"
+RDEPENDS:${PN} = "bluez5-obex agl-service-bluetooth agl-service-data-persistence"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
-RDEPENDS_${PN} = "agl-service-data-persistence agl-service-network"
+RDEPENDS:${PN} = "agl-service-data-persistence agl-service-network"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
# Run-time dependencies
S = "${WORKDIR}/git"
# Run-time dependencies
-RDEPENDS_${PN} += "agl-service-can-low-level"
+RDEPENDS:${PN} += "agl-service-can-low-level"
# For now, just enable J1939 on the qemu platforms where we know the
# linux-yocto kernel is new enough (>= 5.4) and has the support enabled.
# For now, just enable J1939 on the qemu platforms where we know the
# linux-yocto kernel is new enough (>= 5.4) and has the support enabled.
-AGLWGT_CMAKE_CONFIGURE_ARGS_append_qemuall = " -DWITH_FEATURE_J1939=ON"
+AGLWGT_CMAKE_CONFIGURE_ARGS:append:qemuall = " -DWITH_FEATURE_J1939=ON"
-RDEPENDS_${PN} = "virtual/low-can-dev-mapping"
+RDEPENDS:${PN} = "virtual/low-can-dev-mapping"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-SRC_URI_append = " file://can-dev-mapping-helper.conf"
+SRC_URI:append = " file://can-dev-mapping-helper.conf"
install -D -m 0644 ${WORKDIR}/can-dev-mapping-helper.conf \
${D}${sysconfdir}/systemd/system/afm-service-agl-service-can-low-level-.service.d/can-dev-mapping-helper.conf
}
install -D -m 0644 ${WORKDIR}/can-dev-mapping-helper.conf \
${D}${sysconfdir}/systemd/system/afm-service-agl-service-can-low-level-.service.d/can-dev-mapping-helper.conf
}
-RDEPENDS_${PN}_append = " can-dev-mapping-helper"
+RDEPENDS:${PN}:append = " can-dev-mapping-helper"
install -D -m 0755 ${WORKDIR}/${BPN}.sh ${D}${sbindir}/${BPN}.sh
}
install -D -m 0755 ${WORKDIR}/${BPN}.sh ${D}${sbindir}/${BPN}.sh
}
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
-RDEPENDS_${PN} += "bash"
+RDEPENDS:${PN} += "bash"
inherit cmake aglwgt pkgconfig
# Azure include files
inherit cmake aglwgt pkgconfig
# Azure include files
-CXXFLAGS_prepend += "-I${STAGING_INCDIR}/azureiot"
+CXXFLAGS:prepend += "-I${STAGING_INCDIR}/azureiot"
-RDEPENDS_${PN} += "azure-iot-sdk-c azure-c-shared-utility aws-iot-device-sdk-embedded-c"
+RDEPENDS:${PN} += "azure-iot-sdk-c azure-c-shared-utility aws-iot-device-sdk-embedded-c"
BBCLASSEXTEND = "native nativesdk"
BBCLASSEXTEND = "native nativesdk"
S = "${WORKDIR}/git"
DEPENDS = "json-c glib-2.0"
S = "${WORKDIR}/git"
DEPENDS = "json-c glib-2.0"
-RDEPENDS_${PN} = "agl-service-gps"
+RDEPENDS:${PN} = "agl-service-gps"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
DEPENDS = "json-c gpsd"
S = "${WORKDIR}/git"
DEPENDS = "json-c gpsd"
-RDEPENDS_${PN} = "libgps"
+RDEPENDS:${PN} = "libgps"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
install -D -m 644 ${S}/hvac.json ${D}${sysconfdir}/hvac.json
}
install -D -m 644 ${S}/hvac.json ${D}${sysconfdir}/hvac.json
}
-do_install_append_ulcb() {
+do_install:append:ulcb() {
sed -i -e "s#vcan0#sllin0#g" ${D}${sysconfdir}/hvac.json
}
sed -i -e "s#vcan0#sllin0#g" ${D}${sysconfdir}/hvac.json
}
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
-RDEPENDS_${PN} += "agl-service-identity-agent agl-service-can-low-level"
-RRECOMMENDS_${PN} += "agl-service-hvac-conf"
+RDEPENDS:${PN} += "agl-service-identity-agent agl-service-can-low-level"
+RRECOMMENDS:${PN} += "agl-service-hvac-conf"
DEPENDS = "json-c libiio glib-2.0"
DEPENDS = "json-c libiio glib-2.0"
-RDEPENDS_${PN} = "libiio"
+RDEPENDS:${PN} = "libiio"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
DEPENDS = "json-c gstreamer1.0 gstreamer1.0-plugins-base"
S = "${WORKDIR}/git"
DEPENDS = "json-c gstreamer1.0 gstreamer1.0-plugins-base"
-RDEPENDS_${PN} = "agl-service-mediascanner agl-service-bluetooth gstreamer1.0-plugins-bad-waylandsink"
+RDEPENDS:${PN} = "agl-service-mediascanner agl-service-bluetooth gstreamer1.0-plugins-bad-waylandsink"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
S = "${WORKDIR}/git"
DEPENDS = "json-c sqlite3 glib-2.0"
S = "${WORKDIR}/git"
DEPENDS = "json-c sqlite3 glib-2.0"
-RDEPENDS_${PN} = "lightmediascanner"
+RDEPENDS:${PN} = "lightmediascanner"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
-RDEPENDS_${PN} += "json-c libdbus-c++"
+RDEPENDS:${PN} += "json-c libdbus-c++"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
install -d ${D}${sbindir}
install -m 755 ${B}/build-release/test/agl-service-network-ctl ${D}${sbindir}
}
install -d ${D}${sbindir}
install -m 755 ${B}/build-release/test/agl-service-network-ctl ${D}${sbindir}
}
-FILES_${PN}-tools = "${sbindir}/agl-service-network-ctl"
-PACKAGES_prepend = "${PN}-tools "
+FILES:${PN}-tools = "${sbindir}/agl-service-network-ctl"
+PACKAGES:prepend = "${PN}-tools "
inherit cmake pkgconfig aglwgt ptest
DEPENDS += "lua lua-native libappcontroller libafb-helpers"
inherit cmake pkgconfig aglwgt ptest
DEPENDS += "lua lua-native libappcontroller libafb-helpers"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-signal-composer;protocol=https;branch=${AGL_BRANCH}"
SRCREV = "${AGL_APP_REVISION}"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-signal-composer;protocol=https;branch=${AGL_BRANCH}"
SRCREV = "${AGL_APP_REVISION}"
S = "${WORKDIR}/git"
DEPENDS = "json-c glib-2.0"
S = "${WORKDIR}/git"
DEPENDS = "json-c glib-2.0"
-RDEPENDS_${PN} = "ofono"
+RDEPENDS:${PN} = "ofono"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
DEPENDS += "json-c af-binder libafb-helpers"
inherit cmake aglwgt pkgconfig
DEPENDS += "json-c af-binder libafb-helpers"
-RDEPENDS_${PN} += "agl-service-unicens"
+RDEPENDS:${PN} += "agl-service-unicens"
inherit cmake aglwgt pkgconfig
DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0 libxml2 libafb-helpers"
inherit cmake aglwgt pkgconfig
DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0 libxml2 libafb-helpers"
-RDEPENDS_${PN} += "libxml2 "
+RDEPENDS:${PN} += "libxml2 "
-RDEPENDS_${PN} += "virtual/voice-high-config"
+RDEPENDS:${PN} += "virtual/voice-high-config"
install -D -m 644 ${WORKDIR}/voice-high.json ${D}${sysconfdir}/xdg/AGL/voice-high.json
}
install -D -m 644 ${WORKDIR}/voice-high.json ${D}${sysconfdir}/xdg/AGL/voice-high.json
}
-RPROVIDES_${PN} += "virtual/voice-high-config"
+RPROVIDES:${PN} += "virtual/voice-high-config"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 json-c"
-RDEPENDS_${PN} = "agl-service-geoclue"
+RDEPENDS:${PN} = "agl-service-geoclue"
inherit cmake aglwgt pkgconfig
inherit cmake aglwgt pkgconfig
LOGIN_USER ??="1001 1002"
LOGIN_USER ??="1001 1002"
-RDEPENDS_${PN} += "af-main"
+RDEPENDS:${PN} += "af-main"
install -d ${D}${systemd_system_unitdir}/multi-user.target.wants/
install -d ${D}${systemd_system_unitdir}/multi-user.target.wants/
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
USERADD_PACKAGES = "${PN}"
USERADDEXTENSION = "useradd-staticids"
USERADD_PACKAGES = "${PN}"
USERADDEXTENSION = "useradd-staticids"
-GROUPADD_PARAM_${PN} = "\
+GROUPADD_PARAM:${PN} = "\
--system display ; \
--system weston-launch ; \
-g 1001 agl-driver ; \
-g 1002 agl-passenger \
"
--system display ; \
--system weston-launch ; \
-g 1001 agl-driver ; \
-g 1002 agl-passenger \
"
-USERADD_PARAM_${PN} = "\
+USERADD_PARAM:${PN} = "\
-g 1001 -u 1001 -o -d /home/1001 -m -K PASS_MAX_DAYS=-1 agl-driver ; \
-g 1002 -u 1002 -o -d /home/1002 -m -K PASS_MAX_DAYS=-1 agl-passenger ; \
--gid display --groups weston-launch,video,input --home-dir /run/platform/display --shell /bin/false --comment \"Display daemon\" --key PASS_MAX_DAYS=-1 display \
-g 1001 -u 1001 -o -d /home/1001 -m -K PASS_MAX_DAYS=-1 agl-driver ; \
-g 1002 -u 1002 -o -d /home/1002 -m -K PASS_MAX_DAYS=-1 agl-passenger ; \
--gid display --groups weston-launch,video,input --home-dir /run/platform/display --shell /bin/false --comment \"Display daemon\" --key PASS_MAX_DAYS=-1 display \
${D}${sysconfdir}/systemd/system/network.target.wants/cluster-demo-network-conf@${AGL_CLUSTER_NET_DEVICE}.service
}
${D}${sysconfdir}/systemd/system/network.target.wants/cluster-demo-network-conf@${AGL_CLUSTER_NET_DEVICE}.service
}
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "cluster-demo-simulator.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_SERVICE:${PN} = "cluster-demo-simulator.service"
+SYSTEMD_AUTO_ENABLE:${PN} = "enable"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
install -m 0644 ${WORKDIR}/cluster-demo-simulator.service ${D}${systemd_system_unitdir}
}
install -m 0644 ${WORKDIR}/cluster-demo-simulator.service ${D}${systemd_system_unitdir}
}
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
-RDEPENDS_${PN} = "simple-can-simulator"
+RDEPENDS:${PN} = "simple-can-simulator"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "cluster-lin-bridging.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_SERVICE:${PN} = "cluster-lin-bridging.service"
+SYSTEMD_AUTO_ENABLE:${PN} = "enable"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
install -m 0644 ${WORKDIR}/cluster-lin-bridging.service ${D}${systemd_system_unitdir}
}
install -m 0644 ${WORKDIR}/cluster-lin-bridging.service ${D}${systemd_system_unitdir}
}
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
install -m 0644 ${WORKDIR}/dev-mapping.conf.ci ${D}${sysconfdir}/dev-mapping.conf
}
install -m 0644 ${WORKDIR}/dev-mapping.conf.ci ${D}${sysconfdir}/dev-mapping.conf
}
-RPROVIDES_${PN} = "virtual/low-can-dev-mapping"
+RPROVIDES:${PN} = "virtual/low-can-dev-mapping"
install -m 0644 ${WORKDIR}/dev-mapping.conf.demo ${D}${sysconfdir}/dev-mapping.conf
}
install -m 0644 ${WORKDIR}/dev-mapping.conf.demo ${D}${sysconfdir}/dev-mapping.conf
}
-RPROVIDES_${PN} = "virtual/low-can-dev-mapping"
+RPROVIDES:${PN} = "virtual/low-can-dev-mapping"
install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf
}
install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf
}
-RPROVIDES_${PN} = "virtual/low-can-dev-mapping"
+RPROVIDES:${PN} = "virtual/low-can-dev-mapping"
chmod a+x ${D}/${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}
}
chmod a+x ${D}/${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}
}
-FILES_${PN} = "${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}"
+FILES:${PN} = "${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = "\
file://unicens-config.service \
SRC_URI = "\
file://unicens-config.service \
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "unicens-config.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_SERVICE:${PN} = "unicens-config.service"
+SYSTEMD_AUTO_ENABLE:${PN} = "enable"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
install -D -m 0644 ${WORKDIR}/55-inic.rules ${D}${sysconfdir}/udev/rules.d/55-inic.rules
}
install -D -m 0644 ${WORKDIR}/55-inic.rules ${D}${sysconfdir}/udev/rules.d/55-inic.rules
}
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
-SYSTEMD_SERVICE_${PN} = "bluez-alsa.service"
+SYSTEMD_SERVICE:${PN} = "bluez-alsa.service"
PACKAGECONFIG += "ofono"
# enable debug tools in devel images
PACKAGECONFIG[hcitop] = "--enable-hcitop, --disable-hcitop, libbsd ncurses"
PACKAGECONFIG[rfcomm] = "--enable-rfcomm, --disable-rfcomm,"
PACKAGECONFIG += "ofono"
# enable debug tools in devel images
PACKAGECONFIG[hcitop] = "--enable-hcitop, --disable-hcitop, libbsd ncurses"
PACKAGECONFIG[rfcomm] = "--enable-rfcomm, --disable-rfcomm,"
-PACKAGECONFIG_append_agl-devel = " hcitop rfcomm"
+PACKAGECONFIG:append:agl-devel = " hcitop rfcomm"
install -d ${D}${base_libdir}/systemd/system
install -m 0644 ${WORKDIR}/bluez-alsa.service ${D}${base_libdir}/systemd/system
}
install -d ${D}${base_libdir}/systemd/system
install -m 0644 ${WORKDIR}/bluez-alsa.service ${D}${base_libdir}/systemd/system
}
${datadir}/alsa/alsa.conf.d/20-bluealsa.conf\
${libdir}/alsa-lib/libasound_module_ctl_bluealsa.so\
${libdir}/alsa-lib/libasound_module_pcm_bluealsa.so\
${datadir}/alsa/alsa.conf.d/20-bluealsa.conf\
${libdir}/alsa-lib/libasound_module_ctl_bluealsa.so\
${libdir}/alsa-lib/libasound_module_pcm_bluealsa.so\
-FILESEXTRAPATHS_prepend := "${THISDIR}/bluez-alsa:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/bluez-alsa:"
SRC_URI += "\
file://0001-utils-add-a-gstreamer-helper-application-for-interco.patch \
SRC_URI += "\
file://0001-utils-add-a-gstreamer-helper-application-for-interco.patch \
PACKAGECONFIG += "gsthelper"
PACKAGECONFIG[gsthelper] = "--enable-gsthelper, --disable-gsthelper, gstreamer1.0"
PACKAGECONFIG += "gsthelper"
PACKAGECONFIG[gsthelper] = "--enable-gsthelper, --disable-gsthelper, gstreamer1.0"
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
# install the service file
mkdir -p ${D}${systemd_system_unitdir}/
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
# install the service file
mkdir -p ${D}${systemd_system_unitdir}/
PACKAGES =+ "${PN}-pipewire"
PACKAGES =+ "${PN}-pipewire"
-FILES_${PN}-pipewire = "\
+FILES:${PN}-pipewire = "\
${bindir}/bluealsa-gst-helper \
${systemd_system_unitdir}/bluealsa-gst-helper@.service \
${systemd_system_unitdir}/afm-user-session@.target.wants/bluealsa-gst-helper@.service \
"
${bindir}/bluealsa-gst-helper \
${systemd_system_unitdir}/bluealsa-gst-helper@.service \
${systemd_system_unitdir}/afm-user-session@.target.wants/bluealsa-gst-helper@.service \
"
-RDEPENDS_${PN}-pipewire += "\
+RDEPENDS:${PN}-pipewire += "\
bluez-alsa \
pipewire \
gstreamer1.0-plugins-base \
bluez-alsa \
pipewire \
gstreamer1.0-plugins-base \
-FILESEXTRAPATHS_prepend := "${THISDIR}/bluez5:"
-SRC_URI_append = " \
+FILESEXTRAPATHS:prepend := "${THISDIR}/bluez5:"
+SRC_URI:append = " \
file://bluetooth.conf \
file://tmpdir.conf \
file://obex.service \
file://bluetooth.service \
"
file://bluetooth.conf \
file://tmpdir.conf \
file://obex.service \
file://bluetooth.service \
"
-FILES_${PN}_append = " ${systemd_user_unitdir}/obex.service.d/tmpdir.conf"
+FILES:${PN}:append = " ${systemd_user_unitdir}/obex.service.d/tmpdir.conf"
install -m 0644 ${WORKDIR}/bluetooth.conf ${D}${sysconfdir}/dbus-1/system.d/bluetooth.conf
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -m 0644 ${WORKDIR}/bluetooth.conf ${D}${sysconfdir}/dbus-1/system.d/bluetooth.conf
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
${WORKDIR}/cluster.config > ${D}${localstatedir}/lib/connman/cluster.config
}
${WORKDIR}/cluster.config > ${D}${localstatedir}/lib/connman/cluster.config
}
-FILES_${PN} += "${localstatedir}/*"
+FILES:${PN} += "${localstatedir}/*"
# Need to ignore eth1 in cluster demo setup
if ${@bb.utils.contains('AGL_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then
sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf
# Need to ignore eth1 in cluster demo setup
if ${@bb.utils.contains('AGL_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then
sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf
-FILESEXTRAPATHS_prepend := "${THISDIR}/mobile-broadband-provider-info:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/mobile-broadband-provider-info:"
SRC_URI += "file://0001-remove-Fido-service-provider.patch"
SRC_URI += "file://0001-remove-Fido-service-provider.patch"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
file://0001-systemd-neard-add-multi-user.target-to-neard.service.patch \
file://0002-ndef-avoid-dbus-property_get_type-method-on-empty-re.patch \
"
file://0001-systemd-neard-add-multi-user.target-to-neard.service.patch \
file://0002-ndef-avoid-dbus-property_get_type-method-on-empty-re.patch \
"
-SYSTEMD_SERVICE_${PN}_append = " neard.service"
+SYSTEMD_SERVICE:${PN}:append = " neard.service"
PACKAGES =+ "${PN}-tools ${PN}-tools-dbg"
PACKAGES =+ "${PN}-tools ${PN}-tools-dbg"
-FILES_${PN}-tools = "${libexecdir}/ncl"
-FILES_${PN}-tools-dbg += "${libexecdir}/.debug"
+FILES:${PN}-tools = "${libexecdir}/ncl"
+FILES:${PN}-tools-dbg += "${libexecdir}/.debug"
-RDEPENDS_${PN}-tools = "bash"
+RDEPENDS:${PN}-tools = "bash"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI_append = "\
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+SRC_URI:append = "\
file://ofono.conf \
file://0001-provision-allow-duplicate-entries-from-mbpi_lookup_a.patch \
"
file://ofono.conf \
file://0001-provision-allow-duplicate-entries-from-mbpi_lookup_a.patch \
"
install -m 0644 ${WORKDIR}/ofono.conf ${D}${sysconfdir}/dbus-1/system.d/ofono.conf
}
install -m 0644 ${WORKDIR}/ofono.conf ${D}${sysconfdir}/dbus-1/system.d/ofono.conf
}
EXTRA_OECONF = "--enable-driver-detach"
EXTRA_OECONF = "--enable-driver-detach"
# remove included temporary path from pc file due to pass-through of OE CFLAGS
# debug-prefix-map
# See: http://lists.openembedded.org/pipermail/openembedded-devel/2016-May/107456.html
sed -i -e "s# -fdebug-prefix-map=.*##g;s# -fmacro-prefix-map=.*##g" librtlsdr.pc
}
# remove included temporary path from pc file due to pass-through of OE CFLAGS
# debug-prefix-map
# See: http://lists.openembedded.org/pipermail/openembedded-devel/2016-May/107456.html
sed -i -e "s# -fdebug-prefix-map=.*##g;s# -fmacro-prefix-map=.*##g" librtlsdr.pc
}
install -D -m 0644 ${S}/rtl-sdr.rules ${D}${sysconfdir}/udev/rules.d/55-rtl-sdr.rules
sed -i 's/MODE:="0666"/GROUP="audio", MODE="0660", SECLABEL{smack}="*"/' \
${D}${sysconfdir}/udev/rules.d/55-rtl-sdr.rules
install -D -m 0644 ${S}/rtl-sdr.rules ${D}${sysconfdir}/udev/rules.d/55-rtl-sdr.rules
sed -i 's/MODE:="0666"/GROUP="audio", MODE="0660", SECLABEL{smack}="*"/' \
${D}${sysconfdir}/udev/rules.d/55-rtl-sdr.rules
-FILESEXTRAPATHS_append := ":${THISDIR}/dbus"
+FILESEXTRAPATHS:append := ":${THISDIR}/dbus"
SRC_URI += "file://dbus.service \
file://dbus.socket \
SRC_URI += "file://dbus.service \
file://dbus.socket \
if [ "${PN}" != "nativesdk-dbus" ]; then
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -m 644 -p -D ${WORKDIR}/dbus.service ${D}${systemd_user_unitdir}/dbus.service
if [ "${PN}" != "nativesdk-dbus" ]; then
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -m 644 -p -D ${WORKDIR}/dbus.service ${D}${systemd_user_unitdir}/dbus.service
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/dbus.*', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/user@.service.d/dbus_env.conf', '', d)} \
"
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/dbus.*', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/user@.service.d/dbus_env.conf', '', d)} \
"
-FILESEXTRAPATHS_prepend := "${THISDIR}/libdbus-c++:"
-SRC_URI_append = " file://dbus-c++-threading.patch"
+FILESEXTRAPATHS:prepend := "${THISDIR}/libdbus-c++:"
+SRC_URI:append = " file://dbus-c++-threading.patch"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-SRC_URI_append = " file://psplash-colors.h"
+SRC_URI:append = " file://psplash-colors.h"
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
-do_configure_append () {
+do_configure:append () {
cp -f ${WORKDIR}/psplash-colors.h ${S}
}
cp -f ${WORKDIR}/psplash-colors.h ${S}
}
-FILES_${PN} += "${systemd_unitdir}"
+FILES:${PN} += "${systemd_unitdir}"
-RDEPENDS_${PN} += "bash"
+RDEPENDS:${PN} += "bash"
-RDEPENDS_${PN} += "systemd"
+RDEPENDS:${PN} += "systemd"
-FILES_${PN} += "${systemd_system_unitdir}"
+FILES:${PN} += "${systemd_system_unitdir}"
-RDEPENDS_${PN} += "systemd"
+RDEPENDS:${PN} += "systemd"
-OECMAKE_CXX_FLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
+OECMAKE_CXX_FLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
libqtappfw \
libafbwsc \
qlibhomescreen \
libqtappfw \
libafbwsc \
qlibhomescreen \
inherit cmake pkgconfig aglwgt
inherit cmake pkgconfig aglwgt
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
inherit pkgconfig cmake_qt5 aglwgt
inherit pkgconfig cmake_qt5 aglwgt
qtquickcontrols \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
qtquickcontrols \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
inherit pkgconfig cmake_qt5 aglwgt
inherit pkgconfig cmake_qt5 aglwgt
qtquickcontrols \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
qtquickcontrols \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
inherit cmake pkgconfig aglwgt
inherit cmake pkgconfig aglwgt
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
inherit cmake_qt5 pkgconfig aglwgt
inherit cmake_qt5 pkgconfig aglwgt
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
install -m 0644 ${WORKDIR}/roles.db ${D}${sysconfdir}/xdg/windowmanager/roles.db
}
install -m 0644 ${WORKDIR}/roles.db ${D}${sysconfdir}/xdg/windowmanager/roles.db
}
-#FILES_${PN} += "${sysconfdir}/*"
+#FILES:${PN} += "${sysconfdir}/*"
libqtappfw \
agl-service-signal-composer \
"
libqtappfw \
agl-service-signal-composer \
"
PV = "1.0+git${SRCPV}"
S = "${WORKDIR}/git"
PV = "1.0+git${SRCPV}"
S = "${WORKDIR}/git"
-PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
+PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
-OE_QMAKE_CXXFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
+OE_QMAKE_CXXFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
inherit qmake5 systemd pkgconfig aglwgt
inherit qmake5 systemd pkgconfig aglwgt
-PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
+PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
-OE_QMAKE_CXXFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
+OE_QMAKE_CXXFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
libqtappfw \
agl-service-audiomixer \
agl-service-bluetooth \
libqtappfw \
agl-service-audiomixer \
agl-service-bluetooth \
-RDEPENDS_${PN} = "agl-service-hvac libqtappfw"
+RDEPENDS:${PN} = "agl-service-hvac libqtappfw"
# PV needs to be modified with SRCPV to work AUTOREV correctly
PV = "0.0+git${SRCPV}"
# PV needs to be modified with SRCPV to work AUTOREV correctly
PV = "0.0+git${SRCPV}"
-PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
+PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
do_install() {
install -d ${D}/usr/AGL/${PN}
do_install() {
install -d ${D}/usr/AGL/${PN}
install -m 0644 ${S}/inputeventmanager/conf/InputEventManager.service ${D}${systemd_user_unitdir}
}
install -m 0644 ${S}/inputeventmanager/conf/InputEventManager.service ${D}${systemd_user_unitdir}
}
-FILES_${PN} += "/usr/AGL/${PN}/ ${systemd_user_unitdir}"
-FILES_${PN}-dbg += "/usr/AGL/${PN}/.debug"
+FILES:${PN} += "/usr/AGL/${PN}/ ${systemd_user_unitdir}"
+FILES:${PN}-dbg += "/usr/AGL/${PN}/.debug"
inherit qmake5 systemd pkgconfig aglwgt
inherit qmake5 systemd pkgconfig aglwgt
-PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
+PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
-RDEPENDS_${PN} = "agl-service-homescreen"
+RDEPENDS:${PN} = "agl-service-homescreen"
-RDEPENDS_${PN} += "agl-service-mediaplayer libqtappfw"
+RDEPENDS:${PN} += "agl-service-mediaplayer libqtappfw"
-RDEPENDS_${PN} += "agl-service-bluetooth-map libqtappfw"
+RDEPENDS:${PN} += "agl-service-bluetooth-map libqtappfw"
-OECMAKE_CXX_FLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
+OECMAKE_CXX_FLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}"
-RDEPENDS_${PN} = "agl-service-audiomixer"
-RPROVIDES_${PN} += "virtual/mixer"
+RDEPENDS:${PN} = "agl-service-audiomixer"
+RPROVIDES:${PN} += "virtual/mixer"
inherit qmake5 aglwgt pkgconfig
inherit qmake5 aglwgt pkgconfig
qtlocation \
flite \
libqtappfw \
qtlocation \
flite \
libqtappfw \
agl-service-navigation \
"
agl-service-navigation \
"
-RPROVIDES_${PN} = "virtual/navigation"
+RPROVIDES:${PN} = "virtual/navigation"
inherit cmake_qt5 pkgconfig aglwgt
inherit cmake_qt5 pkgconfig aglwgt
-RDEPENDS_${PN} = "qtbase libqtappfw"
+RDEPENDS:${PN} = "qtbase libqtappfw"
inherit qmake5 aglwgt pkgconfig
inherit qmake5 aglwgt pkgconfig
qtlocation \
ondemandnavi-config \
agl-service-navigation \
qtlocation \
ondemandnavi-config \
agl-service-navigation \
agl-service-telephony \
agl-service-bluetooth-pbap \
libqtappfw \
agl-service-telephony \
agl-service-bluetooth-pbap \
libqtappfw \
-do_install_append_class-target() {
+do_install:append:class-target() {
install -d ${D}/${sysconfdir}/afm/unit.env.d
echo "QT_QUICK_CONTROLS_STYLE=AGL" > ${D}${sysconfdir}/afm/unit.env.d/qtquickcontrols2-style
}
install -d ${D}/${sysconfdir}/afm/unit.env.d
echo "QT_QUICK_CONTROLS_STYLE=AGL" > ${D}${sysconfdir}/afm/unit.env.d/qtquickcontrols2-style
}
-FILES_${PN} += "${OE_QMAKE_PATH_QML}/QtQuick/Controls.2/AGL/*"
+FILES:${PN} += "${OE_QMAKE_PATH_QML}/QtQuick/Controls.2/AGL/*"
qtquickcontrols-qmlplugins \
qtquickcontrols2-qmlplugins \
qtsvg-plugins \
qtquickcontrols-qmlplugins \
qtquickcontrols2-qmlplugins \
qtsvg-plugins \
-FILES_${PN} += "${OE_QMAKE_PATH_QML}/AGL/Demo/Controls/*"
+FILES:${PN} += "${OE_QMAKE_PATH_QML}/AGL/Demo/Controls/*"
qtquickcontrols-qmlplugins \
qtquickcontrols2-qmlplugins \
qtsvg-plugins \
qtquickcontrols-qmlplugins \
qtquickcontrols2-qmlplugins \
qtsvg-plugins \
# ALS, CES, FOSDEM available
AGL_RADIO_PRESETS_LOCALE ?= "CES"
# ALS, CES, FOSDEM available
AGL_RADIO_PRESETS_LOCALE ?= "CES"
install -d ${D}${sysconfdir}/xdg/AGL
install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-CES.conf
install -m 0644 ${WORKDIR}/presets-ALS.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-ALS.conf
install -d ${D}${sysconfdir}/xdg/AGL
install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-CES.conf
install -m 0644 ${WORKDIR}/presets-ALS.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-ALS.conf
install -m 0644 ${WORKDIR}/presets-${AGL_RADIO_PRESETS_LOCALE}.conf ${D}${sysconfdir}/xdg/AGL/radio-presets.conf
}
install -m 0644 ${WORKDIR}/presets-${AGL_RADIO_PRESETS_LOCALE}.conf ${D}${sysconfdir}/xdg/AGL/radio-presets.conf
}
-FILES_${PN} += "${sysconfdir}/xdg/AGL/*"
+FILES:${PN} += "${sysconfdir}/xdg/AGL/*"
-RDEPENDS_${PN} += "agl-service-radio libqtappfw"
+RDEPENDS:${PN} += "agl-service-radio libqtappfw"
qt-qrcode \
agl-service-bluetooth \
agl-service-network \
qt-qrcode \
agl-service-bluetooth \
agl-service-network \
install -m 0755 ${WORKDIR}/simple_can_simulator.py ${D}${sbindir}
}
install -m 0755 ${WORKDIR}/simple_can_simulator.py ${D}${sbindir}
}
-RDEPENDS_${PN} = "python3"
+RDEPENDS:${PN} = "python3"
-RDEPENDS_${PN} += "agl-service-taskmanager libqtappfw"
+RDEPENDS:${PN} += "agl-service-taskmanager libqtappfw"
agl-service-can-low-level \
agl-service-gps \
agl-service-network \
agl-service-can-low-level \
agl-service-gps \
agl-service-network \
inherit cmake pkgconfig aglwgt
inherit cmake pkgconfig aglwgt
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
-RDEPENDS_${PN} += "${PYTHON_PN}-asyncio ${PYTHON_PN}-cryptography"
+RDEPENDS:${PN} += "${PYTHON_PN}-asyncio ${PYTHON_PN}-cryptography"
-SYSTEMD_SERVICE_${PN} = "run-agl-postinsts.service"
+SYSTEMD_SERVICE:${PN} = "run-agl-postinsts.service"
SYSTEMD_SERVICE_AFTER ?= "dbus.service cynagora.service"
SYSTEMD_SERVICE_AFTER ?= "dbus.service cynagora.service"
-SYSTEMD_SERVICE_AFTER_append = " afm-system-daemon.service"
+SYSTEMD_SERVICE_AFTER:append = " afm-system-daemon.service"
${sysconfdir}/afm/unit.env.d \
"
${sysconfdir}/afm/unit.env.d \
"
install -d ${D}/etc
install -m 644 ${WORKDIR}/kms.conf ${D}/etc
}
install -d ${D}/etc
install -m 644 ${WORKDIR}/kms.conf ${D}/etc
}
SRCREV = "0d65d54ba63508c0ef545d02e94d5702f9c8ecb3"
S = "${WORKDIR}/git"
SRCREV = "0d65d54ba63508c0ef545d02e94d5702f9c8ecb3"
S = "${WORKDIR}/git"
-RDEPENDS_${PN} = "agl-service-homescreen"
+RDEPENDS:${PN} = "agl-service-homescreen"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
DEPENDS = "qtbase libhomescreen"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
DEPENDS = "qtbase libhomescreen"
-RDEPENDS_${PN} = "libhomescreen"
+RDEPENDS:${PN} = "libhomescreen"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-DEPENDS_append = " fontforge-native"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+DEPENDS:append = " fontforge-native"
# From the orginal work located at https://aur.archlinux.org/packages/ttf-dejavu-emojiless/
# From the orginal work located at https://aur.archlinux.org/packages/ttf-dejavu-emojiless/
-SRC_URI_append = " file://cleaner.py"
+SRC_URI:append = " file://cleaner.py"
for TTF in ${S}/*.ttf; do
fontforge -script ${WORKDIR}/cleaner.py ${TTF}
done
for TTF in ${S}/*.ttf; do
fontforge -script ${WORKDIR}/cleaner.py ${TTF}
done
-FILESEXTRAPATHS_prepend := "${THISDIR}/weston-init:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/weston-init:"
WESTON_USE_PIXMAN ??= "0"
WESTONSTART ??= "${AGL_DEFAULT_WESTONSTART} ${WESTONARGS}"
WESTON_USE_PIXMAN ??= "0"
WESTONSTART ??= "${AGL_DEFAULT_WESTONSTART} ${WESTONARGS}"
-WESTONSTART_append = " ${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", " --log=${DISPLAY_XDG_RUNTIME_DIR}/compositor.log", "",d)}"
-WESTONSTART_append = " ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", " --debug", "",d)}"
-WESTONSTART_append = " ${@bb.utils.contains("WESTON_USE_PIXMAN", "1", " --use-pixman", "",d)}"
+WESTONSTART:append = " ${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", " --log=${DISPLAY_XDG_RUNTIME_DIR}/compositor.log", "",d)}"
+WESTONSTART:append = " ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", " --debug", "",d)}"
+WESTONSTART:append = " ${@bb.utils.contains("WESTON_USE_PIXMAN", "1", " --use-pixman", "",d)}"
# Systemd name of DRM device to have weston/agl-compositor startup depend
# upon, if required. Currently only x86-64 seems to need a dependency to
# Systemd name of DRM device to have weston/agl-compositor startup depend
# upon, if required. Currently only x86-64 seems to need a dependency to
file://zz-video.rules.in \
"
file://zz-video.rules.in \
"
-WIFILES_append_imx = " \
+WIFILES:append:imx = " \
file://zz-dri-imx.rules.in \
"
file://zz-dri-imx.rules.in \
"
-SRC_URI_append = " ${WIFILES}"
+SRC_URI:append = " ${WIFILES}"
# Remove upstream weston udev rules just to be safe
rm -f ${D}${sysconfdir}/udev/rules.d/71-weston-drm.rules
# Remove upstream weston udev rules just to be safe
rm -f ${D}${sysconfdir}/udev/rules.d/71-weston-drm.rules
${libdir}/tmpfiles.d/ \
${systemd_system_unitdir}/weston@.service.d/ \
"
${libdir}/tmpfiles.d/ \
${systemd_system_unitdir}/weston@.service.d/ \
"
-FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux:"
# Enable assorted USB device support for demo systems
AGL_KCONFIG_FRAGMENTS += " \
# Enable assorted USB device support for demo systems
AGL_KCONFIG_FRAGMENTS += " \
AGL_KCONFIG_FRAGMENTS += "disable_most.cfg"
# Enable some things on qemuarm64 so MOST drivers will build and load.
AGL_KCONFIG_FRAGMENTS += "disable_most.cfg"
# Enable some things on qemuarm64 so MOST drivers will build and load.
-AGL_KCONFIG_FRAGMENTS_append_qemuarm64 = " most_deps.cfg"
+AGL_KCONFIG_FRAGMENTS:append:qemuarm64 = " most_deps.cfg"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
file://0002-src-most-add-auto-conf-feature.patch \
file://0003-core-remove-kernel-log-for-MBO-status.patch \
file://0004-most-video-set-device_caps.patch \
file://0002-src-most-add-auto-conf-feature.patch \
file://0003-core-remove-kernel-log-for-MBO-status.patch \
file://0004-most-video-set-device_caps.patch \
file://0001_update_makefile.patch;pnum=2 \
file://0002_fix_null_operation_check.patch;pnum=2 \
file://0003-Allow-recent-kernels-newer-4.11.x-to-build.patch;pnum=2 \
file://0001_update_makefile.patch;pnum=2 \
file://0002_fix_null_operation_check.patch;pnum=2 \
file://0003-Allow-recent-kernels-newer-4.11.x-to-build.patch;pnum=2 \
file://lin_config.conf \
"
file://lin_config.conf \
"
-KERNEL_MODULE_AUTOLOAD_append = " sllin"
-KERNEL_MODULE_PROBECONF_append = " sllin"
+KERNEL_MODULE_AUTOLOAD:append = " sllin"
+KERNEL_MODULE_PROBECONF:append = " sllin"
SLLINBAUDRATE ??= "9600"
module_conf_sllin = "options sllin baudrate=${SLLINBAUDRATE}"
SLLINBAUDRATE ??= "9600"
module_conf_sllin = "options sllin baudrate=${SLLINBAUDRATE}"
-SYSTEMD_SERVICE_${PN} = "sllin-demo.service"
+SYSTEMD_SERVICE:${PN} = "sllin-demo.service"
install -d 644 ${D}/${bindir}
install -m 755 ${WORKDIR}/start_lin_demo.sh ${D}/${bindir}/start_lin_demo.sh
install -d ${D}${systemd_system_unitdir}
install -d 644 ${D}/${bindir}
install -m 755 ${WORKDIR}/start_lin_demo.sh ${D}/${bindir}/start_lin_demo.sh
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/lin_config.conf ${D}${sysconfdir}/
}
install -m 0644 ${WORKDIR}/lin_config.conf ${D}${sysconfdir}/
}
-FILES_${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf"
+FILES:${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf"
-RDEPENDS_${PN} += "lin-config"
+RDEPENDS:${PN} += "lin-config"
install -m 0644 -p ${S}/*.htsvoice ${D}/${datadir}/Voice/us/
}
install -m 0644 -p ${S}/*.htsvoice ${D}/${datadir}/Voice/us/
}
-FILES_${PN} += " ${datadir}/Voice/us/*.htsvoice "
+FILES:${PN} += " ${datadir}/Voice/us/*.htsvoice "
-RDEPENDS_${PN} += " flite-voicedata "
+RDEPENDS:${PN} += " flite-voicedata "
inherit autotools-brokensep
inherit autotools-brokensep
-FILESEXTRAPATHS_prepend := "${THISDIR}/gstreamer1.0-plugins-bad:"
-SRC_URI_append = " file://0001-gst-wayland-Install-wayland-header-from-gstwayland-l.patch"
+FILESEXTRAPATHS:prepend := "${THISDIR}/gstreamer1.0-plugins-bad:"
+SRC_URI:append = " file://0001-gst-wayland-Install-wayland-header-from-gstwayland-l.patch"
# libv4l2 is useful for making more efficient use of cameras via v4l2src.
# libv4l2 is useful for making more efficient use of cameras via v4l2src.
-PACKAGECONFIG_append = " libv4l2"
+PACKAGECONFIG:append = " libv4l2"
# Disable everything but the roygalty-free formats
PACKAGECONFIG = "ogg flac wave m3u pls jpeg png"
# Disable everything but the roygalty-free formats
PACKAGECONFIG = "ogg flac wave m3u pls jpeg png"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://lightmediascanner.service \
file://plugin-ogg-fix-chucksize-issue.patch \
SRC_URI += "file://lightmediascanner.service \
file://plugin-ogg-fix-chucksize-issue.patch \
file://dbus-lightmediascanner.conf \
"
file://dbus-lightmediascanner.conf \
"
-CFLAGS_append = " -D_FILE_OFFSET_BITS=64"
+CFLAGS:append = " -D_FILE_OFFSET_BITS=64"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "lightmediascanner.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_SERVICE:${PN} = "lightmediascanner.service"
+SYSTEMD_AUTO_ENABLE:${PN} = "enable"
# Install LMS systemd service
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
# Install LMS systemd service
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/dbus-lightmediascanner.conf ${D}/etc/dbus-1/system.d/org.lightmediascanner.conf
}
install -m 0644 ${WORKDIR}/dbus-lightmediascanner.conf ${D}/etc/dbus-1/system.d/org.lightmediascanner.conf
}
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/lightmediascanner.service', '', d)} \
"
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/lightmediascanner.service', '', d)} \
"
PACKAGECONFIG[mp4] = "--enable-mp4,--disable-mp4,libmp4v2"
# add support MP3 because of the format of music files for AGL CES/ALS2017 Demo
PACKAGECONFIG[mp4] = "--enable-mp4,--disable-mp4,libmp4v2"
# add support MP3 because of the format of music files for AGL CES/ALS2017 Demo
-PACKAGECONFIG_append = " id3 mp4"
+PACKAGECONFIG:append = " id3 mp4"
# add required character sets for id3 tag scanning
# add required character sets for id3 tag scanning
-RDEPENDS_${PN}_append = " glibc-gconv-utf-16 glibc-gconv-iso8859-1"
+RDEPENDS:${PN}:append = " glibc-gconv-utf-16 glibc-gconv-iso8859-1"
PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg"
PACKAGECONFIG[png] = "--enable-png,--disable-png"
PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg"
PACKAGECONFIG[png] = "--enable-png,--disable-png"
# Install "test" binary for corresponding package
install -d ${D}/${bindir}
install -m 755 ${B}/src/bin/.libs/test ${D}/${bindir}/test-lms
# Install "test" binary for corresponding package
install -d ${D}/${bindir}
install -m 755 ${B}/src/bin/.libs/test ${D}/${bindir}/test-lms
rm -f ${D}/${libdir}/${PN}/plugins/*.la
}
rm -f ${D}/${libdir}/${PN}/plugins/*.la
}
-FILES_${PN} += "${datadir}/dbus-1"
-FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug"
+FILES:${PN} += "${datadir}/dbus-1"
+FILES:${PN}-dbg += "${libdir}/${PN}/plugins/.debug"
-PACKAGES_prepend = "${PN}-test "
-FILES_${PN}-test_prepend = "${bindir}/test-lms "
+PACKAGES:prepend = "${PN}-test "
+FILES:${PN}-test:prepend = "${bindir}/test-lms "
-ALLOW_EMPTY_${PN}-meta = "1"
+ALLOW_EMPTY:${PN}-meta = "1"
PACKAGES_DYNAMIC = "${PN}-plugin-*"
PACKAGES_DYNAMIC = "${PN}-plugin-*"
-python populate_packages_prepend () {
+python populate_packages:prepend () {
lms_libdir = d.expand('${libdir}/${PN}')
pkgs = []
pkgs += do_split_packages(d, oe.path.join(lms_libdir, "plugins"), '^(.*)\.so$', d.expand('${PN}-plugin-%s'), 'LightMediaScanner plugin for %s', prepend=True, extra_depends=d.expand('${PN}'))
metapkg = d.getVar('PN') + '-meta'
lms_libdir = d.expand('${libdir}/${PN}')
pkgs = []
pkgs += do_split_packages(d, oe.path.join(lms_libdir, "plugins"), '^(.*)\.so$', d.expand('${PN}-plugin-%s'), 'LightMediaScanner plugin for %s', prepend=True, extra_depends=d.expand('${PN}'))
metapkg = d.getVar('PN') + '-meta'
- d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs))
+ d.setVar('RDEPENDS:' + metapkg, ' '.join(pkgs))
install -m 0644 -p ${S}/Voice/mei/*.htsvoice ${D}/${datadir}/Voice/mei/
}
install -m 0644 -p ${S}/Voice/mei/*.htsvoice ${D}/${datadir}/Voice/mei/
}
-FILES_${PN} += " ${datadir}/Voice/mei/*.htsvoice "
+FILES:${PN} += " ${datadir}/Voice/mei/*.htsvoice "
file://fix-mecab-tool.patch \
"
file://fix-mecab-tool.patch \
"
-SRC_URI_class-native = "\
+SRC_URI:class-native = "\
http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
"
http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
"
SRC_URI[sha256sum] = "8ed79238d825fee1d9e0a1c6c8a89e2cc707189be1caa3fa79e8eb72436079d7"
DEPENDS = " hts-engine openjtalk-native "
SRC_URI[sha256sum] = "8ed79238d825fee1d9e0a1c6c8a89e2cc707189be1caa3fa79e8eb72436079d7"
DEPENDS = " hts-engine openjtalk-native "
-DEPENDS_class-native = " hts-engine-native "
+DEPENDS:class-native = " hts-engine-native "
-RDEPENDS_${PN} = " openjtalk-voicedata "
-RDEPENDS_${PN}_class-native = " "
+RDEPENDS:${PN} = " openjtalk-voicedata "
+RDEPENDS:${PN}:class-native = " "
inherit autotools-brokensep
inherit autotools-brokensep
--with-hts-engine-library-path=${PKG_CONFIG_SYSROOT_DIR}/usr/lib \
"
--with-hts-engine-library-path=${PKG_CONFIG_SYSROOT_DIR}/usr/lib \
"
-EXTRA_OECONF_class-native = " \
+EXTRA_OECONF:class-native = " \
--with-hts-engine-header-path=${includedir} \
--with-hts-engine-library-path=${libdir} \
"
--with-hts-engine-header-path=${includedir} \
--with-hts-engine-library-path=${libdir} \
"
-do_install_append_class-native() {
+do_install:append:class-native() {
install -m 755 mecab/src/mecab-dict-index ${D}${bindir}
}
install -m 755 mecab/src/mecab-dict-index ${D}${bindir}
}
-FILES_${PN} += " ${datadir}/dic/* "
+FILES:${PN} += " ${datadir}/dic/* "
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://geoclue.conf.agl"
PACKAGECONFIG = "nmea lib"
SRC_URI += "file://geoclue.conf.agl"
PACKAGECONFIG = "nmea lib"
install -D -m 0644 ${WORKDIR}/geoclue.conf.agl ${D}${sysconfdir}/geoclue/geoclue.conf
}
install -D -m 0644 ${WORKDIR}/geoclue.conf.agl ${D}${sysconfdir}/geoclue/geoclue.conf
}
-FILESEXTRAPATHS_prepend := "${THISDIR}/gpsd:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/gpsd:"
SRC_URI += "file://sw-device-hook"
SRC_URI += "file://sw-device-hook"
# Install device-hook script for starting NMEA output on Sierra Wireless modems
install -d ${D}${sysconfdir}/gpsd
install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook
# Install device-hook script for starting NMEA output on Sierra Wireless modems
install -d ${D}${sysconfdir}/gpsd
install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook
-SYSTEMD_SERVICE_${PN}_append = " gpsdctl@.service"
+SYSTEMD_SERVICE:${PN}:append = " gpsdctl@.service"
-RPROVIDES_${PN}-conf_append = " virtual/gpsd-conf"
+RPROVIDES:${PN}-conf:append = " virtual/gpsd-conf"
# use the systemd compatible gpsd.rules
install -d ${D}/${sysconfdir}/udev/rules.d
install -m 0644 ${S}/gpsd.rules ${D}/${sysconfdir}/udev/rules.d/60-gpsd.rules
# use the systemd compatible gpsd.rules
install -d ${D}/${sysconfdir}/udev/rules.d
install -m 0644 ${S}/gpsd.rules ${D}/${sysconfdir}/udev/rules.d/60-gpsd.rules
-IMAGE_FEATURES_append = " dev-pkgs"
-IMAGE_INSTALL_append = " kernel-dev kernel-devsrc"
+IMAGE_FEATURES:append = " dev-pkgs"
+IMAGE_INSTALL:append = " kernel-dev kernel-devsrc"
inherit populate_sdk populate_sdk_qt5
inherit populate_sdk populate_sdk_qt5
# Use TOOLCHAIN_HOST_TASK instead of adding to the packagegroup
# wayland-scanner is in nativesdk-wayland-dev !
# option: add also nativesdk-qtwayland-tools
# Use TOOLCHAIN_HOST_TASK instead of adding to the packagegroup
# wayland-scanner is in nativesdk-wayland-dev !
# option: add also nativesdk-qtwayland-tools
-TOOLCHAIN_HOST_TASK_append = " nativesdk-wayland nativesdk-wayland-dev"
+TOOLCHAIN_HOST_TASK:append = " nativesdk-wayland nativesdk-wayland-dev"
-TOOLCHAIN_HOST_TASK_append = " nativesdk-perl-modules "
+TOOLCHAIN_HOST_TASK:append = " nativesdk-perl-modules "
-IMAGE_FEATURES_append = ""
+IMAGE_FEATURES:append = ""
# add packages for cluster demo platform (include demo apps) here
# add packages for cluster demo platform (include demo apps) here
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-cluster-demo-platform \
${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "cluster-dashboard-demo-config", "", d)} \
${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \
packagegroup-agl-cluster-demo-platform \
${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "cluster-dashboard-demo-config", "", d)} \
${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \
-IMAGE_FEATURES_append = " \
+IMAGE_FEATURES:append = " \
"
# add packages for cluster demo qtcompositor
"
# add packages for cluster demo qtcompositor
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-cluster-demo-qtcompositor \
"
packagegroup-agl-cluster-demo-qtcompositor \
"
-IMAGE_FEATURES_append = " \
+IMAGE_FEATURES:append = " \
"
# add packages for demo platform (include demo apps) here
"
# add packages for demo platform (include demo apps) here
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-demo-platform-html5 \
"
packagegroup-agl-demo-platform-html5 \
"
require agl-demo-platform.bb
require agl-demo-platform.bb
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-ivi-common-test \
packagegroup-agl-demo-platform-qa \
"
packagegroup-ivi-common-test \
packagegroup-agl-demo-platform-qa \
"
# The demo will not work on the pi3 due to the gfx memory
# and the applications requiring FHD (SPEC-390)
# The demo will not work on the pi3 due to the gfx memory
# and the applications requiring FHD (SPEC-390)
-COMPATIBLE_MACHINE_raspberrypi3 = "(^$)"
+COMPATIBLE_MACHINE:raspberrypi3 = "(^$)"
# Always include the test widgets
# Always include the test widgets
-IMAGE_FEATURES_append = " agl-test-wgt"
+IMAGE_FEATURES:append = " agl-test-wgt"
# add packages for demo platform (include demo apps) here
# add packages for demo platform (include demo apps) here
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-demo-platform \
distro-build-manifest \
"
packagegroup-agl-demo-platform \
distro-build-manifest \
"
-IMAGE_INSTALL_append = "\
+IMAGE_INSTALL:append = "\
-IMAGE_INSTALL_append = "\
+IMAGE_INSTALL:append = "\
-IMAGE_INSTALL_append = "\
+IMAGE_INSTALL:append = "\
packagegroup-agl-profile-graphical-html5 \
"
packagegroup-agl-profile-graphical-html5 \
"
# Use TOOLCHAIN_HOST_TASK instead of adding to the packagegroup
# wayland-scanner is in nativesdk-wayland-dev !
# option: add also nativesdk-qtwayland-tools
# Use TOOLCHAIN_HOST_TASK instead of adding to the packagegroup
# wayland-scanner is in nativesdk-wayland-dev !
# option: add also nativesdk-qtwayland-tools
-TOOLCHAIN_HOST_TASK_append = " nativesdk-wayland nativesdk-wayland-dev"
+TOOLCHAIN_HOST_TASK:append = " nativesdk-wayland nativesdk-wayland-dev"
-TOOLCHAIN_HOST_TASK_append = " nativesdk-perl-modules "
+TOOLCHAIN_HOST_TASK:append = " nativesdk-perl-modules "
# Add qtwaylandscanner to the SDK
# Add qtwaylandscanner to the SDK
-TOOLCHAIN_HOST_TASK_append = " nativesdk-qtwayland-tools "
+TOOLCHAIN_HOST_TASK:append = " nativesdk-qtwayland-tools "
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-test \
packagegroup-ivi-common-test \
"
packagegroup-agl-test \
packagegroup-ivi-common-test \
"
require recipes-platform/images/agl-image-minimal.inc
require recipes-platform/images/agl-image-minimal.inc
-IMAGE_INSTALL_append = "\
+IMAGE_INSTALL:append = "\
packagegroup-agl-image-ivi \
packagegroup-agl-ivi-services \
agl-service-homescreen \
packagegroup-agl-image-ivi \
packagegroup-agl-ivi-services \
agl-service-homescreen \
-IMAGE_INSTALL_append = "\
+IMAGE_INSTALL:append = "\
-IMAGE_FEATURES_append = " dev-pkgs"
-IMAGE_INSTALL_append = " kernel-dev kernel-devsrc"
+IMAGE_FEATURES:append = " dev-pkgs"
+IMAGE_INSTALL:append = " kernel-dev kernel-devsrc"
# can failed (randomly).
addtask do_populate_sdk after do_rootfs
# can failed (randomly).
addtask do_populate_sdk after do_rootfs
-TOOLCHAIN_HOST_TASK_append = " nativesdk-perl-modules "
+TOOLCHAIN_HOST_TASK:append = " nativesdk-perl-modules "
-IMAGE_FEATURES_append = " \
+IMAGE_FEATURES:append = " \
-IMAGE_INSTALL_append = " \
+IMAGE_INSTALL:append = " \
packagegroup-agl-telematics-demo-platform \
"
packagegroup-agl-telematics-demo-platform \
"
-RDEPENDS_${PN} =+ "nativesdk-af-main-tools nativesdk-af-binder-devtools"
-RDEPENDS_${PN} += "nativesdk-low-level-can-generator \
+RDEPENDS:${PN} =+ "nativesdk-af-main-tools nativesdk-af-binder-devtools"
+RDEPENDS:${PN} += "nativesdk-low-level-can-generator \
nativesdk-cmake-apps-module \
nativesdk-cmake-apps-module-doc \
"
nativesdk-cmake-apps-module \
nativesdk-cmake-apps-module-doc \
"
-RDEPENDS_${PN}_append = " systemd-agl-sync run-agl-postinsts"
+RDEPENDS:${PN}:append = " systemd-agl-sync run-agl-postinsts"
packagegroup-agl-appfw-html5 \
"
packagegroup-agl-appfw-html5 \
"
chromium-browser-service \
wam \
"
chromium-browser-service \
wam \
"
packagegroup-agl-appfw-native-qt5 \
"
packagegroup-agl-appfw-native-qt5 \
"
-#ALLOW_EMPTY_${PN} = "1"
+#ALLOW_EMPTY:${PN} = "1"
qtbase \
qtbase-dev \
qtbase-plugins \
qtbase \
qtbase-dev \
qtbase-plugins \
packagegroup-agl-cluster-demo-platform \
"
packagegroup-agl-cluster-demo-platform \
"
packagegroup-agl-profile-cluster-qt5 \
packagegroup-agl-ttf-fonts \
packagegroup-agl-source-han-sans-ttf-fonts \
packagegroup-agl-profile-cluster-qt5 \
packagegroup-agl-ttf-fonts \
packagegroup-agl-source-han-sans-ttf-fonts \
agl-service-signal-composer \
"
agl-service-signal-composer \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
hmi-debug \
can-utils \
linux-firmware-ralink \
hmi-debug \
can-utils \
linux-firmware-ralink \
packagegroup-agl-cluster-demo-qtcompositor \
"
packagegroup-agl-cluster-demo-qtcompositor \
"
packagegroup-agl-profile-cluster-qtcompositor \
packagegroup-agl-ttf-fonts \
packagegroup-agl-networking \
packagegroup-agl-profile-cluster-qtcompositor \
packagegroup-agl-ttf-fonts \
packagegroup-agl-networking \
cluster-gauges-qtcompositor \
"
cluster-gauges-qtcompositor \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
libva-utils \
linux-firmware-ralink \
can-utils \
libva-utils \
linux-firmware-ralink \
can-utils \
-RDEPENDS_${PN}_append = "\
+RDEPENDS:${PN}:append = "\
pyagl \
gcov \
gcov-symlinks \
pyagl \
gcov \
gcov-symlinks \
packagegroup-agl-demo-platform-html5 \
"
packagegroup-agl-demo-platform-html5 \
"
packagegroup-agl-image-ivi \
packagegroup-agl-profile-graphical-html5 \
packagegroup-agl-demo \
packagegroup-agl-image-ivi \
packagegroup-agl-profile-graphical-html5 \
packagegroup-agl-demo \
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
weston-ini-conf-landscape \
${AGL_APPS} \
"
weston-ini-conf-landscape \
${AGL_APPS} \
"
packagegroup-agl-demo-platform-qa \
"
packagegroup-agl-demo-platform-qa \
"
packagegroup-agl-demo-platform-devel \
"
packagegroup-agl-demo-platform-devel \
"
packagegroup-agl-image-ivi \
"
packagegroup-agl-image-ivi \
"
packagegroup-agl-profile-graphical-qt5 \
packagegroup-hmi-framework \
packagegroup-agl-demo \
packagegroup-agl-profile-graphical-qt5 \
packagegroup-hmi-framework \
packagegroup-agl-demo \
QTAGLEXTRAS = " libqtappfw"
# add support for websocket in Qt and QML
QTAGLEXTRAS = " libqtappfw"
# add support for websocket in Qt and QML
-QTAGLEXTRAS_append = " qtwebsockets qtwebsockets-qmlplugins"
+QTAGLEXTRAS:append = " qtwebsockets qtwebsockets-qmlplugins"
#PREFERRED_PROVIDER_virtual/webruntime = "web-runtime"
# Cluster demo support.
#PREFERRED_PROVIDER_virtual/webruntime = "web-runtime"
# Cluster demo support.
# Preload only if agl-demo-preload is set
DEMO_PRELOAD = "${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", " ${DEMO_UNIT_CONF} poiapp-api-key", "",d)}"
# Preload only if agl-demo-preload is set
DEMO_PRELOAD = "${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", " ${DEMO_UNIT_CONF} poiapp-api-key", "",d)}"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
weston-ini-conf \
qtquickcontrols2-agl \
qtquickcontrols2-agl-style \
weston-ini-conf \
qtquickcontrols2-agl \
qtquickcontrols2-agl-style \
# Also, the navigation and mixer debug widgets are currently
# specified explicitly, as there's no simple way to derive their
# names from the virtual/ RPROVIDES at present.
# Also, the navigation and mixer debug widgets are currently
# specified explicitly, as there's no simple way to derive their
# names from the virtual/ RPROVIDES at present.
-RDEPENDS_${PN}-devel = " \
+RDEPENDS:${PN}-devel = " \
packagegroup-hmi-framework-devel \
dashboard-dbg \
hvac-dbg \
packagegroup-hmi-framework-devel \
dashboard-dbg \
hvac-dbg \
packagegroup-agl-demo-qt-examples \
"
packagegroup-agl-demo-qt-examples \
"
qt3d-examples \
qtbase-examples \
qtconnectivity-examples \
qt3d-examples \
qtbase-examples \
qtconnectivity-examples \
packagegroup-agl-demo \
"
packagegroup-agl-demo \
"
# MOST out-of-tree kernel drivers
#################################
# MOST out-of-tree kernel drivers
#################################
# setting DEMO_ENABLE_BTWILINK to "true" in local.conf / site.conf re-enables.
DEMO_ENABLE_BTWILINK ?= ""
DEMO_PLATFORM_CONF = ""
# setting DEMO_ENABLE_BTWILINK to "true" in local.conf / site.conf re-enables.
DEMO_ENABLE_BTWILINK ?= ""
DEMO_PLATFORM_CONF = ""
-DEMO_PLATFORM_CONF_append_ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}"
+DEMO_PLATFORM_CONF:append:ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}"
linux-firmware-ath9k \
linux-firmware-ralink \
can-utils \
linux-firmware-ath9k \
linux-firmware-ralink \
can-utils \
packagegroup-agl-graphical-services \
"
packagegroup-agl-graphical-services \
"
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'agl-service-mediaplayer', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'agl-service-radio', '', d)} \
"
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'agl-service-mediaplayer', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'agl-service-radio', '', d)} \
"
agl-compositor \
"
# appfw
agl-compositor \
"
# appfw
packagegroup-agl-image-ivi \
"
packagegroup-agl-image-ivi \
"
packagegroup-agl-image-minimal \
"
packagegroup-agl-image-minimal \
"
packagegroup-agl-ivi-connectivity \
packagegroup-agl-ivi-graphics \
packagegroup-agl-ivi-multimedia \
packagegroup-agl-ivi-navigation \
"
packagegroup-agl-ivi-connectivity \
packagegroup-agl-ivi-graphics \
packagegroup-agl-ivi-multimedia \
packagegroup-agl-ivi-navigation \
"
packagegroup-agl-ivi-identity \
packagegroup-agl-ivi-services \
"
packagegroup-agl-ivi-identity \
packagegroup-agl-ivi-services \
"
packagegroup-agl-ivi-connectivity \
"
packagegroup-agl-ivi-connectivity \
"
bluez5-obex \
${@bb.utils.contains("DISTRO_FEATURES", "3g", "libqmi", "", d)} \
rtl-sdr \
bluez5-obex \
${@bb.utils.contains("DISTRO_FEATURES", "3g", "libqmi", "", d)} \
rtl-sdr \
packagegroup-agl-ivi-graphics \
"
packagegroup-agl-ivi-graphics \
"
agl-service-data-persistence \
agl-service-identity-agent \
"
agl-service-data-persistence \
agl-service-identity-agent \
"
packagegroup-agl-ivi-multimedia \
"
packagegroup-agl-ivi-multimedia \
"
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
lightmediascanner-meta \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
lightmediascanner-meta \
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'packagegroup-pipewire', '', d)}\
"
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'packagegroup-pipewire', '', d)}\
"
packagegroup-agl-ivi-navigation \
"
packagegroup-agl-ivi-navigation \
"
gpsd \
geoclue \
${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'virtual/gpsd-conf', '', d)} \
gpsd \
geoclue \
${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'virtual/gpsd-conf', '', d)} \
packagegroup-agl-ivi-services \
"
packagegroup-agl-ivi-services \
"
agl-service-bluetooth \
agl-service-bluetooth-map \
agl-service-bluetooth-pbap \
agl-service-bluetooth \
agl-service-bluetooth-map \
agl-service-bluetooth-pbap \
packagegroup-agl-networking \
"
packagegroup-agl-networking \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
connman \
connman-client \
connman-tools \
connman \
connman-client \
connman-tools \
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-graphical-weston \
packagegroup-agl-appfw-native-qt5 \
"
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-graphical-weston \
packagegroup-agl-appfw-native-qt5 \
"
-RDEPENDS_profile-cluster-qt5 = "${PN}"
+RDEPENDS:profile-cluster-qt5 = "${PN}"
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-core-connectivity \
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-core-connectivity \
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
${QT_LITE} \
agl-login-manager \
"
${QT_LITE} \
agl-login-manager \
"
-RDEPENDS_profile-cluster-qt5 = "${PN}"
+RDEPENDS:profile-cluster-qt5 = "${PN}"
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-graphical-weston \
"
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
packagegroup-agl-graphical-weston \
"
-RDEPENDS_profile-cluster = "${PN}"
+RDEPENDS:profile-cluster = "${PN}"
profile-graphical-html5 \
"
profile-graphical-html5 \
"
packagegroup-agl-profile-graphical \
packagegroup-agl-appfw-html5 \
"
packagegroup-agl-profile-graphical \
packagegroup-agl-appfw-html5 \
"
-RDEPENDS_profile-graphical-html5 = "${PN}"
+RDEPENDS:profile-graphical-html5 = "${PN}"
profile-graphical-qt5 \
"
profile-graphical-qt5 \
"
packagegroup-agl-profile-graphical \
packagegroup-agl-appfw-native-qt5 \
"
packagegroup-agl-profile-graphical \
packagegroup-agl-appfw-native-qt5 \
"
-RDEPENDS_profile-graphical-qt5 = "${PN}"
+RDEPENDS:profile-graphical-qt5 = "${PN}"
packagegroup-agl-graphical-services \
"
packagegroup-agl-graphical-services \
"
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','connman','connman connman-client','',d)} \
packagegroup-agl-image-boot \
packagegroup-agl-core-security \
${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','connman','connman connman-client','',d)} \
-RDEPENDS_profile-telematics = "${PN}"
+RDEPENDS:profile-telematics = "${PN}"
packagegroup-agl-source-han-sans-ttf-fonts \
"
packagegroup-agl-source-han-sans-ttf-fonts \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
source-han-sans-cn-fonts \
source-han-sans-jp-fonts \
source-han-sans-tw-fonts \
source-han-sans-cn-fonts \
source-han-sans-jp-fonts \
source-han-sans-tw-fonts \
packagegroup-agl-speech-services \
"
packagegroup-agl-speech-services \
"
agl-service-voice-high \
agl-service-voice-high-capabilities \
"
agl-service-voice-high \
agl-service-voice-high-capabilities \
"
packagegroup-agl-telematics-demo-platform \
"
packagegroup-agl-telematics-demo-platform \
"
packagegroup-agl-profile-telematics \
"
packagegroup-agl-profile-telematics \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
gpsd \
sw-gpsd-udev-conf \
usb-can-udev-conf \
gpsd \
sw-gpsd-udev-conf \
usb-can-udev-conf \
packagegroup-agl-ttf-fonts \
"
packagegroup-agl-ttf-fonts \
"
-RDEPENDS_${PN}_append = " \
+RDEPENDS:${PN}:append = " \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
packagegroup-hmi-framework-devel \
"
packagegroup-hmi-framework-devel \
"
agl-service-homescreen \
homescreen \
libhomescreen \
agl-service-homescreen \
homescreen \
libhomescreen \
"
# temporarily disable due to failure to install package when AGLCI is on
"
# temporarily disable due to failure to install package when AGLCI is on
-#RDEPENDS_append_${PN} = " ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'homescreen-demo-ci', '', d)}"
+#RDEPENDS:append_${PN} = " ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'homescreen-demo-ci', '', d)}"
# NOTE: Currently no coverage versions of these widgets, they should
# be added here when available.
# NOTE: Currently no coverage versions of these widgets, they should
# be added here when available.
-RDEPENDS_${PN}-devel = " \
+RDEPENDS:${PN}-devel = " \
agl-service-homescreen-dbg \
homescreen-dbg \
launcher-dbg \
agl-service-homescreen-dbg \
homescreen-dbg \
launcher-dbg \
# add missing dependencies for SDK
# add missing dependencies for SDK
qttools-plugins \
qtquickcontrols-dev \
qtquickcontrols-qmlplugins \
qttools-plugins \
qtquickcontrols-dev \
qtquickcontrols-qmlplugins \
# remove dependency on qtwebkit (still added to SDK by packagegroup-qt5-toolchain-target)
# see SPEC-1159
# remove dependency on qtwebkit (still added to SDK by packagegroup-qt5-toolchain-target)
# see SPEC-1159
-RDEPENDS_${PN}_remove = " \
+RDEPENDS:${PN}:remove = " \
qtwebkit-dev \
qtwebkit-mkspecs \
qtwebkit-qmlplugins \
qtwebkit-dev \
qtwebkit-mkspecs \
qtwebkit-qmlplugins \
-do_install_append_imx() {
+do_install:append:imx() {
install -d ${D}${sysconfdir}/udev/rules.d
cat >>${D}${sysconfdir}/udev/rules.d/zz-dri.rules <<'EOF'
SUBSYSTEM=="gpu_class", MODE="0660", GROUP="${WESTONGROUP}", SECLABEL{smack}="*"
install -d ${D}${sysconfdir}/udev/rules.d
cat >>${D}${sysconfdir}/udev/rules.d/zz-dri.rules <<'EOF'
SUBSYSTEM=="gpu_class", MODE="0660", GROUP="${WESTONGROUP}", SECLABEL{smack}="*"
-RCONFLICTS_${PN} = "weston-init"
+RCONFLICTS:${PN} = "weston-init"
-PACKAGECONFIG_append = " icu fontconfig sql-sqlite"
+PACKAGECONFIG:append = " icu fontconfig sql-sqlite"
-FILESEXTRAPATHS_prepend := "${THISDIR}/qtlocation:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/qtlocation:"
SRC_URI += "\
file://0001-mapbox-update-API-url-to-match-new-schema.patch \
SRC_URI += "\
file://0001-mapbox-update-API-url-to-match-new-schema.patch \
-FILESEXTRAPATHS_append := ":${THISDIR}/qtmultimedia"
+FILESEXTRAPATHS:append := ":${THISDIR}/qtmultimedia"
-PACKAGECONFIG_append = " gstreamer"
+PACKAGECONFIG:append = " gstreamer"
file://0001-metadata-image-support-with-the-data-URL-scheme-for-.patch \
"
file://0001-metadata-image-support-with-the-data-URL-scheme-for-.patch \
"
-DEPENDS_remove = "bluez4"
+DEPENDS:remove = "bluez4"
# currently Qt5 does not support bluez5 "Nothing PROVIDES 'gconfbluez5'"
# currently Qt5 does not support bluez5 "Nothing PROVIDES 'gconfbluez5'"
-#DEPENDS_append = "bluez5"
+#DEPENDS:append = "bluez5"
sed -i -e 's/@QT_WAYLAND_DEFAULT_SHELL@/${QTWAYLAND_DEFAULT_SHELL}/' ${D}${sysconfdir}/afm/unit.env.d/qtwayland
}
sed -i -e 's/@QT_WAYLAND_DEFAULT_SHELL@/${QTWAYLAND_DEFAULT_SHELL}/' ${D}${sysconfdir}/afm/unit.env.d/qtwayland
}
-RPROVIDES_${PN} += "virtual/qtwayland-config"
+RPROVIDES:${PN} += "virtual/qtwayland-config"
-FILESEXTRAPATHS_append := ":${THISDIR}/qtwayland"
+FILESEXTRAPATHS:append := ":${THISDIR}/qtwayland"
# QT_MODULE_BRANCH = "5.4"
# QT_MODULE_BRANCH = "5.4"
# file://0002-qwaylandwindow-add-support-for-IVI-Surface-ID-proper.patch \
#
# file://0002-qwaylandwindow-add-support-for-IVI-Surface-ID-proper.patch \
#
file://0010-Added-manifest-file-according-to-smack-3-domain-mode.patch \
file://0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch \
"
file://0010-Added-manifest-file-according-to-smack-3-domain-mode.patch \
file://0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch \
"
SRCREV = "155d885e8ccc907a56f6c86c4b159fac27ef6fec"
S = "${WORKDIR}/git/lin_config/src"
SRCREV = "155d885e8ccc907a56f6c86c4b159fac27ef6fec"
S = "${WORKDIR}/git/lin_config/src"
file://0001-Change-Makefile-to-use-pkg-config-for-libxml-2.0.patch \
file://0002-Change-Makefile-to-use-LDFLAGS.patch \
"
file://0001-Change-Makefile-to-use-pkg-config-for-libxml-2.0.patch \
file://0002-Change-Makefile-to-use-LDFLAGS.patch \
"
do_configure[noexec] = "1"
do_configure[noexec] = "1"
install -d ${D}/${bindir}
install -m 755 ${S}/lin_config ${D}/${bindir}
}
install -d ${D}/${bindir}
install -m 755 ${S}/lin_config ${D}/${bindir}
}
-PACKAGECONFIG_poky = "jpeg png v4l libv4l gstreamer"
+PACKAGECONFIG:poky = "jpeg png v4l libv4l gstreamer"
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-SRC_URI_append = " file://automount.service \
+SRC_URI:append = " file://automount.service \
file://automount.sh \
file://99-udisks2.rules \
"
SYSTEMD_AUTO_ENABLE = "enable"
file://automount.sh \
file://99-udisks2.rules \
"
SYSTEMD_AUTO_ENABLE = "enable"
-SYSTEMD_SERVICE_${PN}_append = " automount.service"
+SYSTEMD_SERVICE:${PN}:append = " automount.service"
sed -i 's/^WantedBy=.*/WantedBy=multi-user.target/' ${D}${systemd_unitdir}/system/udisks2.service
install -d ${D}${base_libdir}/systemd/system
sed -i 's/^WantedBy=.*/WantedBy=multi-user.target/' ${D}${systemd_unitdir}/system/udisks2.service
install -d ${D}${base_libdir}/systemd/system
install -m 0644 ${WORKDIR}/99-udisks2.rules ${D}${sysconfdir}/udev/rules.d
}
install -m 0644 ${WORKDIR}/99-udisks2.rules ${D}${sysconfdir}/udev/rules.d
}
-FILES_${PN}_append = " \
+FILES:${PN}:append = " \
${base_libdir}/systemd/system/automount.service \
${libexecdir}/automount.sh \
"
${base_libdir}/systemd/system/automount.service \
${libexecdir}/automount.sh \
"
install -D -m 0755 ${WORKDIR}/gcovr-wrapper ${D}${bindir}/gcovr-wrapper
}
install -D -m 0755 ${WORKDIR}/gcovr-wrapper ${D}${bindir}/gcovr-wrapper
}
-RDEPENDS_${PN} = "bash gcovr"
+RDEPENDS:${PN} = "bash gcovr"
python3-compression \
python3-core \
python3-crypt \
python3-compression \
python3-core \
python3-crypt \
install -D -m 0755 ${S}/pyagl/scripts/pyagl ${D}${bindir}/pyagl
}
install -D -m 0755 ${S}/pyagl/scripts/pyagl ${D}${bindir}/pyagl
}
python3-asyncio \
python3-asyncssh \
python3-core \
python3-asyncio \
python3-asyncssh \
python3-core \
-RDEPENDS_${PN} += "chromium84-browser"
+RDEPENDS:${PN} += "chromium84-browser"
TARGET = "${WEBRUNTIME_BUILD_TARGET} ${BROWSER_APP_BUILD_TARGET}"
TARGET = "${WEBRUNTIME_BUILD_TARGET} ${BROWSER_APP_BUILD_TARGET}"
-# Skip do_install_append of webos_system_bus. It is not compatible with this component.
+# Skip do_install:append of webos_system_bus. It is not compatible with this component.
WEBOS_SYSTEM_BUS_FILES_LOCATION = "${S}/files/sysbus"
PACKAGECONFIG ?= "jumbo use-upstream-wayland"
WEBOS_SYSTEM_BUS_FILES_LOCATION = "${S}/files/sysbus"
PACKAGECONFIG ?= "jumbo use-upstream-wayland"
# instead, so that if DEBUG_BUILD is not set GN will not create a huge debug
# binary anyway. Since our compiler flags are passed after GN's, -g0 does
# not cause any issues if DEBUG_BUILD is set, as -g1 will be passed later.
# instead, so that if DEBUG_BUILD is not set GN will not create a huge debug
# binary anyway. Since our compiler flags are passed after GN's, -g0 does
# not cause any issues if DEBUG_BUILD is set, as -g1 will be passed later.
-DEBUG_FLAGS_remove_arm = "-g"
-DEBUG_FLAGS_append_arm = "-g1"
-DEBUG_FLAGS_remove_x86 = "-g"
-DEBUG_FLAGS_append_x86 = "-g1"
+DEBUG_FLAGS:remove:arm = "-g"
+DEBUG_FLAGS:append:arm = "-g1"
+DEBUG_FLAGS:remove:x86 = "-g"
+DEBUG_FLAGS:append:x86 = "-g1"
GN_ARGS += "symbol_level=0"
# We do not want to use Chromium's own Debian-based sysroots, it is easier to
GN_ARGS += "symbol_level=0"
# We do not want to use Chromium's own Debian-based sysroots, it is easier to
ARM_FLOAT_ABI = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hard', 'softfp', d)}"
ARM_FPU = "${@get_compiler_flag(d.getVar('TUNE_CCARGS').split(), '-mfpu', d)}"
ARM_TUNE = "${@get_compiler_flag(d.getVar('TUNE_CCARGS').split(), '-mcpu', d)}"
ARM_FLOAT_ABI = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hard', 'softfp', d)}"
ARM_FPU = "${@get_compiler_flag(d.getVar('TUNE_CCARGS').split(), '-mfpu', d)}"
ARM_TUNE = "${@get_compiler_flag(d.getVar('TUNE_CCARGS').split(), '-mcpu', d)}"
-ARM_VERSION_aarch64 = "8"
-ARM_VERSION_armv7a = "7"
-ARM_VERSION_armv7ve = "7"
-ARM_VERSION_armv6 = "6"
+ARM_VERSION:aarch64 = "8"
+ARM_VERSION:armv7a = "7"
+ARM_VERSION:armv7ve = "7"
+ARM_VERSION:armv6 = "6"
# GN computes and defaults to it automatically where needed
# forcing it from cmdline breaks build on places where it ends up
# overriding what GN wants
# GN computes and defaults to it automatically where needed
# forcing it from cmdline breaks build on places where it ends up
# overriding what GN wants
-TUNE_CCARGS_remove = "-mthumb"
+TUNE_CCARGS:remove = "-mthumb"
-GN_ARGS_append_arm = " \
+GN_ARGS:append:arm = " \
arm_float_abi=\"${ARM_FLOAT_ABI}\" \
arm_fpu=\"${ARM_FPU}\" \
arm_tune=\"${ARM_TUNE}\" \
arm_float_abi=\"${ARM_FLOAT_ABI}\" \
arm_fpu=\"${ARM_FPU}\" \
arm_tune=\"${ARM_TUNE}\" \
"
# tcmalloc's atomicops-internals-arm-v6plus.h uses the "dmb" instruction that
# is not available on (some?) ARMv6 models, which causes the build to fail.
"
# tcmalloc's atomicops-internals-arm-v6plus.h uses the "dmb" instruction that
# is not available on (some?) ARMv6 models, which causes the build to fail.
-GN_ARGS_append_armv6 += 'use_allocator="none"'
+GN_ARGS:append:armv6 += 'use_allocator="none"'
# The WebRTC code fails to build on ARMv6 when NEON is enabled.
# https://bugs.chromium.org/p/webrtc/issues/detail?id=6574
# The WebRTC code fails to build on ARMv6 when NEON is enabled.
# https://bugs.chromium.org/p/webrtc/issues/detail?id=6574
-GN_ARGS_append_armv6 += 'arm_use_neon=false'
+GN_ARGS:append:armv6 += 'arm_use_neon=false'
# Disable glibc shims on musl
# tcmalloc does not play well with musl as of M62 (and possibly earlier).
# https://github.com/gperftools/gperftools/issues/693
# Disable glibc shims on musl
# tcmalloc does not play well with musl as of M62 (and possibly earlier).
# https://github.com/gperftools/gperftools/issues/693
-GN_ARGS_append_libc-musl = ' use_allocator_shim=false'
+GN_ARGS:append:libc-musl = ' use_allocator_shim=false'
# More options to speed up the build
GN_ARGS += "\
# More options to speed up the build
GN_ARGS += "\
# Doesn't build for armv[45]*
COMPATIBLE_MACHINE = "(-)"
# Doesn't build for armv[45]*
COMPATIBLE_MACHINE = "(-)"
-COMPATIBLE_MACHINE_aarch64 = "(.*)"
-COMPATIBLE_MACHINE_armv6 = "(.*)"
-COMPATIBLE_MACHINE_armv7a = "(.*)"
-COMPATIBLE_MACHINE_armv7ve = "(.*)"
-COMPATIBLE_MACHINE_x86 = "(.*)"
-COMPATIBLE_MACHINE_x86-64 = "(.*)"
+COMPATIBLE_MACHINE:aarch64 = "(.*)"
+COMPATIBLE_MACHINE:armv6 = "(.*)"
+COMPATIBLE_MACHINE:armv7a = "(.*)"
+COMPATIBLE_MACHINE:armv7ve = "(.*)"
+COMPATIBLE_MACHINE:x86 = "(.*)"
+COMPATIBLE_MACHINE:x86-64 = "(.*)"
#CHROMIUM_PLUGINS_PATH = "${libdir}"
CBE_DATA_PATH = "${libdir}/cbe"
#CHROMIUM_PLUGINS_PATH = "${libdir}"
CBE_DATA_PATH = "${libdir}/cbe"
# The text relocations are intentional -- see comments in [GF-52468]
# TODO: check if we need INSANE_SKIP on ldflags
# The text relocations are intentional -- see comments in [GF-52468]
# TODO: check if we need INSANE_SKIP on ldflags
-INSANE_SKIP_${PN} = "textrel ldflags"
+INSANE_SKIP:${PN} = "textrel ldflags"
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
${webos_sysbus_pubrolesdir}/${BROWSER_APPLICATION}.json \
"
${webos_sysbus_pubrolesdir}/${BROWSER_APPLICATION}.json \
"
-SYSROOT_DIRS_append = " ${bindir_cross}"
+SYSROOT_DIRS:append = " ${bindir_cross}"
${PN}-cross-mksnapshot \
${BROWSER_APPLICATION} \
"
${PN}-cross-mksnapshot \
${BROWSER_APPLICATION} \
"
-FILES_${BROWSER_APPLICATION} += " \
+FILES:${BROWSER_APPLICATION} += " \
${BROWSER_APPLICATION_DIR} \
${WEBOS_SYSTEM_BUS_DIRS_LEGACY_BROWSER_APPLICATION} \
"
${BROWSER_APPLICATION_DIR} \
${WEBOS_SYSTEM_BUS_DIRS_LEGACY_BROWSER_APPLICATION} \
"
-RDEPENDS_${BROWSER_APPLICATION} += "${PN}"
+RDEPENDS:${BROWSER_APPLICATION} += "${PN}"
VIRTUAL-RUNTIME_gpu-libs ?= ""
VIRTUAL-RUNTIME_gpu-libs ?= ""
-RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_gpu-libs}"
+RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_gpu-libs}"
# The text relocations are intentional -- see comments in [GF-52468]
# TODO: check if we need INSANE_SKIP on ldflags
# The text relocations are intentional -- see comments in [GF-52468]
# TODO: check if we need INSANE_SKIP on ldflags
-INSANE_SKIP_${BROWSER_APPLICATION} += "libdir ldflags textrel"
+INSANE_SKIP:${BROWSER_APPLICATION} += "libdir ldflags textrel"
${libdir}/*.so \
${libdir}/swiftshader/*.so \
${CBE_DATA_PATH}/* \
${libdir}/*.so \
${libdir}/swiftshader/*.so \
${CBE_DATA_PATH}/* \
${WEBOS_SYSTEM_BUS_DIRS} \
"
${WEBOS_SYSTEM_BUS_DIRS} \
"
-FILES_${PN}-cross-mksnapshot = "${bindir_cross}/${HOST_SYS}-mksnapshot.gz"
+FILES:${PN}-cross-mksnapshot = "${bindir_cross}/${HOST_SYS}-mksnapshot.gz"
BROWSER_APPLICATION_DIR = "/opt/chromium84"
MKSNAPSHOT_PATH = "v8_snapshot/"
BROWSER_APPLICATION_DIR = "/opt/chromium84"
MKSNAPSHOT_PATH = "v8_snapshot/"
-PACKAGECONFIG_remove="jumbo"
+PACKAGECONFIG:remove="jumbo"
GN_ARGS += "use_gtk=false"
GN_ARGS += "use_gtk=false"
use_v8_context_snapshot=false \
"
use_v8_context_snapshot=false \
"
use_system_minigbm=false \
use_wayland_gbm=false \
"
use_system_minigbm=false \
use_wayland_gbm=false \
"
is_webos=false \
is_agl=true \
"
is_webos=false \
is_agl=true \
"
# TODO(rzanoni) copied from original recipe to fix qemux86 build.
# check if it can be removed in the future.
# TODO(rzanoni) copied from original recipe to fix qemux86 build.
# check if it can be removed in the future.
-PACKAGECONFIG_remove_qemux86 = "gstreamer umediaserver neva-media gav neva-webrtc"
+PACKAGECONFIG:remove:qemux86 = "gstreamer umediaserver neva-media gav neva-webrtc"
PR="r0"
PROVIDES += "virtual/webruntime"
PR="r0"
PROVIDES += "virtual/webruntime"
-RPROVIDES_${PN} += "virtual/webruntime"
+RPROVIDES:${PN} += "virtual/webruntime"
# Disable some of securit_flags
# Disable D_FORTIFY_SOURCE=2 and -fstack-protector-strong
# Disable some of securit_flags
# Disable D_FORTIFY_SOURCE=2 and -fstack-protector-strong
S = "${WORKDIR}/git"
SRCREV = "2a246d2ea79bd335b86942a5579d6de0c9ddce40"
S = "${WORKDIR}/git"
SRCREV = "2a246d2ea79bd335b86942a5579d6de0c9ddce40"
install -d ${D}${sysconfdir}/wam
install -v -m 644 ${S}/files/launch/security_policy.conf ${D}${sysconfdir}/wam/security_policy.conf
install -d ${D}${systemd_system_unitdir}
install -d ${D}${sysconfdir}/wam
install -v -m 644 ${S}/files/launch/security_policy.conf ${D}${sysconfdir}/wam/security_policy.conf
install -d ${D}${systemd_system_unitdir}
ln -sf ../wam-user-setup@.service ${D}${systemd_system_unitdir}/user-runtime-dir@.service.wants/
}
ln -sf ../wam-user-setup@.service ${D}${systemd_system_unitdir}/user-runtime-dir@.service.wants/
}
-FILES_${PN} += "${sysconfdir}/init ${sysconfdir}/wam ${libdir}/webappmanager/plugins/*.so ${systemd_system_unitdir}"
+FILES:${PN} += "${sysconfdir}/init ${sysconfdir}/wam ${libdir}/webappmanager/plugins/*.so ${systemd_system_unitdir}"
-CXXFLAGS_append_agl-devel = " -DAGL_DEVEL"
+CXXFLAGS:append:agl-devel = " -DAGL_DEVEL"
-do_install_append_agl-devel() {
+do_install:append:agl-devel() {
# Enable remote inspector and dev mode
install -d ${D}${localstatedir}/agl-devel/preferences
touch ${D}${localstatedir}/agl-devel/preferences/debug_system_apps
# Enable remote inspector and dev mode
install -d ${D}${localstatedir}/agl-devel/preferences
touch ${D}${localstatedir}/agl-devel/preferences/debug_system_apps
# important settings imported from poky-agl.conf
# we do not import
# important settings imported from poky-agl.conf
# we do not import
-DISTRO_FEATURES_append = " systemd smack"
-DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit"
+DISTRO_FEATURES:append = " systemd smack"
+DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
#AGL_FEATURES += "aglcore agldemo"
VIRTUAL-RUNTIME_init_manager = "systemd"
#AGL_FEATURES += "aglcore agldemo"
-#DISTRO_FEATURES_append = " appfw"
+#DISTRO_FEATURES:append = " appfw"
# workaround:
# ERROR: Nothing PROVIDES 'smack' (but /home/dl9pf/AGL/master-newlayout/external/meta-openembedded/meta-oe/recipes-extended/ostree/ostree_2020.3.bb DEPENDS on or otherwise requires it)
# workaround:
# ERROR: Nothing PROVIDES 'smack' (but /home/dl9pf/AGL/master-newlayout/external/meta-openembedded/meta-oe/recipes-extended/ostree/ostree_2020.3.bb DEPENDS on or otherwise requires it)
BBMASK += "meta-security/recipes-mac/smack/smack-test_1.0.bb"
# missing in upstream recipes ... aka FIXME upstream
BBMASK += "meta-security/recipes-mac/smack/smack-test_1.0.bb"
# missing in upstream recipes ... aka FIXME upstream
-BBCLASSEXTEND_pn-libzip = "native nativesdk"
-BBCLASSEXTEND_pn-xmlsec1 = "native nativesdk"
+BBCLASSEXTEND:pn-libzip = "native nativesdk"
+BBCLASSEXTEND:pn-xmlsec1 = "native nativesdk"
AGL_APP_REVISION = "${AUTOREV}"
EOF
AGL_APP_REVISION = "${AUTOREV}"
EOF
# important settings imported from poky-agl.conf
# we do not import
# important settings imported from poky-agl.conf
# we do not import
-DISTRO_FEATURES_append = " systemd smack"
-DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit"
+DISTRO_FEATURES:append = " systemd smack"
+DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
# workaround:
VIRTUAL-RUNTIME_init_manager = "systemd"
# workaround:
-AGL_FEATURES_append = " agl-cluster-demo-support"
+AGL_FEATURES:append = " agl-cluster-demo-support"