summaryrefslogtreecommitdiff
path: root/korganizer/kopi_1.7.8.oe
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kopi_1.7.8.oe')
-rw-r--r--korganizer/kopi_1.7.8.oe53
1 files changed, 53 insertions, 0 deletions
diff --git a/korganizer/kopi_1.7.8.oe b/korganizer/kopi_1.7.8.oe
index e69de29bb2..167a250011 100644
--- a/korganizer/kopi_1.7.8.oe
+++ b/korganizer/kopi_1.7.8.oe
@@ -0,0 +1,53 @@
+DESCRIPTION= "Korganizer/Pi is a powerful calender and ToDo Tool for Qt/Embedded based Palmtop Environments"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Sebastian Goergen <zeppo@gmx.net>"
+LICENSE = "GPL"
+DEPENDS ="virtual/libqpe"
+
+SRC_URI = "http://www.treke.net/oe/source/kopi178.tar.gz"
+
+S = "${WORKDIR}/kopi"
+
+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/1Pim \
+ ${D}/${palmtopdir}/pics/korganizer/icons16 \
+ ${D}/${palmtopdir}/pics/korganizer/iconsmini \
+ ${D}/${palmtopdir}/plugins/applets
+ install -m 0644 ${S}/bin/pics/*.png ${D}/${palmtopdir}/pics
+ install -m 0644 ${S}/bin/pics/*.wav ${D}/${palmtopdir}/pics
+ install -m 0644 ${S}/bin/pics/*.txt ${D}/${palmtopdir}/pics
+ install -m 0644 ${S}/bin/pics/ko*.png ${D}/${palmtopdir}/pics/korganizer
+ install -m 0644 ${S}/bin/pics/icons16/*.png ${D}/${palmtopdir}/pics/korganizer/icons16
+ install -m 0644 ${S}/bin/pics/iconsmini/*.png ${D}/${palmtopdir}/pics/korganizer/iconsmini
+ install -m 0644 korganizer/korganizer.desktop ${D}/${palmtopdir}/apps/1Pim/korganizer.desktop
+
+ for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat
+ do
+ oe_libinstall -so -C ${STAGING_LIBDIR} $f ${D}/${palmtopdir}/lib
+ done
+
+ install -m 0755 ${STAGING_DIR}/${HOST_SYS}/bin/kopi ${D}/${palmtopdir}/bin/kopi
+
+ for f in libkopialarmapplet
+ do
+ oe_libinstall -so -C ${STAGING_DIR}/${HOST_SYS}/plugins/applets $f ${D}/${palmtopdir}/plugins/applets
+ done
+}