diff options
author | Wayne Warren <steven.w.warren@gmail.com> | 2013-04-22 18:45:10 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-26 10:00:32 +0200 |
commit | 83d8217c45193e05707319ecf7034d250ab50fdb (patch) | |
tree | f207ce389ec2420fc8f419cf33f9d3d20d7558ba /meta-oe/recipes-qt | |
parent | c61ab94d5b94672a29b0b06b6fb7b6d5ea38119e (diff) | |
download | meta-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.inc | 34 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qtserialport/qtserialport_5.1.0.bb | 6 |
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 @@ | |||
1 | DESCRIPTION = "Qt Serial Port Library" | ||
2 | SECTION = "qt/libs" | ||
3 | HOMEPAGE = "http://qt-project.org/wiki/QtSerialPort" | ||
4 | |||
5 | LICENSE = "LGPL FDL GPL " | ||
6 | LIC_FILES_CHKSUM = " \ | ||
7 | file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa \ | ||
8 | file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ | ||
9 | file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c \ | ||
10 | " | ||
11 | |||
12 | inherit qt4e pkgconfig | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | git://gitorious.org/qt/qtserialport.git \ | ||
16 | " | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | B = "${WORKDIR}/${BPN}-${PV}" | ||
20 | |||
21 | QMAKE_PROFILES="${S}/qtserialport.pro" | ||
22 | EXTRA_QMAKEVARS_PRE += "PREFIX=/usr" | ||
23 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | ||
24 | |||
25 | do_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 | |||
32 | do_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 @@ | |||
1 | require qtserialport.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRCREV="22e45f0b0f956c025339d72ad53dca57ef684858" | ||
6 | |||