qt4-tools-native: update from OpenEmbedded
Differences from OE version: * Add source checksums * Correct LICENCE and move to .inc file * Update HOMEPAGE * Don't specify DEFAULT_PREFERENCE * Remove S and SRC_URI from 4.7.1 (duplicates of .inc file values) * Use http source URL to match other Qt4 recipes * Don't add back tools previously disabled in poky Differences from current (plus the above): * Add Qt 4.7.1 recipe * Specify -embedded to remove dependency on X (as we are only building tools) * Disable some other options to reduce dependencies * Specify -no-freetype / -no-fontconfig in .inc file rather than in .bb * Use INC_PR * Whitespace fixes
This commit is contained in:
parent
51b5081892
commit
abb87d455d
|
@ -1,9 +1,16 @@
|
|||
DESCRIPTION = "Native tools for Qt/[X11|Mac|Embedded] version 4.x"
|
||||
DEPENDS = "zlib-native dbus-native libsm-native"
|
||||
DEPENDS = "zlib-native dbus-native"
|
||||
SECTION = "libs"
|
||||
HOMEPAGE = "http://qt.nokia.com"
|
||||
PRIORITY = "optional"
|
||||
|
||||
LICENSE = "LGPLv2.1 | GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
|
||||
file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
|
||||
file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
|
||||
|
||||
INC_PR = "r11"
|
||||
|
||||
inherit native
|
||||
|
||||
SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
|
||||
|
@ -16,13 +23,14 @@ EXTRA_OECONF = "-prefix ${prefix} \
|
|||
-L ${STAGING_LIBDIR_NATIVE} \
|
||||
-I ${STAGING_INCDIR_NATIVE} \
|
||||
-qt-libjpeg -qt-gif -system-zlib \
|
||||
-no-libjpeg -no-libpng \
|
||||
-no-libjpeg -no-libpng -no-libmng -no-libtiff \
|
||||
-no-accessibility \
|
||||
-no-cups \
|
||||
-no-exceptions \
|
||||
-no-nas-sound \
|
||||
-no-nis \
|
||||
-no-nis -no-openssl \
|
||||
-verbose -release -static \
|
||||
-embedded -no-freetype -no-glib -no-iconv \
|
||||
-qt3support"
|
||||
|
||||
# yank default -e, otherwise we get the following error:
|
||||
|
@ -59,7 +67,7 @@ do_install() {
|
|||
for i in moc uic rcc lrelease lupdate; do
|
||||
install -m 0755 bin/${i} ${D}${bindir}/${i}4
|
||||
done
|
||||
|
||||
|
||||
install -d ${D}${datadir}/qt4/
|
||||
cp -PfR mkspecs ${D}${datadir}/qt4/
|
||||
ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
require qt4-tools-native.inc
|
||||
|
||||
LICENSE = "LGPLv2.1 | GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
|
||||
file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
|
||||
file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
|
||||
PR = "r2"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
EXTRA_OECONF += " -no-fast -silent -no-rpath -no-freetype -no-fontconfig"
|
||||
EXTRA_OECONF += " -no-fast -silent -no-rpath"
|
||||
|
||||
TOBUILD := "src/tools/bootstrap ${TOBUILD}"
|
||||
|
||||
SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
|
||||
SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
require qt4-tools-native.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
# Find the g++.conf/linux.conf in the right directory.
|
||||
FILESPATHPKG =. "qt-${PV}:"
|
||||
|
||||
EXTRA_OECONF += " -no-fast -silent -no-rpath"
|
||||
|
||||
TOBUILD := "src/tools/bootstrap ${TOBUILD}"
|
||||
|
||||
SRC_URI[md5sum] = "6f88d96507c84e9fea5bf3a71ebeb6d7"
|
||||
SRC_URI[sha256sum] = "8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a"
|
Loading…
Reference in New Issue