2 DESCRIPTION = "Qt(E) Makefile Generator"
7 "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-free-${PV}.tar.bz2 \
8 file://linux-oe-qmake.conf"
10 S = "${WORKDIR}/qt-embedded-free-${PV}"
12 inherit autotools native
16 EXTRA_OECONF = "-static -no-gif -no-sm -system-zlib -system-libjpeg \
17 -system-libpng -no-thread -no-nis -no-cups -no-stl -disable-styles \
18 -disable-tools -disable-kernel -disable-widgets -disable-dialogs \
19 -disable-iconview -disable-workspace -disable-network -disable-canvas \
20 -disable-table -disable-xml -disable-opengl -disable-sql"
24 # Install the OE build templates (linux, linux-uclibc)
25 install -d ${S}/mkspecs/linux-oe-g++
26 install -d ${S}/mkspecs/linux-uclibc-oe-g++
27 install -m 0644 ${WORKDIR}/linux-oe-qmake.conf \
28 ${S}/mkspecs/linux-oe-g++/qmake.conf
29 ln -sf ../linux-g++/qplatformdefs.h \
30 ${S}/mkspecs/linux-oe-g++/qplatformdefs.h
31 ln -sf ../linux-oe-g++/qmake.conf \
32 ${S}/mkspecs/linux-uclibc-oe-g++/qmake.conf
33 ln -sf ../linux-g++/qplatformdefs.h \
34 ${S}/mkspecs/linux-uclibc-oe-g++/qplatformdefs.h
37 PLATFORM=${HOST_OS}-oe-g++
39 oenote ./configure ${EXTRA_OECONF}
40 echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
48 install -m 0755 bin/qmake ${STAGING_BINDIR}
49 install -d ${QMAKE_MKSPEC_PATH}
50 cp -dfR mkspecs/* ${QMAKE_MKSPEC_PATH}