diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-qt/qtserialport | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-qt/qtserialport')
-rw-r--r-- | meta-oe/recipes-qt/qtserialport/qtserialport-e_5.1.0.bb | 5 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qtserialport/qtserialport.inc | 48 |
2 files changed, 53 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/qtserialport/qtserialport-e_5.1.0.bb b/meta-oe/recipes-qt/qtserialport/qtserialport-e_5.1.0.bb new file mode 100644 index 000000000..c466562bb --- /dev/null +++ b/meta-oe/recipes-qt/qtserialport/qtserialport-e_5.1.0.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit qt4e | ||
2 | |||
3 | require qtserialport.inc | ||
4 | |||
5 | SRCREV = "22e45f0b0f956c025339d72ad53dca57ef684858" | ||
diff --git a/meta-oe/recipes-qt/qtserialport/qtserialport.inc b/meta-oe/recipes-qt/qtserialport/qtserialport.inc new file mode 100644 index 000000000..dde49a5ce --- /dev/null +++ b/meta-oe/recipes-qt/qtserialport/qtserialport.inc | |||
@@ -0,0 +1,48 @@ | |||
1 | SUMMARY = "Qt Serial Port Library" | ||
2 | SECTION = "qt/libs" | ||
3 | HOMEPAGE = "http://qt-project.org/wiki/QtSerialPort" | ||
4 | |||
5 | LICENSE = "(LGPL-2.1 | GPL-3.0) & GFDL-1.3" | ||
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 pkgconfig | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | git://gitorious.org/qt/qtserialport.git;branch=stable \ | ||
16 | " | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | B = "${WORKDIR}/${BPN}-${PV}" | ||
20 | |||
21 | QMAKE_PROFILES = "${S}/qtserialport.pro" | ||
22 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | ||
23 | OE_QMAKE_QMAKE = "${WORKDIR}/qmake2" | ||
24 | |||
25 | do_prepare_qmake_symlink() { | ||
26 | ln -sf "${STAGING_BINDIR_NATIVE}/qmake2" ${WORKDIR} | ||
27 | } | ||
28 | |||
29 | addtask prepare_qmake_symlink after do_generate_qt_config_file before do_configure | ||
30 | |||
31 | do_configure_prepend() { | ||
32 | sed -i -e "s|\(Prefix\ =\).*|\1${prefix}|" ${WORKDIR}/qt.conf | ||
33 | sed -i -r -e "/^(Binaries|Headers|Plugins|Mkspecs)/ d" ${WORKDIR}/qt.conf | ||
34 | } | ||
35 | |||
36 | do_install() { | ||
37 | oe_runmake install DESTDIR=${D} INCLUDEDIR=${includedir} | ||
38 | } | ||
39 | |||
40 | FILES_${PN}-dev += " \ | ||
41 | ${includedir}/QtSerialPort/* \ | ||
42 | ${prefix}/mkspecs/* \ | ||
43 | ${libdir}/*.prl \ | ||
44 | " | ||
45 | |||
46 | FILES_${PN}-dbg += " \ | ||
47 | ${libdir}/.debug/* \ | ||
48 | " | ||