diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-28 14:40:07 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-28 14:40:07 +0000 |
commit | 2531374a6b83ab89dcc1d4372d00ced1f8dd6510 (patch) | |
tree | e898a4d890ee1d9bff662e077e6f7a8d31911ce6 /packages/libqpe/libqpe-opie_1.1.8.bb | |
parent | 924e882216f2a6328ab811eb14a4b890c7c06cb1 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2004/12/28 15:11:36+01:00 uni-frankfurt.de!mickeyl
libqpe-opie: bump PR and use proper pnum
2004/12/28 14:40:47+01:00 uni-frankfurt.de!mickeyl
catch up libqpe-opie nomax patch w/ upstream changes
BKrev: 41d17047Rf6VJ8LBEM1PzFiHbf4WBg
Diffstat (limited to 'packages/libqpe/libqpe-opie_1.1.8.bb')
-rw-r--r-- | packages/libqpe/libqpe-opie_1.1.8.bb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/packages/libqpe/libqpe-opie_1.1.8.bb b/packages/libqpe/libqpe-opie_1.1.8.bb index e69de29bb2..37290c0b12 100644 --- a/packages/libqpe/libqpe-opie_1.1.8.bb +++ b/packages/libqpe/libqpe-opie_1.1.8.bb @@ -0,0 +1,60 @@ +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 = "r3" + +TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" +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 " +CXXFLAGS_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" |