diff --git a/coin/test-configs.inc b/coin/test-configs.inc index dfd18ee..a8d5553 100644 --- a/coin/test-configs.inc +++ b/coin/test-configs.inc @@ -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" diff --git a/recipes-qt/squish/squish_8.1.0.bb b/recipes-qt/squish/squish_8.1.0.bb index a8d5d0b..2b17cf0 100644 --- a/recipes-qt/squish/squish_8.1.0.bb +++ b/recipes-qt/squish/squish_8.1.0.bb @@ -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() {