qt4: fix incorrect pkg-config files
authorAndreas Oberritter <obi@opendreambox.org>
Thu, 6 Jan 2011 00:17:46 +0000 (00:17 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Thu, 6 Jan 2011 12:44:24 +0000 (13:44 +0100)
commit7d83a24f8fdb62e1a034d3592b94db4bc810b9ac
treee3e7e82efdaa45266b627f40e94a96ee44a4f0d5
parentd4196731ebde9784d2853d8717696361ff06f4d9
qt4: fix incorrect pkg-config files

* Previously, include statements were generated like this:
  -I.../mipsel-oe-linux/usr/include/qtopia/QtCore
  -I.../mipsel-oe-linux/usr/include/qtopia/QtCore/qt4-embedded/QtCoreE
  -I.../mipsel-oe-linux/usr/include/qtopia/QtCore/qtopia

* The sed rules ignored QT_LIBINFIX.
* The sed rules incorrectly used QT_BASE_NAME instead of QT_DIR_NAME.

* Now, they look like this, which is what an application expects:
  -I.../mipsel-oe-linux/usr/include/qtopia/QtCore
  -I.../mipsel-oe-linux/usr/include/qtopia

* Tested with qt4-embedded on mipsel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
CC: Koen Kooi <k.kooi@student.utwente.nl>
Acked-by: Koen Kooi <koen@openembedded.org>
recipes/qt4/qt4-embedded.inc
recipes/qt4/qt4-x11-free.inc
recipes/qt4/qt4.inc