[oe-commits] Ihar Hrachyshka : qt4: fixed pkgconfig for qt4-embedded
git version control
git at git.openembedded.org
Thu Jun 11 13:45:45 UTC 2009
Module: openembedded.git
Branch: laibsch/wip
Commit: 57fb38a364066e4e768e0d9b6de6371185038454
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=57fb38a364066e4e768e0d9b6de6371185038454
Author: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
Date: Wed Jun 3 05:37:19 2009 +0000
qt4: fixed pkgconfig for qt4-embedded
Added ${QT_LIBINFIX} for pkgconfig dependencies.
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
Acked-by: Tom Rini <trini at embeddedalley.com>
Acked-by: Denys Dmytriyenko <denis at denix.org>
---
recipes/qt4/qt4.inc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc
index a6a2bfc..de7ae15 100644
--- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -222,6 +222,9 @@ do_install() {
sed -i -e s#"moc_location=.*$"#"moc_location=${bindir}/moc4"# \
-e s#"uic_location=.*$"#"uic_location=${bindir}/uic4"# \
${D}${libdir}/pkgconfig/*.pc
+ for name in ${QT_LIB_NAMES}; do
+ sed -i -e /Requires/s#"${name}"#"${name}${QT_LIBINFIX}"#g ${D}${libdir}/pkgconfig/*.pc
+ done
install -d ${D}/${libdir}/fonts
touch ${D}/${libdir}/fonts/fontdir
@@ -244,6 +247,9 @@ do_stage() {
sed -i -e s#"moc_location=.*$"## \
-e s#"uic_location=.*$"## \
${STAGE_TEMP}/${libdir}/pkgconfig/*.pc
+ for name in ${QT_LIB_NAMES}; do
+ sed -i -e "/Requires/s#${name}#${name}${QT_LIBINFIX}#"g ${D}${libdir}/pkgconfig/*.pc
+ done
# fix libtool files
sed -i -e s#installed=yes#installed=no#g ${STAGE_TEMP}/${libdir}/*.la
More information about the Openembedded-commits
mailing list