add icon for app bundle in mac os x

Change-Id: Id9ed842e36d33f06669e4420272ff2668c328087
diff --git a/wscript b/wscript
index 86d4e4f..2b9b5db 100644
--- a/wscript
+++ b/wscript
@@ -229,6 +229,8 @@
 <dict>
     <key>CFBundlePackageType</key>
     <string>APPL</string>
+    <key>CFBundleIconFile</key>
+    <string>chronoshare.icns</string>
     <key>CFBundleGetInfoString</key>
     <string>Created by Waf</string>
     <key>CFBundleIdentifier</key>
@@ -243,10 +245,13 @@
     <string>1</string>
     <key>SUPublicDSAKeyFile</key>
     <string>dsa_pub.pem</string>
+    <key>CFBundleIconFile</key>
+    <string>chronoshare.icns</string>
 </dict>
 </plist>'''
         qt.mac_app = "ChronoShare.app"
         qt.mac_plist = app_plist % "ChronoShare"
+        qt.mac_resources = 'chronoshare.icns'
         qt.use += " OSX_FOUNDATION OSX_COREWLAN adhoc"
 
         if bld.env['HAVE_SPARKLE']: