Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
30d9ec68
Commit
30d9ec68
authored
Aug 31, 2015
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds a Qt5 version of libqofono
parent
13fe224d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
0 deletions
+83
-0
libqofono_0.4.bb
recipes-qt/libqofono/libqofono_0.4.bb
+83
-0
No files found.
recipes-qt/libqofono/libqofono_0.4.bb
0 → 100644
View file @
30d9ec68
SUMMARY = "Qt Library for oFono"
HOMEPAGE = "https://github.com/nemomobile/libqofono"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://README;endline=3;md5=8a15bce3921d1238d9a9f23828612947"
SECTION = "qt/lib"
BRANCH = "master"
PV = "0.4+gitr${SRCPV}"
SRCREV = "05055a4b4a579facd007a0a128696030228e0b88"
inherit qmake5 pkgconfig
RDEPENDS_${PN} = "ofono"
RDEPENDS_${PN}-plugin = "${PN}"
PACKAGES =+ "${PN}-plugin ${PN}-plugin-dbg ${PN}-test"
RRECOMMENDS_${PN} = "${PN}-plugin"
SRC_URI = " \
git://github.com/nemomobile/${BPN}.git;branch=${BRANCH} \
"
S = "${WORKDIR}/git"
QT_IMPORTS_DIR = "${libdir}/qt4/imports"
PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/QOfono"
FILES_${PN} = " \
${libdir}/libqofono${SOLIBS} \
"
FILES_${PN}-dev = " \
${includedir}/qofono/* \
${includedir}/qofono/dbus/* \
${libdir}/libqofono${SOLIBSDEV} \
${libdir}/libqofono.prl \
${libdir}/pkgconfig/qofono.pc \
${datadir}/qt4/mkspecs/features/qofono.prf \
"
FILES_${PN}-plugin = " \
${PLUGINS_TARGET}/qmldir \
${PLUGINS_TARGET}/lib*.so \
"
FILES_${PN}-plugin-dbg = " \
${PLUGINS_TARGET}/.debug \
"
FILES_${PN}-test = " \
/opt/ofonotest/bin/ofonotest \
/opt/ofonotest/qml/ofonotest \
${libdir}/libqofono/tests/tst_qofonotest \
"
FILES_${PN}-dbg += " \
/opt/ofonotest/bin/.debug \
${libdir}/libqofono/tests/.debug \
"
EXTRA_QMAKEVARS_PRE = " \
PREFIX=${prefix} \
"
do_configure_prepend() {
# Hack *.pro variables
find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';'
find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_PREFIX\],$$INSTALL_ROOT$$PREFIX,g' '{}' ';'
}
do_install() {
export INSTALL_ROOT=${D}
oe_runmake install
cd ${D}/${datadir}/qt4/mkspecs/features
sed -i -e '/DEPENDPATH.*/d; /INCLUDEPATH.*/d; /LIBS.*/d' ${D}/${datadir}/qt4/mkspecs/features/qofono.prf
# to make it work with the SDK
echo 'DEPENDPATH += $(OE_QMAKE_INCDIR_QT)/../qofono' >> ${D}/${datadir}/qt4/mkspecs/features/qofono.prf
echo 'INCLUDEPATH += $(OE_QMAKE_INCDIR_QT)/../qofono' >> ${D}/${datadir}/qt4/mkspecs/features/qofono.prf
echo 'LIBS += -lqofono' >> ${D}/${datadir}/qt4/mkspecs/features/qofono.prf
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment