mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-17 20:51:54 +02:00
This fix is currently in discussion upstream for merge: https://git.merproject.org/mer-core/libqofono/merge_requests/16 Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
41 lines
1.1 KiB
BlitzBasic
41 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Qt 5 bindings for the ofono dbus API"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
|
|
|
|
SRCREV = "3581a6e85561da85858e1b90bef9be88b87acc4d"
|
|
SRC_URI = "git://git.merproject.org/mer-core/libqofono.git \
|
|
file://0001-also-emit-modemRemoved-and-modemAdded.patch \
|
|
"
|
|
S = "${WORKDIR}/git"
|
|
|
|
PV = "0.98+gitr${SRCPV}"
|
|
|
|
inherit qmake5
|
|
|
|
do_install_append() {
|
|
if ls ${D}${libdir}/pkgconfig/qofono-qt5.pc >/dev/null 2>/dev/null; then
|
|
sed -i "s@-L${STAGING_LIBDIR}@-L\${libdir}@g" ${D}${libdir}/pkgconfig/qofono-qt5.pc
|
|
fi
|
|
}
|
|
|
|
PACKAGES += "${PN}-tests"
|
|
|
|
FILES_${PN}-tests = " \
|
|
${libdir}/libqofono-qt5/tests/tst_* \
|
|
/opt/examples/libqofono-qt5/ \
|
|
/opt/tests/libqofono-qt5 \
|
|
"
|
|
FILES_${PN} += " \
|
|
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/qmldir \
|
|
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/plugins.qmltypes \
|
|
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/libQOfonoQtDeclarative.so \
|
|
"
|
|
FILES_${PN}-dev += " \
|
|
${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
|
|
${libdir}/libqofono-qt5.prl \
|
|
${datadir}/qt5/mkspecs \
|
|
"
|