anchor.diff:  	oe_runmake ${EXTRA_ENV}
   
   	# FIXME: this is not the way to go, I think.
  -	for pc in ${S}/lib/*.pc ; do
  +	for pc in ${S}/lib/pkgconfig/*.pc ; do
   		sed -i \
   			-e 's,-L${S}/lib,,g' \
   			-e 's,^moc_location=.*,^moc_location=${TARGING_BINDIR}/moc4,g' \
  
positive.code: 	rm ${D}${bindir}/rcc ${D}${bindir}/uic ${D}${bindir}/moc
  }
  
  QTPACKAGES = "libqtcore4 libqtcore4-dev libqtgui4 libqtgui4-dev libqtnetwork4 libqtnetwork4-dev \
               libqtsql4 libqtsql4-dev libqtsvg4 libqtsvg4-dev libqttest4 libqttest4-dev \
               libqtxml4 libqtxml4-dev \
               libqtdesigner4 libqtdesigner4-dev libqtdesignercomponents4 libqtdesignercomponents4-dev \
               libqt3support4 libqt3support4-dev \
               libqtassistantclient4 libqtassistantclient4-dev libqtscript4 libqtscript4-dev \
               libqtdbus4 libqtdbus4-dev \
               qt4-assistant qt4-common qt4-designer qt4-demos qt4-examples qt4-linguist \
               qt4-pixeltool qt4-dbus \
               qt4-plugins-accessible qt4-plugins-codecs qt4-plugins-designer qt4-plugins-imageformats qt4-plugins-sqldrivers \
               qt4-plugins-inputmethods qt4-plugins-iconengines"
  
  QT-NONDEV-PACKAGES = "libqtcore4 libqtgui4 libqtnetwork4  \
               libqtsql4 libqtsvg4 libqttest4 \
               libqtxml4 \
               libqtdesigner4 libqtdesignercomponents4 \
  
negative.code: PRIORITY = "optional"
  HOMEPAGE = "http://www.trolltech.com"
  LICENSE = "GPL QPL"
  DEPENDS = "uicmoc4-native qmake2-native freetype jpeg virtual/libx11 xft libxext libxrender libxrandr libxcursor dbus openssl"
  RDEPENDS_${PN} = "${NONDEV_PACKAGES}"
  PROVIDES = "qt4x11"
  
  PR = "r5"
  
  SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \
             file://0001-cross-compile.patch;patch=1 \
  