Commit 8ea0f702 authored by Florent Revest's avatar Florent Revest

Adds a recipe for geoclue-provider-hybris

parent 06dd06d4
From f512355db376657ff16976803971ef411b45c259 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Tue, 3 Oct 2017 21:39:45 +0200
Subject: [PATCH 1/2] DeviceControl: Power the device on by default (temporary)
---
devicecontrol.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devicecontrol.cpp b/devicecontrol.cpp
index fe03d27..ce3d578 100644
--- a/devicecontrol.cpp
+++ b/devicecontrol.cpp
@@ -17,7 +17,7 @@
#include <QtDBus/QDBusVariant>
DeviceControl::DeviceControl(QObject *parent)
-: QObject(parent), m_powered(false)
+: QObject(parent), m_powered(true)
{
new DeviceAdaptor(this);
}
--
2.7.4
[location]
enabled=true
gps\enabled=true
agps_providers=""
\ No newline at end of file
SUMMARY = "Libhybris backend for GeoClue"
HOMEPAGE = "https://github.com/mer-hybris/geoclue-providers-hybris"
LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/mer-hybris/geoclue-providers-hybris.git;protocol=https \
file://0001-DeviceControl-Power-the-device-on-by-default-tempora.patch \
file://location.conf"
SRCREV = "29ec9933d09beefcc7ef24b83ef046f0150ec31e"
PR = "r1"
PV = "+git${SRCPV}"
S = "${WORKDIR}/git"
DEPENDS += "geoclue libhybris libconnman-qt5 libqofono qofonoext"
inherit qmake5
do_install_append() {
chmod 04755 ${D}/usr/libexec/geoclue-hybris
mkdir ${D}/etc/location/
cp ${WORKDIR}/location.conf ${D}/etc/location/
}
FILES_${PN} += "/usr/share/dbus-1 /usr/share/geoclue-providers"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment