Commit a16b4577 authored by Florent Revest's avatar Florent Revest

qt5-feedback-haptics-droid-vibrator: provide a long PressStrong for...

qt5-feedback-haptics-droid-vibrator: provide a long PressStrong for notifications like timer's end or alarmclock
parent 334684ad
From 4b062c99236f4fd7069aa95d47971a5f63605d26 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 28 Feb 2016 13:45:41 +0100
Subject: [PATCH] Fixes build with OE
---
droid-vibrator.pro | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/droid-vibrator.pro b/droid-vibrator.pro
index 4f0806a..c55874c 100644
--- a/droid-vibrator.pro
+++ b/droid-vibrator.pro
@@ -11,7 +11,7 @@ SOURCES += qfeedback.cpp
CONFIG += link_pkgconfig
PKGCONFIG += android-headers libhardware libvibrator
-DEFINES += 'DROID_VIBRATOR_SETTINGS=\'\"$$[QT_INSTALL_PLUGINS]/feedback/droid-vibrator.ini\"\''
+DEFINES += 'DROID_VIBRATOR_SETTINGS=\'\"/usr/lib/plugins/feedback/droid-vibrator.ini\"\''
settings.files = droid-vibrator.ini
settings.path = $$[QT_INSTALL_PLUGINS]/feedback
@@ -27,4 +27,4 @@ INSTALLS += plugindescription
# also enable profile detection. libprofile-qt5 is a bit broken, work around it here.
QT += dbus
QMAKE_CXXFLAGS += -I/usr/include/profile-qt5
-QMAKE_LFLAGS += -lprofile-qt5
+LIBS += -lprofile-qt5
--
2.7.0
Press = 20
Release = 18
PressWeak = 10
ReleaseWeak = 7
PressStrong = 1000
ReleaseStrong = 25
DragStart = 5
DragDropInZone = 15
DragDropOutOfZone = 0
DragCrossBoundary = 10
Appear = 0
Disappear = 0
Move = 0
......@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/mer-hybris/qt5-feedback-haptics-droid-vibrator"
LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://qfeedback.cpp;beginline=1;endline=41;md5=e4a4c22a3d930e7d0019854e1fd35b29"
SRC_URI = "git://github.com/mer-hybris/qt5-feedback-haptics-droid-vibrator;protocol=https"
SRC_URI = "git://github.com/mer-hybris/qt5-feedback-haptics-droid-vibrator;protocol=https \
file://0001-Fixes-build-with-OE.patch \
file://droid-vibrator.ini"
SRCREV = "e70cdbfdca7a6d87793604b6aed8231728f30c64"
PR = "r1"
PV = "+git${SRCREV}"
......@@ -13,8 +15,8 @@ DEPENDS += "qtfeedback libprofile-qt"
inherit qmake5
do_configure_prepend() {
cp ${WORKDIR}/droid-vibrator.ini ${S}/droid-vibrator.ini
sed -i "s@I/usr/include/profile-qt5@I${STAGING_INCDIR}/profile-qt5@" ${S}/droid-vibrator.pro
sed -i "s@QMAKE_LFLAGS += @LIBS += @" ${S}/droid-vibrator.pro
}
FILES_${PN} += "/usr/lib/plugins/feedback/"
......
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