aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerman van Hazendonk <github.com@herrie.org>2022-06-09 10:14:19 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2022-06-09 10:26:08 +0200
commit939e7a7cebf967f33786ae9ec15e6684f632719e (patch)
tree8de0f0fb30f8cb2875c83e0a296e762a70f22601
parent918021201021ed95b73eec700a6384d2e93bf942 (diff)
libconnman-qt5: Drop upstreamed patch for MeeGo prefix removal
MeeGo prefix was made optional by sending the adjusted patch upstream. By defining "no-module-prefix" it will now build without prefix. Signed-off-by: Herman van Hazendonk <github.com@herrie.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch43
-rw-r--r--recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb7
2 files changed, 4 insertions, 46 deletions
diff --git a/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch b/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch
deleted file mode 100644
index 028e3f5c..00000000
--- a/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 827b323ee9a6db04c1f5b644abea0ced2095096a Mon Sep 17 00:00:00 2001
-From: Christophe Chapuis <chris.chapuis@gmail.com>
-Date: Tue, 26 Jan 2016 18:56:42 +0100
-Subject: [PATCH] Don't use MeeGo as prefix in order to make this a common
- component
-
-Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
-Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
----
- plugin/plugin.cpp | 2 +-
- plugin/plugin.pro | 2 +-
- plugin/qmldir | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
---- a/plugin/plugin.cpp
-+++ b/plugin/plugin.cpp
-@@ -34,7 +34,7 @@ static QObject *singleton_api_factory(QQ
- class ConnmanPlugin: public QQmlExtensionPlugin
- {
- Q_OBJECT
-- Q_PLUGIN_METADATA(IID "MeeGo.Connman")
-+ Q_PLUGIN_METADATA(IID "Connman")
-
- public:
- void registerTypes(const char *uri);
---- a/plugin/plugin.pro
-+++ b/plugin/plugin.pro
-@@ -17,7 +17,7 @@ LIBS += -l$$qtLibraryTarget(connman-$$TA
- QT += qml
- OTHER_FILES += plugin.json plugins.qmltypes qmldirs
-
--MODULENAME = MeeGo/Connman
-+MODULENAME = Connman
- TARGETPATH = $$[QT_INSTALL_QML]/$$MODULENAME
-
- target.path = $$TARGETPATH
---- a/plugin/qmldir
-+++ b/plugin/qmldir
-@@ -1,3 +1,3 @@
--module MeeGo.Connman
-+module Connman
- plugin ConnmanQtDeclarative
- typeinfo plugins.qmltypes
diff --git a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb
index 89f4dab5..a87fa357 100644
--- a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb
+++ b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb
@@ -5,11 +5,10 @@ HOMEPAGE = "https://github.com/sailfishos/libconnman-qt"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88"
DEPENDS += "qtbase qtdeclarative"
-PV = "1.2.35+git${SRCPV}"
+PV = "1.2.45+git${SRCPV}"
-SRCREV = "347f20fe1a03bf0624f55b9108c797611e79f7d2"
+SRCREV = "1b1ef5693218b3e4f398a320b91ab84ea38d87d7"
SRC_URI = "git://github.com/sailfishos/libconnman-qt.git;protocol=https;branch=master \
- file://0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch \
file://0001-Add-missing-declarations-for-operator-overloads.patch \
"
@@ -17,6 +16,8 @@ S = "${WORKDIR}/git"
inherit pkgconfig
+EXTRA_QMAKEVARS_PRE = "CONFIG+=no-module-prefix"
+
RDEPENDS:${PN} += "connman"
do_install:append() {