summaryrefslogtreecommitdiff
path: root/uicmoc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-11 17:44:47 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-11 17:44:47 +0000
commit738bb4fe77586577390058c648265ab13dff32c3 (patch)
treeb69c4b53e90f93291c13bb9c9d4d7e95dd8910fa /uicmoc
parentb961dab61060dedcd5cfb466a6b05ff34cf9a717 (diff)
make opie-i18n native tools use our qmake+qmakespec
BKrev: 40a1110fG-4TbJI-4a1p-65rqpmVzg
Diffstat (limited to 'uicmoc')
-rw-r--r--uicmoc/uicmoc3_native_3.3.2.oe34
1 files changed, 34 insertions, 0 deletions
diff --git a/uicmoc/uicmoc3_native_3.3.2.oe b/uicmoc/uicmoc3_native_3.3.2.oe
index e69de29bb2..f701ecb5bb 100644
--- a/uicmoc/uicmoc3_native_3.3.2.oe
+++ b/uicmoc/uicmoc3_native_3.3.2.oe
@@ -0,0 +1,34 @@
+DESCRIPTION = "User Interface Generator and Meta Object Compiler (moc) for Qt(E) 3.x"
+SECTION = "tools"
+PRIORITY = "optional"
+LICENSE = "GPL/QPL"
+
+SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-free-3.3.2.tar.bz2 \
+ file://${FILESDIR}/no-examples.patch;patch=1"
+S = "${WORKDIR}/qt-embedded-free-3.3.2"
+
+inherit native
+
+export QTDIR = "${S}"
+export SYSCONF_CXX = "${CCACHE} g++"
+export SYSCONF_CC = "${CCACHE} gcc"
+export SYSCONF_LINK = "${CCACHE} g++"
+export QMAKESPEC = ""
+ARCH_i686 = "x86"
+
+QT_CONFIG_FLAGS = "-release -static -depths 8,16 -qt-zlib -no-nas-sound -no-sm -qt-libpng -no-gif -no-xshape -no-xinerama -no-xcursor -no-xrandr \
+ -no-xrender -no-xft -no-tablet -no-xkb -no-dlopen-opengl -no-freetype -no-thread -no-nis -no-cups"
+
+do_configure() {
+ echo "yes" | ./configure -prefix ${prefix} ${QT_CONFIG_FLAGS}
+}
+
+do_stage() {
+ install -m 0755 bin/moc ${STAGING_BINDIR}/moc3
+ install -m 0755 bin/uic ${STAGING_BINDIR}/uic3
+ install -m 0655 lib/*.a ${STAGING_LIBDIR}/
+ for f in include/*.h
+ do
+ install -m 0644 $f ${STAGING_INCDIR}/
+ done
+}