summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-20 05:50:01 +0000
committerChris Larson <clarson@kergoth.com>2004-01-20 05:50:01 +0000
commit21048a7289cfceabfebc9b930c7d2c93241c2d21 (patch)
tree1ff196f0824c74f42ae9bd43176dce2630d30287
parent0ba1fd5f2ac718b3b9fb19ee8602481d223626b4 (diff)
Add uicmoc-native to deps of korg/e and libqpe-opie.
BKrev: 400cc18924VnPUe9OnmJYqCcAjNtpQ
-rw-r--r--korganizer/korganizer-embedded_1.5.0.oe45
-rw-r--r--libqpe/libqpe-opie_1.0.3.oe57
2 files changed, 102 insertions, 0 deletions
diff --git a/korganizer/korganizer-embedded_1.5.0.oe b/korganizer/korganizer-embedded_1.5.0.oe
index e69de29bb2..daa08aef35 100644
--- a/korganizer/korganizer-embedded_1.5.0.oe
+++ b/korganizer/korganizer-embedded_1.5.0.oe
@@ -0,0 +1,45 @@
+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://www.pi-sync.net/korgenizerE-1.5.0rc2.tar.gz
+S = "${WORKDIR}/korgenizerE-${PV}"
+
+FILES=
+FILES_${PN}=/opt/QtPalmtop
+
+QMAKE=${STAGING_BINDIR}/qmake
+QMAKESPEC=${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++
+
+EXTRA_QMAKEVARS_POST = "QMAKE_UIC=${STAGING_BINDIR}/uic QMAKE_MOC=${STAGING_BINDIR}/moc QMAKE_RPATH=-Wl,-rpath-link,"
+
+do_configure() {
+ echo -e "TEMPLATE=subdirs\nSUBDIRS=qtcompat microkde libical/src/libical libical/src/libicalss libkcal libkdepim kalarmd korganizer\n" >all.pro
+ cd ${S}/qtcompat; ${QMAKE} -spec ${QMAKESPEC} qtcompat.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/microkde; ${QMAKE} -spec ${QMAKESPEC} microkde.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/libkcal; ${QMAKE} -spec ${QMAKESPEC} kcal.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/libkdepim; ${QMAKE} -spec ${QMAKESPEC} kdepim.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/kalarmd; ${QMAKE} -spec ${QMAKESPEC} kalarmd.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/korganizer; ${QMAKE} -spec ${QMAKESPEC} korganizer.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/libical/src/libical; ${QMAKE} -spec ${QMAKESPEC} ical.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}/libical/src/libicalss; ${QMAKE} -spec ${QMAKESPEC} icalss.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+ cd ${S}; ${QMAKE} -spec ${QMAKESPEC} all.pro -after ${EXTRA_QMAKEVARS_POST} -o Makefile
+}
+
+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
+}
diff --git a/libqpe/libqpe-opie_1.0.3.oe b/libqpe/libqpe-opie_1.0.3.oe
index e69de29bb2..c7d063af4b 100644
--- a/libqpe/libqpe-opie_1.0.3.oe
+++ b/libqpe/libqpe-opie_1.0.3.oe
@@ -0,0 +1,57 @@
+DESCRIPTION="Base library for the Qt Palmtop Environment"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+LICENSE="GPL"
+DEPENDS=virtual/libc uicmoc-native
+PROVIDES=virtual/libqpe
+
+SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/library;tag=${@'v' + oe.data.getVar('PV',d,1).replace('.','_')}"
+S = ${WORKDIR}/library
+
+inherit qmake
+
+QMAKE_PROFILES = "library.pro"
+
+export QTDIR=${STAGING_DIR}/target
+export OPIEDIR=${STAGING_DIR}/target
+
+CXXFLAGS_append = " -DQWS -fno-rtti -fno-exceptions"
+
+#
+# for developing - qmake.oeclass should gather this automatically
+#
+export QMAKESPEC=${QMAKE_MKSPEC_PATH}/qws/linux-sharp-g++
+
+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 DESTDIR=${S}
+}
+
+do_stage() {
+ oe_soinstall libqpe.so.1.5.0 ${STAGING_LIBDIR}
+ # include files already done during do_compile
+}
+
+do_install() {
+ install -d ${D}/${prefix}/lib
+ oe_soinstall ${STAGING_LIBDIR}/libqpe.so.1.5.0 ${D}/${prefix}/lib
+}
+