diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
commit | 73ef7b5c0de85525c666e4cb8e0421bae4ec147e (patch) | |
tree | 6ab35cf3505f2ae8069386dd705f8a00f23d8265 /packages/libqpe | |
parent | 7b57ac2ec7359b00a7ab046a40ab037cb90177c2 (diff) |
compute TAG line in opie.bbclass instead of in (all) opie files
BKrev: 42014f09KAfHSQPBUOyP1omr2yGkzA
Diffstat (limited to 'packages/libqpe')
-rw-r--r-- | packages/libqpe/libqpe-opie_1.1.9.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/packages/libqpe/libqpe-opie_1.1.9.bb b/packages/libqpe/libqpe-opie_1.1.9.bb index e69de29bb2..e600f40445 100644 --- a/packages/libqpe/libqpe-opie_1.1.9.bb +++ b/packages/libqpe/libqpe-opie_1.1.9.bb @@ -0,0 +1,61 @@ +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 = "r4" + + +SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \ + file://nomax.patch;patch=1;pnum=1" + +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 " +XXFLAGS_append_tosa = " -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" |