summaryrefslogtreecommitdiffstats
path: root/packaging/ios
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-06 17:51:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-06 17:51:09 -0800
commit8a96f6e90bbb5e246c2c19b43d82bf24e2ff8c62 (patch)
tree031007221d40cb6f37ef061bb7471c9c6e55619f /packaging/ios
parentba8014eb5c38eb224b722298959c029a4ff64fff (diff)
downloadsubsurface-8a96f6e90bbb5e246c2c19b43d82bf24e2ff8c62.tar.gz
iOS build: bundle application icons and Info.plist
This way the iDevice will show the correct name and icon for Subsurface-mobile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios')
-rw-r--r--packaging/ios/Info.plist79
-rw-r--r--packaging/ios/subsurface-ios/subsurface-ios.pro6
2 files changed, 85 insertions, 0 deletions
diff --git a/packaging/ios/Info.plist b/packaging/ios/Info.plist
new file mode 100644
index 000000000..aeaeab967
--- /dev/null
+++ b/packaging/ios/Info.plist
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleIcons</key>
+ <dict>
+ <key>CFBundlePrimaryIcon</key>
+ <dict>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>AppIcon29x29.png</string>
+ <string>AppIcon29x29@2x.png</string>
+ <string>AppIcon40x40@2x.png</string>
+ <string>AppIcon57x57.png</string>
+ <string>AppIcon57x57@2x.png</string>
+ <string>AppIcon60x60@2x.png</string>
+ </array>
+ </dict>
+ </dict>
+ <key>CFBundleIcons~ipad</key>
+ <dict>
+ <key>CFBundlePrimaryIcon</key>
+ <dict>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>AppIcon29x29.png</string>
+ <string>AppIcon29x29@2x.png</string>
+ <string>AppIcon40x40@2x.png</string>
+ <string>AppIcon57x57.png</string>
+ <string>AppIcon57x57@2x.png</string>
+ <string>AppIcon60x60@2x.png</string>
+ <string>AppIcon29x29~ipad.png</string>
+ <string>AppIcon29x29@2x~ipad.png</string>
+ <string>AppIcon40x40~ipad.png</string>
+ <string>AppIcon40x40@2x~ipad.png</string>
+ <string>AppIcon50x50~ipad.png</string>
+ <string>AppIcon50x50@2x~ipad.png</string>
+ <string>AppIcon72x72~ipad.png</string>
+ <string>AppIcon72x72@2x~ipad.png</string>
+ <string>AppIcon76x76~ipad.png</string>
+ <string>AppIcon76x76@2x~ipad.png</string>
+ </array>
+ </dict>
+ </dict>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleGetInfoString</key>
+ <string>Created by Qt/QMake</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleExecutable</key>
+ <string>subsurface-ios</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.subsurface-divelog.subsurface-mobile</string>
+ <key>CFBundleDisplayName</key>
+ <string>Subsruface-mobile</string>
+ <key>CFBundleName</key>
+ <string>Subsruface-mobile</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.93</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>NOTE</key>
+ <string>This file was generated by Qt/QMake.</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2011-2016 Linus Torvalds, Dirk Hohndel, Tomaz Canabrava and the Subsurface developer team</string>
+</dict>
+</plist>
diff --git a/packaging/ios/subsurface-ios/subsurface-ios.pro b/packaging/ios/subsurface-ios/subsurface-ios.pro
index 140d8fc26..fd26c1f55 100644
--- a/packaging/ios/subsurface-ios/subsurface-ios.pro
+++ b/packaging/ios/subsurface-ios/subsurface-ios.pro
@@ -218,3 +218,9 @@ QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
+
+ios {
+ ios_icon.files = $$files(../../../icons/AppIcon*.png)
+ QMAKE_BUNDLE_DATA += ios_icon
+ QMAKE_INFO_PLIST = ../Info.plist
+}