summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-tools-native_4.5.2.bb
blob: c083aa0197985a17ce4edf83ca3fb9bf43382978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require qt4-tools-native.inc

# Older releases have different source archive name, than .inc
SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
           file://configure-lflags.patch;patch=1 \
           file://qt-config.patch;patch=1 \
           file://g++.conf \
           file://linux.conf"

S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"

EXTRA_OECONF += " -fast -qt-freetype"

do_configure() {
   (echo o; echo yes) | LFLAGS="-L${STAGING_LIBDIR_NATIVE}" ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}

LICENSE = "LGPLv2.1 GPLv3"
PR = "${INC_PR}.2"

TOBUILD := "src/tools/bootstrap ${TOBUILD}"