summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-04 10:26:13 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-04 10:26:13 +0000
commit614d641dda3ea8a65293697ce2847f47984257b8 (patch)
tree2fc0fd073226a6e807f82c871a44b883f2eb1652
parent2c432184fd049be1ae22d659911d260e82deffa2 (diff)
kde4: add framework for building kde4 apps
* currently in: automoc-native, akonadi, gmm, qca and strigi * needs 'apt-get install qt4-dev-tools' till we get a proper qt4-native
-rw-r--r--packages/kde4/.mtn2git_empty0
-rw-r--r--packages/kde4/akonadi_1.0.bb9
-rw-r--r--packages/kde4/automoc-native_svn.bb8
-rw-r--r--packages/kde4/gmm_3.0.bb12
-rw-r--r--packages/kde4/kde4-native.inc14
-rw-r--r--packages/kde4/kde4.inc46
-rw-r--r--packages/kde4/qca_2.0.0.bb7
-rw-r--r--packages/kde4/strigi_0.5.10.bb17
8 files changed, 113 insertions, 0 deletions
diff --git a/packages/kde4/.mtn2git_empty b/packages/kde4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/kde4/.mtn2git_empty
diff --git a/packages/kde4/akonadi_1.0.bb b/packages/kde4/akonadi_1.0.bb
new file mode 100644
index 0000000000..2d361bfef2
--- /dev/null
+++ b/packages/kde4/akonadi_1.0.bb
@@ -0,0 +1,9 @@
+require kde4.inc
+
+DEPENDS += "automoc-native"
+
+PV = "1.0"
+SRC_URI = "svn://anonsvn.kde.org/home/kde/branches/akonadi;module=1.0;proto=svn"
+
+S= "${WORKDIR}/1.0"
+
diff --git a/packages/kde4/automoc-native_svn.bb b/packages/kde4/automoc-native_svn.bb
new file mode 100644
index 0000000000..c79e7d1df9
--- /dev/null
+++ b/packages/kde4/automoc-native_svn.bb
@@ -0,0 +1,8 @@
+require kde4.inc
+require kde4-native.inc
+inherit native
+
+SRC_URI = "svn://anonsvn.kde.org/home/kde/trunk/kdesupport;module=automoc;proto=svn"
+
+S = "${WORKDIR}/automoc"
+
diff --git a/packages/kde4/gmm_3.0.bb b/packages/kde4/gmm_3.0.bb
new file mode 100644
index 0000000000..47cda16506
--- /dev/null
+++ b/packages/kde4/gmm_3.0.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "The Getfem++ project focuses on the development of a generic and efficient C++ library for finite element methods."
+LICENSE = "LGPLv2"
+
+inherit autotools
+
+SRC_URI = "http://download.gna.org/getfem/stable/gmm-3.0.tar.gz"
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/packages/kde4/kde4-native.inc b/packages/kde4/kde4-native.inc
new file mode 100644
index 0000000000..247d13704a
--- /dev/null
+++ b/packages/kde4/kde4-native.inc
@@ -0,0 +1,14 @@
+
+# Ugly, use qt4 from the buildhost till someone adds a qt4-native recipe
+
+EXTRA_OECMAKE = "-DQT_LIBRARY_DIR=/usr/lib \
+ -DQT_INSTALL_LIBS=/usr/lib \
+ -DQT_INCLUDE_DIR=/usr/include/qt4 \
+ -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+ -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+ -DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
+ -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+ -DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
+ -DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore \
+ "
+
diff --git a/packages/kde4/kde4.inc b/packages/kde4/kde4.inc
new file mode 100644
index 0000000000..a5ea173b5e
--- /dev/null
+++ b/packages/kde4/kde4.inc
@@ -0,0 +1,46 @@
+LICENSE = "GPL"
+
+inherit qt4x11 cmake
+
+PV = "4.1+svnr${SRCREV}"
+SRCREV = "856719"
+SRC_URI = "svn://anonsvn.kde.org/home/kde/branches/KDE/4.1;module=${PN};proto=svn"
+
+# OE lacks some native qt4 tools, so we use the ones form the host :/
+EXTRA_OECMAKE = "-DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
+ -DQT_INSTALL_LIBS=${OE_QMAKE_LIBDIR_QT} \
+ -DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
+ -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+ -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+ -DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
+ -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+ -DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
+ -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
+ -DQT_DBUSXML2CPP_EXECUTABLE=/usr/bin/qdbusxml2cpp \
+ -DQT_DBUSCPP2XML_EXECUTABLE=/usr/bin/qdbuscpp2xml \
+ "
+
+
+S = "${WORKDIR}/${PN}"
+
+
+do_install_append() {
+ install -d ${D}/${libdir}/qt4
+ mv ${D}/${STAGING_DIR_TARGET}/qt4/plugins* ${D}/${libdir}/qt4 || true
+}
+
+FILES_${PN} += "${libdir}/qt4 \
+ ${datadir}/mime \
+ ${datadir}/dbus-1 \
+ ${datadir}/config \
+ "
+
+FILES_${PN}-dbg += "${libdir}/qt4/.debug \
+ ${libdir}/qt4/*/.debug \
+ ${libdir}/qt4/*/*/.debug"
+
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/kde4/qca_2.0.0.bb b/packages/kde4/qca_2.0.0.bb
new file mode 100644
index 0000000000..c2e7e3f371
--- /dev/null
+++ b/packages/kde4/qca_2.0.0.bb
@@ -0,0 +1,7 @@
+require kde4.inc
+
+PV = "2.0.0"
+SRC_URI = "svn://anonsvn.kde.org/home/kde/tags/qca;module=2.0.0;proto=svn"
+
+S= "${WORKDIR}/2.0.0"
+
diff --git a/packages/kde4/strigi_0.5.10.bb b/packages/kde4/strigi_0.5.10.bb
new file mode 100644
index 0000000000..3dacbfa2f0
--- /dev/null
+++ b/packages/kde4/strigi_0.5.10.bb
@@ -0,0 +1,17 @@
+inherit qt4x11 cmake
+
+DEPENDS += "clucene-core pidgin expat gamin"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/strigi/strigi-${PV}.tar.bz2"
+
+EXTRA_OECMAKE = "-DENABLE_FAM:BOOL=ON \
+ -DENABLE_EXPAT:BOOL=ON \
+ -DENABLE_INOTIFY:BOOL=ON \
+ -DGAMIN_LIBARIES:STRING=${STAGING_LIBDIR} \
+ -DGAMIN_LIBRARIES:STRING=${STAGING_LIBDIR} \
+ "
+
+FILES_${PN} += "${datadir}/dbus-1 \
+ "
+
+