summaryrefslogtreecommitdiff
path: root/nonworking
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-26 00:57:52 +0000
committerChris Larson <clarson@kergoth.com>2004-03-26 00:57:52 +0000
commitda7167751a98cea5553ffbc3c0dd8788d2fe4f9e (patch)
tree2a80e12389d9d277d05b84c056184c21d9a60e35 /nonworking
parent896626071d8322e50296dfd428775e5fde6a56bc (diff)
Apply patch from Alexander Enis to fix the korganizer 1.5.0 build.
BKrev: 40638010xWRc-RGHnL8lNjh9Eh3z-Q
Diffstat (limited to 'nonworking')
-rw-r--r--nonworking/korganizer/korganizer-embedded_1.5.0.oe41
1 files changed, 41 insertions, 0 deletions
diff --git a/nonworking/korganizer/korganizer-embedded_1.5.0.oe b/nonworking/korganizer/korganizer-embedded_1.5.0.oe
index e69de29bb2..fbd426e8ce 100644
--- a/nonworking/korganizer/korganizer-embedded_1.5.0.oe
+++ b/nonworking/korganizer/korganizer-embedded_1.5.0.oe
@@ -0,0 +1,41 @@
+DESCRIPTION="KDE Organizer, QtE based Palmtop Environments Edition"
+SECTION="base"
+PRIORITY="optional"
+LICENSE="GPL"
+RDEPENDS="libqpe1"
+DEPENDS="virtual/libc virtual/libqpe uicmoc-native"
+
+SRC_URI = "http://korganizer.kde.org/files/korganizerPi.150.source.tar.gz \
+ file://${FILESDIR}/qmaketarget.patch;patch=1"
+
+S = "${WORKDIR}/korgenizerPi.150"
+
+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="qtcompat microkde libical/src/libical libical/src/libicalss libkcal libkdepim kalarmd korganizer"
+
+do_configure_prepend() {
+ echo -e "TEMPLATE=subdirs\nSUBDIRS=${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}/opt/QtPalmtop/{bin,lib,apps/Pim,pics/korganizer/icons16}
+ install -m 0644 korganizer/korganizer.desktop ${D}/opt/QtPalmtop/apps/Pim/korganizer.desktop
+ cd ${S}/pics
+ cp *.png *.wav ${D}/opt/QtPalmtop/pics/korganizer
+ cp ./icons16/*.png ${D}/opt/QtPalmtop/pics/korganizer/icons16
+ for f in libmicrokde.so.1.0.0 libkcal.so.1.0.0 libkdepim.so.1.0.0 libqtcompat.so.1.0.0
+ do
+ oe_soinstall ${STAGING_LIBDIR}/${f} ${D}/opt/QtPalmtop/lib
+ rm -f ${STAGING_LIBDIR}/${f}
+ done
+ install -m 0755 ${STAGING_DIR}/target/bin/korganizer ${D}/opt/QtPalmtop/bin/korganizer
+ rm -f ${STAGING_DIR}/target/bin/korganizer
+}