1 DESCRIPTION
= "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
2 DEPENDS
= "zlib-native dbus-native"
4 HOMEPAGE
= "http://www.trolltech.com"
6 LICENSE
= "LGPLv2.1 GPLv3"
8 DEFAULT_PREFERENCE
= "-1"
13 SRC_URI
= "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
14 file://configure-lflags.patch \
15 file://qt-config.patch \
19 S
= "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
22 # FIXME
: make it work with
"${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
23 EXTRA_OECONF
= "-prefix ${prefix} \
24 -qt-libjpeg -qt-gif -system-zlib \
25 -no-libjpeg -no-libpng \
31 -verbose -release -fast -static \
33 -I${STAGING_DIR_NATIVE}/usr/include \
34 -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \
35 -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include"
37 # yank
default -e
, otherwise we get the following error
:
38 # moc_qbuffer.cpp
: No such file
or directory
42 (echo o
; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
58 tools/linguist/lrelease \
59 tools/linguist/lupdate \
64 for i in $
{TOBUILD
}; do
65 cd $
{S
}/$i
&& oe_runmake CC
="${CC}" CXX
="${CXX}"
70 install
-d $
{D
}$
{bindir
}
71 install
-m
0755 bin/qmake $
{D
}$
{bindir
}/qmake2
72 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp
; do
73 install
-m
0755 bin/$
{i
} $
{D
}$
{bindir
}/$
{i
}4
78 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp
; do \
84 SRC_URI
[md5sum
] = "eb651ee4b157c01696aa56777fc6e0e5"
85 SRC_URI
[sha256sum
] = "176f51ddb06dce67ab4b2efc6b327dc21ed8f764c5d97acc15ff1f907c2affae"