Added .conf file to glassify the app as game
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 24 Sep 2011 13:57:46 +0000 (16:57 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 24 Sep 2011 13:57:46 +0000 (16:57 +0300)
Vibra resource still denied.

ghostsoverboard.conf [new file with mode: 0644]
ghostsoverboard.pro

diff --git a/ghostsoverboard.conf b/ghostsoverboard.conf
new file mode 100644 (file)
index 0000000..fb92295
--- /dev/null
@@ -0,0 +1,2 @@
+[classify gaming]
+/opt/ghostsoverboard/bin/ghostsoverboard
index 247a8f2..f546741 100644 (file)
@@ -100,8 +100,13 @@ unix:!symbian:!maemo5 {
     INSTALLS += icon
 }
 
-#Harmattan specific:
 
-  CONFIG +=  link_pkgconfig
-  PKGCONFIG += libresourceqt1
+unix:!symbian:!maemo5 {
+    resourcepolicy.files = ghostsoverboard.conf
+    resourcepolicy.path = /usr/share/policy/etc/syspart.conf.d
+    INSTALLS += resourcepolicy
+
 
+    CONFIG +=  link_pkgconfig
+    PKGCONFIG += libresourceqt1
+}