1 DESCRIPTION = "KDE-Pim Platform Independent - port of KDE Pim to PDA"
2 DESCRIPTION_kopi = "Korganizer/PI is a powerful calendar and ToDo Tool"
3 DESCRIPTION_kopi-applet = "KDE Pim/PI applet"
4 DESCRIPTION_kapi = "KAddressbook/PI is a port of KDE addressbook"
5 DESCRIPTION_libmicrokdelibs = "KDE Pim/PI library - microkde"
6 DESCRIPTION_libmicrokcal = "KDE Pim/PI library - microkcal"
7 DESCRIPTION_libmicrokabc = "KDE Pim/PI library - microkabc"
8 DESCRIPTION_libmicrokammu = "KDE Pim/PI fork of libGammu"
9 DESCRIPTION_kammu = "KDE Pim/PI fork of gammu"
14 HOMEPAGE = "http://www.pi-sync.net/ http://sf.net/projects/kdepimpi/"
15 MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
18 # kabc/plugins/sharpdtm - wants libsl (Sharp ROM 3.x closed source library)
19 # kabc/plugins/ldap - wants ldap libs (?)
20 # kabc/plugins/opie - wants libopie1 (we don't plan to have it in OE)
21 # kmicromail - conflict with OE libetpan, libmailwrapper/OPIE
25 S = "${WORKDIR}/kdepim"
27 EXTRA_QMAKEVARS_POST += " \
29 OBJECTS_DIR=obj/ MOC_DIR=moc/ \
35 # That changes will be needed for KMicroMail/PI to get it build with OE libs
37 # LIBS-=-lkmicromailwrapper LIBS+=-lmailwrapper LIBS+=-lopiecore2 \
39 QMAKE_PROFILES= "all.pro"
41 SUBDIRS="qtcompat libical/src/libical libical/src/libicalss microkde libkcal libkdepim \
42 kabc korganizer kalarmd kaddressbook kabc/plugins/file kabc/plugins/dir \
43 kabc/formats/binary kabc/plugins/qtopia \
46 # pwmanager/libcrypt/mpi \
47 # pwmanager/libcrypt/error \
48 # pwmanager/libcrypt/cipher \
49 # pwmanager/libcrypt/zlib \
50 # pwmanager/pwmanager \
55 do_configure_prepend() {
56 mv ${S}/kabc/formats/binary/kabcformat_binaryE.pro ${S}/kabc/formats/binary/binaryE.pro
57 echo -e "TEMPLATE=subdirs\nSUBDIRS=${SUBDIRS}\n" >all.pro
60 if [ -f ${d}/`basename ${d}`E.pro ];
62 mv -f ${d}/`basename ${d}`E.pro ${d}/`basename ${d}`.pro
72 HEADERS_DIRS = "qtcompat \
86 for dir in ${HEADERS_DIRS};
88 rm -rf ${STAGING_INCDIR}/kdepimpi/$dir
91 for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat
93 rm -f ${STAGING_LIBDIR}/kdepimpi/$f*
97 addtask unstage before do_configure
101 for dir in ${HEADERS_DIRS};
103 install -d ${STAGING_INCDIR}/kdepimpi/$dir
104 install -m 0644 ${S}/$dir/*.h ${STAGING_INCDIR}/kdepimpi/$dir/
107 for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat
109 oe_libinstall -so -C ${S}/dest/ $f ${STAGING_LIBDIR}/kdepimpi/
114 install -d ${D}${palmtopdir}/bin \
115 ${D}${palmtopdir}/lib \
116 ${D}${palmtopdir}/apps/1Pim \
117 ${D}${palmtopdir}/pics/kdepim/korganizer/icons16 \
118 ${D}${palmtopdir}/pics/kdepim/korganizer/iconsmini \
119 ${D}${palmtopdir}/pics/kdepim/kaddressbook/icons16 \
120 ${D}${palmtopdir}/pics/kdepim/kaddressbook/icons22 \
121 ${D}${palmtopdir}/plugins/applets
123 install -m 0644 ${S}/bin/kdepim/korganizer/ko16.png ${D}${palmtopdir}/pics/
124 install -m 0644 ${S}/bin/kdepim/korganizer/ko24.png ${D}${palmtopdir}/pics/
125 install -m 0644 ${S}/bin/kdepim/korganizer/*.* ${D}${palmtopdir}/pics/kdepim/korganizer
126 install -m 0644 ${S}/bin/kdepim/korganizer/icons16/*.png ${D}${palmtopdir}/pics/kdepim/korganizer/icons16
127 install -m 0644 ${S}/bin/kdepim/korganizer/iconsmini/*.png ${D}${palmtopdir}/pics/kdepim/korganizer/iconsmini
128 install -m 0644 korganizer/korganizer.desktop ${D}${palmtopdir}/apps/1Pim/korganizer.desktop
130 install -m 0644 ${S}/bin/kdepim/kaddressbook/*.* ${D}${palmtopdir}/pics/kdepim/kaddressbook
131 install -m 0644 ${S}/bin/kdepim/kaddressbook/icons16/*.png ${D}${palmtopdir}/pics/kdepim/kaddressbook/icons16
132 install -m 0644 ${S}/bin/kdepim/kaddressbook/icons22/*.png ${D}${palmtopdir}/pics/kdepim/kaddressbook/icons22
133 install -m 0644 kaddressbook/kaddressbook.desktop ${D}${palmtopdir}/apps/1Pim/kaddressbook.desktop
135 for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat libmicrokabc_file libmicrokabc_dir libmicrokabcformat_binary libmicrokabc_qtopia
137 oe_libinstall -so -C ${S}/dest/ $f ${D}${palmtopdir}/lib
140 install -m 0755 ${S}/dest/kopi ${D}${palmtopdir}/bin/kopi
141 install -m 0755 ${S}/dest/kapi ${D}${palmtopdir}/bin/kapi
143 install -d ${D}${bindir} ${D}${libdir}
144 install -m 0755 ${S}/dest/kammu ${D}${bindir}/kammu
145 oe_libinstall -so -C ${S}/dest/ libmicrokammu ${D}${libdir}
147 for f in libkopialarmapplet
149 oe_libinstall -so -C ${S}/dest/ $f ${D}${palmtopdir}/plugins/applets
154 PACKAGES = "libmicrokcal libmicrokabc kopi-applet kopi kapi libmicrokdelibs kammu libmicrokammu ${PN}"
156 FILES_kopi = "${palmtopdir}/bin/kopi ${palmtopdir}/apps/1Pim/korganizer.desktop ${palmtopdir}/pics/kdepim/korganizer/* "
157 FILES_kapi = "${palmtopdir}/bin/kapi ${palmtopdir}/apps/1Pim/kaddressbook.desktop ${palmtopdir}/pics/kdepim/kaddressbook/* ${palmtopdir}/lib/libmicrokabc_* ${palmtopdir}/lib/libmicrokabcformat_binary*"
158 FILES_kopi-applet = "${palmtopdir}/plugins/applets/* ${palmtopdir}/pics/ko16.png ${palmtopdir}/pics/ko24.png"
159 FILES_libmicrokabc = "${palmtopdir}/lib/libmicrokabc*"
160 FILES_libmicrokcal = "${palmtopdir}/lib/libmicrokcal*"
161 FILES_libmicrokdelibs = "${palmtopdir}/lib/*"
162 FILES_kammu = "${bindir}/kammu"
163 FILES_libmicrokammu = "${libdir}/libmicrokammu*"