summaryrefslogtreecommitdiffstats
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-83d8217c45193e05707319ecf7034d250ab50fdb.tar.gz
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 000000000..09f2f9a2f
--- /dev/null
+++ b/meta-oe/recipes-qt/qtserialport/qtserialport.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "Qt Serial Port Library"
2SECTION = "qt/libs"
3HOMEPAGE = "http://qt-project.org/wiki/QtSerialPort"
4
5LICENSE = "LGPL FDL GPL "
6LIC_FILES_CHKSUM = " \
7 file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa \
8 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
9 file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c \
10 "
11
12inherit qt4e pkgconfig
13
14SRC_URI = " \
15 git://gitorious.org/qt/qtserialport.git \
16"
17
18S = "${WORKDIR}/git"
19B = "${WORKDIR}/${BPN}-${PV}"
20
21QMAKE_PROFILES="${S}/qtserialport.pro"
22EXTRA_QMAKEVARS_PRE += "PREFIX=/usr"
23EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
24
25do_compile_append() {
26 BOGUS_PREFIX=`qmake2 -query QT_INSTALL_PREFIX`
27 for f in `find ${B} -name "Makefile"` ;do
28 sed -i -e "s|\(\$(INSTALL_ROOT)\)${BOGUS_PREFIX}|\1${prefix}|g" ${f}
29 done
30}
31
32do_install() {
33 oe_runmake install DESTDIR=${D} INCLUDEDIR=${includedir}
34}
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 000000000..d903eb3ae
--- /dev/null
+++ b/meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb
@@ -0,0 +1,6 @@
1require qtserialport.inc
2
3PR = "r0"
4
5SRCREV="22e45f0b0f956c025339d72ad53dca57ef684858"
6