mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
squish: add squish license key configuration
Squish installer requires a license key, use SQUISH_LICENSE_KEY to configure this. Move internal Squish configs into CI config files. Task-number: QTBUG-134275 Change-Id: I0426fcf35e2a04498d7fbece68497d98208ce799 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This commit is contained in:
parent
09db275a11
commit
5142300d47
|
|
@ -41,6 +41,8 @@ ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
|
|||
|
||||
# build squish
|
||||
USE_SQUISH = "1"
|
||||
SQUISH_MIRROR = "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
|
||||
SQUISH_LICENSE_KEY = "qt-srv-19.intra.qt.io:49345"
|
||||
|
||||
# enable webengine with commercial/proprietary features
|
||||
DISTRO_FEATURES:append = " webengine"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,14 @@ EXCLUDE_FROM_WORLD = "1"
|
|||
|
||||
inherit qt6-qmake
|
||||
|
||||
SQUISH_MIRROR ?= "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
|
||||
# location where Squish release packages can be downloaded
|
||||
SQUISH_MIRROR ?= ""
|
||||
SQUISH_LICENSE_KEY ?= ""
|
||||
|
||||
python __anonymous() {
|
||||
if not (d.getVar('SQUISH_MIRROR') and d.getVar('SQUISH_LICENSE_KEY')):
|
||||
raise bb.parse.SkipRecipe("You need to define SQUISH_MIRROR and SQUISH_LICENSE_KEY in the config", d)
|
||||
}
|
||||
|
||||
SQUISH_INSTALLER = "squish-${PV}-qt68x-linux64.run"
|
||||
|
||||
|
|
@ -47,7 +54,8 @@ do_install_squish() {
|
|||
fi
|
||||
chmod +x $SQUISH_INSTALLER
|
||||
TMPDIR=${WORKDIR}/tmp XDG_RUNTIME_DIR=${WORKDIR}/tmp $SQUISH_INSTALLER \
|
||||
-platform minimal unattended=1 targetdir=${WORKDIR}/squish ide=0
|
||||
-platform minimal unattended=1 targetdir=${WORKDIR}/squish ide=0 \
|
||||
licensekey=${SQUISH_LICENSE_KEY}
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user