diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 14:58:06 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 21:16:50 +0200 |
| commit | 48ee17af942ac9860e834c8dec049370e7802a56 (patch) | |
| tree | 004e47c94682eaa418c9e718c3264ca121732102 /recipes-qt/qt5/qtlocation_git.bb | |
| parent | 3208763b8b3f65b17825ded4b2c9b9166d78f2b2 (diff) | |
| download | meta-qt5-48ee17af942ac9860e834c8dec049370e7802a56.tar.gz | |
qt5: merge .inc and _git.bb files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtlocation_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtlocation_git.bb | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index 75b4f724..7ff4c3d7 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
| @@ -1,4 +1,32 @@ | |||
| 1 | require qt5.inc | ||
| 1 | require qt5-git.inc | 2 | require qt5-git.inc |
| 2 | require ${PN}.inc | 3 | |
| 4 | LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0) | GPL-2.0" | ||
| 5 | LIC_FILES_CHKSUM = " \ | ||
| 6 | file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \ | ||
| 7 | file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \ | ||
| 8 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ | ||
| 9 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | ||
| 10 | file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \ | ||
| 11 | " | ||
| 12 | |||
| 13 | DEPENDS += "qtbase qt3d" | ||
| 14 | # qtsystems qtmultimedia | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "" | ||
| 17 | # older geoclue 0.x is needed | ||
| 18 | PACKAGECONFIG[geoclue] = "OE_GEOCLUE_ENABLED,,gconf geoclue" | ||
| 19 | PACKAGECONFIG[gypsy] = "OE_GYPSY_ENABLED,,gconf gypsy" | ||
| 20 | |||
| 21 | do_configure_prepend() { | ||
| 22 | # disable geoclue tests if it isn't enabled by PACKAGECONFIG | ||
| 23 | sed -i -e 's/^\(qtCompileTest(geoclue)\)/OE_GEOCLUE_ENABLED:\1/' ${S}/qtlocation.pro | ||
| 24 | sed -i -e 's/^\(qtCompileTest(geoclue-satellite)\)/OE_GEOCLUE_ENABLED:\1/' ${S}/qtlocation.pro | ||
| 25 | # disable gypsy test if it isn't enabled by PACKAGECONFIG | ||
| 26 | sed -i -e 's/^\(qtCompileTest(gypsy)\)/OE_GYPSY_ENABLED:\1/' ${S}/qtlocation.pro | ||
| 27 | } | ||
| 28 | |||
| 29 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'geoclue', 'CONFIG+=OE_GEOCLUE_ENABLED', '', d)}" | ||
| 30 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gypsy', 'CONFIG+=OE_GYPSY_ENABLED', '', d)}" | ||
| 3 | 31 | ||
| 4 | SRCREV = "b13fec3c7ed08b7d0e79c08312a3c3285eb20ef3" | 32 | SRCREV = "b13fec3c7ed08b7d0e79c08312a3c3285eb20ef3" |
