summaryrefslogtreecommitdiff
path: root/packages/kde4/kde4.inc
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-09-04 13:41:45 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-09-04 13:41:45 +0000
commit3552e0f5cb9c6e751c3e9100d7a897e78c2f2ad3 (patch)
tree4a7fc753cacb3514ee76c169a1e6bd145106764c /packages/kde4/kde4.inc
parente53259c49ae2e2d1cf6a3f2c5ee34b06470bf96b (diff)
parentd48c050212edcbe0faa9cf32511a232a90febac8 (diff)
merge of '061e46a6247ee375f1eb975b1700e93e10652cb9'
and 'a8b3738fe9d7578507efdb8edd971c36ca53b159'
Diffstat (limited to 'packages/kde4/kde4.inc')
-rw-r--r--packages/kde4/kde4.inc46
1 files changed, 46 insertions, 0 deletions
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
+}