~mateo-salta/uvolman/uvolman

« back to all changes in this revision

Viewing changes to backend/UVolMan/UVolMan.pro

  • Committer: Devid Antonio Filoni
  • Date: 2016-07-29 19:40:57 UTC
  • Revision ID: git-v1:cdfff2c72a8eb5247b10da7d60874d8a3f600168
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TEMPLATE = lib
 
2
TARGET = UVolManbackend
 
3
QT += qml quick dbus
 
4
CONFIG += qt plugin
 
5
 
 
6
load(ubuntu-click)
 
7
 
 
8
TARGET = $$qtLibraryTarget($$TARGET)
 
9
 
 
10
# Input
 
11
SOURCES += \
 
12
    backend.cpp \
 
13
    DBus/DBusGtkAction.cpp \
 
14
    DBus/GtkActionsInterface.cpp \
 
15
    DBus/DBusRestoreEntryVolume.cpp \
 
16
    DBus/PulseRestoreEntry.cpp \
 
17
    DBus/PulseStreamRestore.cpp \
 
18
    IndicatorSoundService.cpp
 
19
 
 
20
HEADERS += \
 
21
    backend.h \
 
22
    DBus/DBusGtkAction.h \
 
23
    DBus/GtkActionsInterface.h \
 
24
    DBus/DBusRestoreEntryVolume.h \
 
25
    DBus/PulseRestoreEntry.h \
 
26
    DBus/PulseStreamRestore.h \
 
27
    IndicatorSoundService.h
 
28
 
 
29
OTHER_FILES = qmldir
 
30
 
 
31
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
 
32
    copy_qmldir.target = $$OUT_PWD/qmldir
 
33
    copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
 
34
    copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
 
35
    QMAKE_EXTRA_TARGETS += copy_qmldir
 
36
    PRE_TARGETDEPS += $$copy_qmldir.target
 
37
}
 
38
 
 
39
qmldir.files = qmldir
 
40
installPath = $${UBUNTU_CLICK_PLUGIN_PATH}/UVolMan
 
41
qmldir.path = $$installPath
 
42
target.path = $$installPath
 
43
INSTALLS += target qmldir
 
44
 
 
45