diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-11-27 15:48:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:14 +0000 |
commit | 8b11ed8a75a15328bbd22d100a976cc669b84b58 (patch) | |
tree | 9b93d0fcd8fd973943ca61f126cae47066113922 /meta/recipes-qt/qt4/qt4-x11-free.inc | |
parent | 0baadc8a98daa14090b04e728fb5a44af3f545c8 (diff) | |
download | poky-8b11ed8a75a15328bbd22d100a976cc669b84b58.tar.gz |
qt4: remove recipes and classes
Qt4 is no longer supportd upstream, but it is still needed for LSB compliancy.
Qt4 recipes have been moved to a separate meta-qt4 layer to be consistent with
meta-qt3 and meta-qt5.
(From OE-Core rev: cb89d2b25b4edb1241bc5426a69a6bc44df9be2c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-x11-free.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free.inc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc deleted file mode 100644 index f6a1737395..0000000000 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | require qt4.inc | ||
2 | |||
3 | SUMMARY = "Cross-platform UI toolkit and application framework (X11 version)" | ||
4 | DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version." | ||
5 | HOMEPAGE = "http://qt-project.org/" | ||
6 | SECTION = "x11/libs" | ||
7 | DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" | ||
8 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)}" | ||
9 | PROVIDES += "qt4-x11" | ||
10 | QT4DEPENDS = "" | ||
11 | |||
12 | QT_GLFLAGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " | ||
13 | QT_GLFLAGS_qemux86 = "-opengl" | ||
14 | QT_GLFLAGS_qemuppc = "-opengl" | ||
15 | QT_X11_FLAGS ?= "-no-xinerama -no-xkb -no-gtkstyle" | ||
16 | QT_CONFIG_FLAGS += "${QT_X11_FLAGS}" | ||
17 | QT_BASE_LIB ?= "libqt" | ||
18 | |||
19 | # required by kdelibs4 | ||
20 | QT_KDE_FLAGS ?= "-accessibility -sm" | ||
21 | QT_DISTRO_FLAGS ?= "${QT_KDE_FLAGS}" | ||
22 | |||
23 | inherit qt4x11 | ||
24 | |||
25 | do_install_append() { | ||
26 | # fix pkgconfig, libtool and prl files | ||
27 | sed -i -e 's#I/usr/include#Iincludedir}#g' \ | ||
28 | -e 's#Iin#I${in#g' \ | ||
29 | ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc | ||
30 | |||
31 | # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so | ||
32 | # manually fix it up here: | ||
33 | for pc in ${D}${libdir}/pkgconfig/*.pc ; do | ||
34 | sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \ | ||
35 | -e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \ | ||
36 | -e 's:IP{:I${:g' $pc | ||
37 | done | ||
38 | } | ||