...
[jspeed] / jspeed.pro
index 2004508..e0cc83d 100644 (file)
@@ -1,6 +1,8 @@
 QT += maemo5 xml
 TARGET = jspeed
 TEMPLATE = app
+CONFIG += mobility
+MOBILITY += multimedia sensors
 SOURCES += src/main.cpp \ 
            src/mainwindow.cpp \
            src/mainwindowstack.cpp \
@@ -17,11 +19,11 @@ SOURCES += src/main.cpp \
            src/imageelement.cpp \
            src/rectangle.cpp \
            src/pointer.cpp \
+           src/compass.cpp \
            src/odometer.cpp \
-           src/theme.cpp \
+           src/themeloader.cpp \
            src/themescreen.cpp \
            src/settings.cpp \
-           src/detailwidget.cpp \
            src/detailscreen.cpp \
            src/graphicsscene.cpp \
            src/mainmenu.cpp \
@@ -31,7 +33,22 @@ SOURCES += src/main.cpp \
            src/effect.cpp \
            src/blureffect.cpp \
            src/opacityeffect.cpp \
-           src/dropshadoweffect.cpp
+           src/dropshadoweffect.cpp \
+           src/flickereffect.cpp \
+           src/poialerts.cpp \
+           src/poireader.cpp \
+           src/poiascreader.cpp \
+           src/poisettings.cpp \
+           src/speedalarmsettings.cpp \
+           src/speedalarm.cpp \
+           src/fileselector.cpp \
+           src/themescheduler.cpp \
+           src/themeschedulersettings.cpp \
+           src/themepicker.cpp \
+           src/mediaplayer.cpp \
+           src/soundselector.cpp \
+           src/buttonbox.cpp \
+           src/orientation.cpp
 HEADERS += src/mainwindow.h \
            src/mainwindowstack.h \
            src/location.h \
@@ -47,11 +64,11 @@ HEADERS += src/mainwindow.h \
            src/imageelement.h \
            src/rectangle.h \
            src/pointer.h \
+           src/compass.h \
            src/odometer.h \
-           src/theme.h \
+           src/themeloader.h \
            src/themescreen.h \
            src/settings.h \
-           src/detailwidget.h \
            src/detailscreen.h \
            src/graphicsscene.h \
            src/mainmenu.h \
@@ -61,7 +78,22 @@ HEADERS += src/mainwindow.h \
            src/effect.h \
            src/blureffect.h \
            src/opacityeffect.h \
-           src/dropshadoweffect.h
+           src/dropshadoweffect.h \
+           src/flickereffect.h \
+           src/poialerts.h \
+           src/poireader.h \
+           src/poiascreader.h \
+           src/poisettings.h \
+           src/speedalarmsettings.h \
+           src/speedalarm.h \
+           src/fileselector.h \
+           src/themescheduler.h \
+           src/themeschedulersettings.h \
+           src/themepicker.h \
+           src/mediaplayer.h \
+           src/soundselector.h \
+           src/buttonbox.h \
+           src/orientation.h
 RESOURCES = src/resources.qrc
 CONFIG += link_pkgconfig
 PKGCONFIG += liblocation libzip
@@ -74,18 +106,34 @@ unix {
 
   BINDIR = $$PREFIX/bin
   DATADIR =$$PREFIX/share
+  APPDIR = /home/user/.jspeed
 
   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
 
   #MAKE INSTALL
 
-  INSTALLS += target desktop icon26 icon48 icon64
+  INSTALLS += target desktop themes sounds icon26 icon48 icon64
 
   target.path =$$BINDIR
 
   desktop.path = $$DATADIR/applications/hildon
   desktop.files += src/data/$${TARGET}.desktop
 
+  themes.path = $$APPDIR/themes
+  themes.files += src/data/themes/white.jspeed \
+                  src/data/themes/dark.jspeed
+
+  sounds.path = $$APPDIR/sounds
+  sounds.files += src/data/sounds/beep.mp3 \
+                  src/data/sounds/arca.mp3 \
+                  src/data/sounds/badumm.mp3 \
+                  src/data/sounds/kind.mp3 \
+                  src/data/sounds/sonar.mp3 \
+                  src/data/sounds/spac.mp3 \
+                  src/data/sounds/spring.mp3 \
+                  src/data/sounds/steelyec.mp3 \
+                  src/data/sounds/whoosh.mp3
+
   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
   icon26.files += src/data/26x26/$${TARGET}.png