DESCRIPTION= "Korganizer/Pi is a powerful calender and ToDo Tool for Qt/Embedded based Palmtop Environments" SECTION = "base" PRIORITY = "optional" MAINTAINER = "Sebastian Goergen " LICENSE = "GPL" RDEPENDS = "lipqpe1" DEPENDS ="virtual/libc virtual/libqpe" PR = "b" SRC_URI = "http://www.pi-sync.net/daunlood/latest/korganizerPi.170${PR}.tar.gz" S = "${WORKDIR}/korganizerPi.170${PR}" inherit palmtop EXTRA_QMAKEVARS_POST = "QMAKE_UIC=${STAGING_BINDIR}/uic QMAKE_MOC=${STAGING_BINDIR}/moc QMAKE_RPATH=-Wl,-rpath-link," QMAKE_PROFILES= "all.pro" SUBDIRS="microkde libical/src/libical libical/src/libicalss libkcal libkdepim libkabcwrap kalarmd korganizer" do_configure_prepend() { echo -e "TEMPLATE=subdirs\nSUBDIRS=qtcompat ${SUBDIRS}\n" >all.pro for d in ${SUBDIRS} do mv -f ${d}/`basename ${d}`E.pro ${d}/`basename ${d}`.pro done } do_install() { install -d ${D}/${palmtopdir}/bin \ ${D}/${palmtopdir}/lib \ ${D}/${palmtopdir}/apps/Pim \ ${D}/${palmtopdir}/pics/korganizer/icons16 \ ${D}/${palmtopdir}/pics/korganizer/iconsmini \ ${D}/${palmtopdir}/plugins/applets install -m 0644 korganizer/korganizer.desktop ${D}/opt/QtPalmtop/apps/Pim/korganizer.desktop cd ${S}/pics cp ko*.png ${D}/opt/QtPalmtop/pics cp *.png *.wav ${D}/opt/QtPalmtop/pics/korganizer cp ./icons16/*.png ${D}/opt/QtPalmtop/pics/korganizer/icons16 cp ./iconsmini/*.png ${D}/opt/QtPalmtop/pics/korganizer/iconsmini for f in libmicrokde.so.1.0.0 libmicrokdepim.so.1.0.0 libmicrokabc.so.1.0.0 libmicrokcal.so.1.0.0 libmicroqtcompat.so.1.0.0 do oe_soinstall ${STAGING_LIBDIR}/${f} ${D}/opt/QtPalmtop/lib done install -m 0755 ${STAGING_DIR}/${HOST_SYS}/bin/kopi ${D}/opt/QtPalmtop/bin/kopi for f in libkopialarmapplet.so.1.0.0 do oe_soinstall ${STAGING_DIR}/${HOST_SYS}/plugins/applets/${f} ${D}/opt/QtPalmtop/plugins/applets done }