aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-qt
diff options
context:
space:
mode:
authorWayne Warren <steven.w.warren@gmail.com>2013-04-22 18:45:10 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-26 10:00:32 +0200
commit83d8217c45193e05707319ecf7034d250ab50fdb (patch)
treef207ce389ec2420fc8f419cf33f9d3d20d7558ba /meta-oe/recipes-qt
parentc61ab94d5b94672a29b0b06b6fb7b6d5ea38119e (diff)
downloadmeta-openembedded-contrib-83d8217c45193e05707319ecf7034d250ab50fdb.tar.gz
meta-openembedded-contrib-83d8217c45193e05707319ecf7034d250ab50fdb.tar.bz2
meta-openembedded-contrib-83d8217c45193e05707319ecf7034d250ab50fdb.zip
qtserialport: Adds initial recipe.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-qt')
-rw-r--r--meta-oe/recipes-qt/qtserialport/qtserialport.inc34
-rw-r--r--meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb6
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/qtserialport/qtserialport.inc b/meta-oe/recipes-qt/qtserialport/qtserialport.inc
new file mode 100644
index 0000000000..09f2f9a2f3
--- /dev/null
+++ b/meta-oe/recipes-qt/qtserialport/qtserialport.inc
@@ -0,0 +1,34 @@
+DESCRIPTION = "Qt Serial Port Library"
+SECTION = "qt/libs"
+HOMEPAGE = "http://qt-project.org/wiki/QtSerialPort"
+
+LICENSE = "LGPL FDL GPL "
+LIC_FILES_CHKSUM = " \
+ file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa \
+ file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
+ file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c \
+ "
+
+inherit qt4e pkgconfig
+
+SRC_URI = " \
+ git://gitorious.org/qt/qtserialport.git \
+"
+
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/${BPN}-${PV}"
+
+QMAKE_PROFILES="${S}/qtserialport.pro"
+EXTRA_QMAKEVARS_PRE += "PREFIX=/usr"
+EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
+
+do_compile_append() {
+ BOGUS_PREFIX=`qmake2 -query QT_INSTALL_PREFIX`
+ for f in `find ${B} -name "Makefile"` ;do
+ sed -i -e "s|\(\$(INSTALL_ROOT)\)${BOGUS_PREFIX}|\1${prefix}|g" ${f}
+ done
+}
+
+do_install() {
+ oe_runmake install DESTDIR=${D} INCLUDEDIR=${includedir}
+}
diff --git a/meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb b/meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb
new file mode 100644
index 0000000000..d903eb3ae0
--- /dev/null
+++ b/meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb
@@ -0,0 +1,6 @@
+require qtserialport.inc
+
+PR = "r0"
+
+SRCREV="22e45f0b0f956c025339d72ad53dca57ef684858"
+