diff options
| -rw-r--r-- | recipes-qt/qt5/qtconnectivity.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc index 10dcc220..ab8d31e5 100644 --- a/recipes-qt/qt5/qtconnectivity.inc +++ b/recipes-qt/qt5/qtconnectivity.inc | |||
| @@ -3,14 +3,13 @@ require qt5.inc | |||
| 3 | DEPENDS += "qtbase qtdeclarative" | 3 | DEPENDS += "qtbase qtdeclarative" |
| 4 | 4 | ||
| 5 | PACKAGECONFIG ??= "" | 5 | PACKAGECONFIG ??= "" |
| 6 | PACKAGECONFIG[bluez4] = ",,bluez4" | 6 | PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4" |
| 7 | 7 | ||
| 8 | do_configure_prepend() { | 8 | do_configure_prepend() { |
| 9 | export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}" | ||
| 9 | # disable bluez test if it isn't enabled by PACKAGECONFIG | 10 | # disable bluez test if it isn't enabled by PACKAGECONFIG |
| 10 | sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro | 11 | sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro |
| 11 | } | 12 | } |
| 12 | 13 | ||
| 13 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}" | ||
| 14 | |||
| 15 | LICENSE += "| GPL-2.0" | 14 | LICENSE += "| GPL-2.0" |
| 16 | LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed" | 15 | LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed" |
