summaryrefslogtreecommitdiff
path: root/libqpe/libqpe-opie_1.1.7.oe
diff options
context:
space:
mode:
authorGreg Gilbert <greg@treke.net>2004-11-23 08:43:37 +0000
committerGreg Gilbert <greg@treke.net>2004-11-23 08:43:37 +0000
commite765979bbcd29e09a9e5d581f39683c25d93562d (patch)
tree78d93ff5e47828c65e2e2ee6a5bc9987aa49bd3e /libqpe/libqpe-opie_1.1.7.oe
parent880253bd503908af2b425e36c90bff9d5ccc5b3e (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages-devel
into olddog.home.treke.net:/home/ggilbert/oe/packages 2004/11/22 23:47:41-08:00 treke.net!ggilbert libqpe-opie: Adding nomax patch to 1.1.7 for the c7x0's opie-taskbar: Adding no max patch for 1.1.7 BKrev: 41a2f839DqS4pJKj1yZ9v3XXqsdXSg
Diffstat (limited to 'libqpe/libqpe-opie_1.1.7.oe')
-rw-r--r--libqpe/libqpe-opie_1.1.7.oe59
1 files changed, 59 insertions, 0 deletions
diff --git a/libqpe/libqpe-opie_1.1.7.oe b/libqpe/libqpe-opie_1.1.7.oe
index e69de29bb2..99555f7bfc 100644
--- a/libqpe/libqpe-opie_1.1.7.oe
+++ b/libqpe/libqpe-opie_1.1.7.oe
@@ -0,0 +1,59 @@
+DESCRIPTION = "Base library for the Qt Palmtop Environment"
+SECTION = "opie/libs"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "uicmoc-native qte-for-opie"
+PROVIDES = "virtual/libqpe"
+PR = "r2"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};module=opie/library \
+ file://nomax.patch;patch=1;pnum=2"
+S = "${WORKDIR}/library"
+
+inherit qmake
+
+QMAKE_PROFILES = "library.pro"
+EXTRA_QMAKEVARS_PRE = "CONFIG+=LIBQPE_WITHROHFEEDBACK"
+EXTRA_QMAKEVARS_POST = "DESTDIR="
+
+CXXFLAGS_append = " -DQWS -DOPIE_NO_ERASE_RECT_HACKFIX -DOPIE_NEW_MALLOC -fno-rtti -fno-exceptions"
+
+CXXFLAGS_append_husky = " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_corgi = " -DOPIE_NO_WINDOWED "
+CXXFLAGS_append_shepherd = " -DOPIE_NO_WINDOWED "
+
+do_compile() {
+ mkdir -p ${STAGING_INCDIR}/qpe \
+ ${STAGING_INCDIR}/qtopia \
+ ${STAGING_INCDIR}/opie \
+ ${STAGING_INCDIR}/opie2 \
+ ${STAGING_INCDIR}/qtopia/private
+ for i in ${S}/*.h
+ do
+ install -m 0644 $i ${STAGING_INCDIR}/qpe/`basename $i`
+ install -m 0644 $i ${STAGING_INCDIR}/qtopia/`basename $i`
+ install -m 0644 $i ${STAGING_INCDIR}/qtopia/private/`basename $i`
+ done
+ for i in ${S}/backend/*.h
+ do
+ install -m 0644 $i ${STAGING_INCDIR}/qpe/`basename $i`
+ install -m 0644 $i ${STAGING_INCDIR}/qtopia/`basename $i`
+ install -m 0644 $i ${STAGING_INCDIR}/qtopia/private/`basename $i`
+ done
+ rm -f ${STAGING_INCDIR}/qtopia/*_p.h # remove private stuff out of qtopia
+ oe_runmake MOC=${STAGING_BINDIR}/moc UIC=${STAGING_BINDIR}/uic
+}
+
+do_stage() {
+ oe_libinstall -so libqpe ${STAGING_LIBDIR}
+ # include files already done during do_compile
+}
+
+do_install() {
+ oe_libinstall -so libqpe ${D}/${palmtopdir}/lib
+}
+
+PACKAGES = "libqpe1"
+FILES_libqpe1 = "${palmtopdir}/lib"