diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/qt/qt-x11-free-native_3.3.5.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
download | openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/qt/qt-x11-free-native_3.3.5.bb')
-rw-r--r-- | recipes/qt/qt-x11-free-native_3.3.5.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/recipes/qt/qt-x11-free-native_3.3.5.bb b/recipes/qt/qt-x11-free-native_3.3.5.bb new file mode 100644 index 0000000000..f23d874648 --- /dev/null +++ b/recipes/qt/qt-x11-free-native_3.3.5.bb @@ -0,0 +1,61 @@ +DESCRIPTION = "Qt/X11 Version ${PV}" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL QPL" +DEPENDS = "qmake-native x11-native" +HOMEPAGE = "http://www.trolltech.com" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qt-x11-free" + +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_NATIVE}/qmake -after INCLUDEPATH+=${STAGING_INCDIR} LIBS+=-I${STAGING_LIBDIR}" \ + QMAKESPEC="${THIS_QMAKESPEC}" +} + +do_stage() { + install -d ${STAGING_DIR_HOST}/qt3/lib + oe_soinstall lib/libqt-mt.so.${PV} ${STAGING_DIR_HOST}/qt3/lib + install -d ${STAGING_DIR_HOST}/qt3/include/private + for f in include/*.h + do + install -m 0644 $f ${STAGING_DIR_HOST}/qt3/include/ + done + for f in include/private/*.h + do + install -m 0644 $f ${STAGING_DIR_HOST}/qt3/include/private + done +} + +do_install() { + install -d ${D}${libdir}/ + oe_soinstall lib/libqt-mt.so.${PV} ${D}${libdir}/ +} + |