summaryrefslogtreecommitdiffstats
path: root/app/app.pri
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-03-30 15:05:03 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-04-14 10:56:21 -0700
commit4eee2655560fbb2f7724095bb7fa488f3f39ba55 (patch)
treef8903724e9890fd8163880d04a1f5545577ce3ed /app/app.pri
parent86affe07b3ec456c8c43651a7d009508dd64491a (diff)
dbus: add signal support for removable media
Detect media insertation and removal from lightmediascanner and update the playlist accordingly. This makes some assumptions that only one media device will available at a time. Bug-AGL: SPEC-484 Change-Id: I8300abce3ac09c9cd0327c9d90892e3c5171d8d2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/app.pri')
-rw-r--r--app/app.pri7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/app.pri b/app/app.pri
index f2329c6..82f5a74 100644
--- a/app/app.pri
+++ b/app/app.pri
@@ -16,4 +16,11 @@ packagesExist(sqlite3 lightmediascanner) {
QT += sql
}
+packagesExist(dbus-1) {
+ HEADERS += dbus.h
+ SOURCES += dbus.cpp
+ DEFINES += HAVE_DBUS
+ QT += dbus
+}
+
DESTDIR = $${OUT_PWD}/../package/root/bin