summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb
blob: 80f7fb3f18fadbd48b49a879cf6d5377bd97e332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "AGL Flutter environment file"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

inherit allarch

AGL_FLUTTER_DEFAULT_RUNTIME ?= "release"

do_compile[noexec] = "1"

do_install() {
    install -d ${D}${sysconfdir}/default
    echo "FLUTTER_VERSION=${FLUTTER_SDK_TAG}" > ${D}${sysconfdir}/default/flutter
    echo "FLUTTER_RUNTIME=${AGL_FLUTTER_DEFAULT_RUNTIME}" >> ${D}${sysconfdir}/default/flutter
    echo "LIBCAMERA_LOG_LEVELS=*:ERROR" >> ${D}${sysconfdir}/default/flutter
}