Changelog fixed.
[jspeed] / jspeed.pro
index 2004508..f3014b6 100644 (file)
@@ -18,10 +18,9 @@ SOURCES += src/main.cpp \
            src/rectangle.cpp \
            src/pointer.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 \
@@ -48,10 +47,9 @@ HEADERS += src/mainwindow.h \
            src/rectangle.h \
            src/pointer.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 \
@@ -74,18 +72,24 @@ unix {
 
   BINDIR = $$PREFIX/bin
   DATADIR =$$PREFIX/share
+  THEMEDIR = /home/user/.jspeed/themes
 
   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
 
   #MAKE INSTALL
 
-  INSTALLS += target desktop icon26 icon48 icon64
+  INSTALLS += target desktop themes icon26 icon48 icon64
 
   target.path =$$BINDIR
 
   desktop.path = $$DATADIR/applications/hildon
   desktop.files += src/data/$${TARGET}.desktop
 
+  themes.path = $$THEMEDIR
+  themes.files += src/data/themes/graphical.jspeed \
+                  src/data/themes/white.jspeed \
+                  src/data/themes/dark.jspeed
+
   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
   icon26.files += src/data/26x26/$${TARGET}.png