diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-12-09 01:08:44 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-12-09 01:08:44 +0000 |
commit | 104a515c3e74a9a4a4598bb69391092b88880588 (patch) | |
tree | 66f731618aaaf3c8c71eff41cedb11f0e7763334 /uicmoc | |
parent | c42032a7b3ac550b38d322ac703582524c5fad08 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/packages.bb
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2004/12/09 01:37:55+01:00 uni-frankfurt.de!mickeyl
uicmoc-native: fix overenthusiastic sed (oe->bb)
BKrev: 41b7a59cTEjSK3t96RNyi9QYzgxSKQ
Diffstat (limited to 'uicmoc')
-rw-r--r-- | uicmoc/uicmoc-native_2.3.7.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/uicmoc/uicmoc-native_2.3.7.bb b/uicmoc/uicmoc-native_2.3.7.bb index e69de29bb2..aea0c4e621 100644 --- a/uicmoc/uicmoc-native_2.3.7.bb +++ b/uicmoc/uicmoc-native_2.3.7.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "User Interface Generator and Meta Object Compiler (moc) for Qt(E) 2.x" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "GPL/QPL" +PR = "r1" + +SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \ + file://fix-makefile.patch;patch=1 \ + file://gcc3_4.patch;patch=1" + +S = "${WORKDIR}/qt-${PV}" + +inherit native qmake-base + +export QTDIR = "${S}" +EXTRA_OEMAKE = 'SYSCONF_CXX="${CXX}" SYSCONF_LINK="${CXX}"' +CXXFLAGS += " -DQWS" + +QT_CONFIG_FLAGS = "-depths 8,16 -no-qvfb -no-g++-exceptions -no-jpeg -no-mng \ + -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm \ + -no-opengl -static -qconfig oe" + +do_configure() { + touch src/tools/qconfig-oe.h + echo "#define QT_NO_FREETYPE" >> src/tools/qconfig-oe.h + echo yes | ./configure ${QT_CONFIG_FLAGS} || die "Configuring qt failed" +} + +do_compile() { + oe_runmake symlinks || die "Can't symlink include files" + oe_runmake -C src/moc || die "Building moc failed" + + cp src/moc/moc bin/ + + oe_runmake -C src || die "Building libqt.a failed" + oe_runmake -C tools/designer/util || die "Building libqutil.a failed" + oe_runmake -C tools/designer/uic || die "Building uic failed" + oe_runmake -C tools/qvfb || die "Building qvfb failed" + oe_runmake -C tools/makeqpf || die "Building makeqpf failed" +} + +do_stage() { + install -m 0755 bin/moc ${STAGING_BINDIR} + install -m 0755 bin/uic ${STAGING_BINDIR} + install -m 0755 tools/makeqpf/makeqpf ${STAGING_BINDIR} +} |