diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-06 23:45:21 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-06 23:45:21 +0200 |
commit | c3b0cae312427f5608a48add63981b1f90182b6a (patch) | |
tree | 27fb1572571c9a4adae8e9fd47fbc495cf3af6ec | |
parent | 088399a68731c138c03cc6857d6409b82b06ecb5 (diff) | |
download | meta-qt5-c3b0cae312427f5608a48add63981b1f90182b6a.tar.gz |
Revert "qtimageformats: Make the dependencies deterministic"
This reverts commit 088399a68731c138c03cc6857d6409b82b06ecb5.
-rw-r--r-- | recipes-qt/qt5/qtimageformats.inc | 16 | ||||
-rw-r--r-- | recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch | 31 |
2 files changed, 1 insertions, 46 deletions
diff --git a/recipes-qt/qt5/qtimageformats.inc b/recipes-qt/qt5/qtimageformats.inc index 39afd461..f90e58aa 100644 --- a/recipes-qt/qt5/qtimageformats.inc +++ b/recipes-qt/qt5/qtimageformats.inc | |||
@@ -1,18 +1,4 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | 2 | ||
3 | DEPENDS += "qtbase" | 3 | DEPENDS += "qtbase tiff" |
4 | ALLOW_EMPTY_${PN} = "1" | 4 | ALLOW_EMPTY_${PN} = "1" |
5 | |||
6 | SRC_URI += "file://0001-qtimageformats.pro-Make-the-dependencies-determinist.patch" | ||
7 | |||
8 | PACKAGECONFIG ?= "libtiff" | ||
9 | # Currently we don't have recipe for libmng, but lock it anyway so qtimageformats stay deterministic even when libmng is introduced | ||
10 | PACKAGECONFIG[jasper] = ",,jasper" | ||
11 | PACKAGECONFIG[libmng] = ",,libmng" | ||
12 | PACKAGECONFIG[libtiff] = ",,tiff" | ||
13 | PACKAGECONFIG[libwebp] = ",,libwebp" | ||
14 | |||
15 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libmng', 'CONFIG+=OE_LIBMNG_ENABLED', '', d)}" | ||
16 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'jasper', 'CONFIG+=OE_JASPER_ENABLED', '', d)}" | ||
17 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}" | ||
18 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}" | ||
diff --git a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch b/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch deleted file mode 100644 index d12851f9..00000000 --- a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From f309b1e149764a193cbfc694973083e70b5f4a7e Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Mon, 4 Aug 2014 19:19:05 +0200 | ||
4 | Subject: [PATCH] qtimageformats.pro: Make the dependencies deterministic | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | qtimageformats.pro | 8 ++++---- | ||
9 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
10 | |||
11 | diff --git a/qtimageformats.pro b/qtimageformats.pro | ||
12 | index 8382e5c..63d13ce 100644 | ||
13 | --- a/qtimageformats.pro | ||
14 | +++ b/qtimageformats.pro | ||
15 | @@ -1,9 +1,9 @@ | ||
16 | requires(qtHaveModule(gui)) | ||
17 | |||
18 | load(configure) | ||
19 | -qtCompileTest(jasper) | ||
20 | -qtCompileTest(libmng) | ||
21 | -qtCompileTest(libtiff) | ||
22 | -qtCompileTest(libwebp) | ||
23 | +OE_JASPER_ENABLED:qtCompileTest(jasper) | ||
24 | +OE_LIBMNG_ENABLED:qtCompileTest(libmng) | ||
25 | +OE_LIBTIFF_ENABLED:qtCompileTest(libtiff) | ||
26 | +OE_LIBWEBP_ENABLED:qtCompileTest(libwebp) | ||
27 | |||
28 | load(qt_parts) | ||
29 | -- | ||
30 | 2.0.4 | ||
31 | |||