diff options
author | Holger Freyther <zecke@selfish.org> | 2004-06-06 12:04:50 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2004-06-06 12:04:50 +0000 |
commit | 05349bd4f62aae7a45dbb47f5f49c0abcb354f58 (patch) | |
tree | 1152244f654aa86fece996454c73860c9563cba8 | |
parent | a4f9930a1739078f8ad3aa0d8e35c7b967cd93d2 (diff) |
-Use the same patches as for the normal non native Qt/X11 3.3.2
this alters FILESDIR in the native version
BKrev: 40c30862etva9XH-H6H9nLcsoNRZpg
-rw-r--r-- | qt/qt-x11-free-native_3.3.2.oe | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/qt/qt-x11-free-native_3.3.2.oe b/qt/qt-x11-free-native_3.3.2.oe index e69de29bb2..a21f640df6 100644 --- a/qt/qt-x11-free-native_3.3.2.oe +++ b/qt/qt-x11-free-native_3.3.2.oe @@ -0,0 +1,58 @@ +DESCRIPTION = "Qt/X11 Version ${PV}" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL/QPL" +DEPENDS = "qmake-native x11-native" + +FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/qt-x11-free-${PV} + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \ + file://no-examples.patch;patch=1" +S = "${WORKDIR}/qt-x11-free-${PV}" + +# +# FIXME - This should be updated to use OE's qmake-base.oeclass +# or the full qmake.oeclass. +# + +export QTDIR = "${S}" +export SYSCONF_CXX = "${CCACHE} g++" +export SYSCONF_CC = "${CCACHE} gcc" +export SYSCONF_LINK = "${CCACHE} g++" +THIS_QMAKESPEC = "${STAGING_DATADIR}/qmake/${TARGET_OS}-oe-g++" +export QMAKESPEC = "" +ARCH_i686 = "x86" + +QT_CONFIG_FLAGS = "-release -shared -qt-zlib -no-nas-sound -no-sm -qt-libpng -qt-gif -no-xshape -no-xinerama -no-xcursor -no-xrandr \ + -no-xrender -no-xft -no-tablet -no-xkb -no-dlopen-opengl -no-freetype -no-nis -no-cups -stl -thread -no-exceptions" + + +inherit native + +do_configure() { + echo "yes" | ./configure -prefix ${prefix} ${QT_CONFIG_FLAGS} -fast +} + +do_compile() { + LD_LIBRARY_PATH=${S}/lib oe_runmake \ + QMAKE="${STAGING_BINDIR}/qmake -after INCLUDEPATH+=${STAGING_INCDIR} LIBS+=-I${STAGING_LIBDIR}" \ + QMAKESPEC="${THIS_QMAKESPEC}" +} + +do_stage() { + oe_soinstall lib/libqt-mt.so.${PV} ${STAGING_LIBDIR}/ + for f in include/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/ + done + for f in include/private/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/private/ + done +} + +do_install() { + install -d ${D}/${libdir}/ + oe_soinstall lib/libqt-mt.so.${PV} ${D}/${libdir}/ +} + |