6 SOURCES += src/main.cpp \
8 src/mainwindowstack.cpp \
10 src/graphicsscreen.cpp \
11 src/abstractscreen.cpp \
12 src/widgetscreen.cpp \
17 src/graphicselement.cpp \
19 src/imageelement.cpp \
27 src/detailscreen.cpp \
28 src/graphicsscene.cpp \
30 src/buttonselector.cpp \
31 src/themeselector.cpp \
32 src/unitselector.cpp \
35 src/opacityeffect.cpp \
36 src/dropshadoweffect.cpp \
37 src/flickereffect.cpp \
40 src/poiascreader.cpp \
42 src/speedalarmsettings.cpp \
44 src/fileselector.cpp \
45 src/themescheduler.cpp \
46 src/themeschedulersettings.cpp \
49 src/soundselector.cpp \
51 HEADERS += src/mainwindow.h \
52 src/mainwindowstack.h \
54 src/graphicsscreen.h \
55 src/abstractscreen.h \
61 src/graphicselement.h \
74 src/buttonselector.h \
80 src/dropshadoweffect.h \
86 src/speedalarmsettings.h \
89 src/themescheduler.h \
90 src/themeschedulersettings.h \
95 RESOURCES = src/resources.qrc
96 CONFIG += link_pkgconfig
97 PKGCONFIG += liblocation libzip
105 BINDIR = $$PREFIX/bin
106 DATADIR =$$PREFIX/share
107 APPDIR = /home/user/.jspeed
109 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
113 INSTALLS += target desktop themes sounds icon26 icon48 icon64
115 target.path =$$BINDIR
117 desktop.path = $$DATADIR/applications/hildon
118 desktop.files += src/data/$${TARGET}.desktop
120 themes.path = $$APPDIR/themes
121 themes.files += src/data/themes/white.jspeed \
122 src/data/themes/dark.jspeed
124 sounds.path = $$APPDIR/sounds
125 sounds.files += src/data/sounds/beep.mp3 \
126 src/data/sounds/alert.mp3
128 icon26.path = $$DATADIR/icons/hicolor/26x26/apps
129 icon26.files += src/data/26x26/$${TARGET}.png
131 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
132 icon48.files += src/data/48x48/$${TARGET}.png
134 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
135 icon64.files += src/data/64x64/$${TARGET}.png