Changed the section to user/hidden as required for Nokia Store
[ghostsoverboard] / ghostsoverboard.pro
index 4309de7..1193d0f 100644 (file)
@@ -6,35 +6,39 @@
 
 QT       += core gui
 QT      += dbus
+QT      += declarative
 
 TARGET = ghostsoverboard
 TEMPLATE = app
+VERSION = 0.4.0
 
 
 SOURCES += main.cpp\
-        mainwindow.cpp \
     orientationcontrolledgraphicspixmapobject.cpp \
     seascene.cpp \
-    seaview.cpp \
     ship.cpp \
     screenlitkeeper.cpp \
     timercontrolledgraphicspixmapobject.cpp \
     octopus.cpp \
-    level.cpp
+    level.cpp \
+    seaview.cpp \
+    levelset.cpp
 
-HEADERS  += mainwindow.h \
+HEADERS  += \
     orientationcontrolledgraphicspixmapobject.h \
     seascene.h \
-    seaview.h \
     ship.h \
     screenlitkeeper.h \
     timercontrolledgraphicspixmapobject.h \
     octopus.h \
-    level.h
+    level.h \
+    seaview.h \
+    levelset.h
 
 CONFIG += mobility
 MOBILITY = sensors
 MOBILITY += systeminfo
+MOBILITY += feedback
 
 symbian {
     TARGET.UID3 = 0xe3f4bbc2
@@ -47,7 +51,7 @@ unix:!symbian {
     maemo5 {
         target.path = /opt/usr/bin
     } else {
-        target.path = /usr/local/bin
+    target.path = /opt/ghostsoverboard/bin
     }
     INSTALLS += target
 }
@@ -68,3 +72,41 @@ maemo5 {
     icon.path = /usr/share/icons/hicolor/64x64/apps
     INSTALLS += icon
 }
+
+OTHER_FILES += \
+    qtc_packaging/debian_fremantle/rules \
+    qtc_packaging/debian_fremantle/README \
+    qtc_packaging/debian_fremantle/copyright \
+    qtc_packaging/debian_fremantle/control \
+    qtc_packaging/debian_fremantle/compat \
+    qtc_packaging/debian_fremantle/changelog \
+    qtc_packaging/debian_harmattan/rules \
+    qtc_packaging/debian_harmattan/README \
+    qtc_packaging/debian_harmattan/copyright \
+    qtc_packaging/debian_harmattan/control \
+    qtc_packaging/debian_harmattan/compat \
+    qtc_packaging/debian_harmattan/changelog \
+
+
+unix:!symbian:!maemo5 {
+    desktopfile.files = $${TARGET}.desktop
+    desktopfile.path = /usr/share/applications
+    INSTALLS += desktopfile
+}
+
+unix:!symbian:!maemo5 {
+    icon.files = ghostsoverboard.svg
+    icon.path = /usr/share/icons/hicolor/scalable/apps
+    INSTALLS += icon
+}
+
+
+unix:!symbian:!maemo5 {
+    resourcepolicy.files = ghostsoverboard.conf
+    resourcepolicy.path = /usr/share/policy/etc/syspart.conf.d
+    INSTALLS += resourcepolicy
+
+
+    CONFIG +=  link_pkgconfig
+    PKGCONFIG += libresourceqt1
+}