summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--icons/AppIcon29x29.pngbin0 -> 1764 bytes
-rw-r--r--icons/AppIcon29x29@2x.pngbin0 -> 4320 bytes
-rw-r--r--icons/AppIcon29x29@2x~ipad.pngbin0 -> 4320 bytes
-rw-r--r--icons/AppIcon29x29~ipad.pngbin0 -> 1764 bytes
-rw-r--r--icons/AppIcon40x40.pngbin0 -> 2688 bytes
-rw-r--r--icons/AppIcon40x40@2x.pngbin0 -> 6278 bytes
-rw-r--r--icons/AppIcon40x40@2x~ipad.pngbin0 -> 6278 bytes
-rw-r--r--icons/AppIcon40x40~ipad.pngbin0 -> 2688 bytes
-rw-r--r--icons/AppIcon50x50@2x~ipad.pngbin0 -> 8119 bytes
-rw-r--r--icons/AppIcon50x50~ipad.pngbin0 -> 3544 bytes
-rw-r--r--icons/AppIcon57x57.pngbin0 -> 4158 bytes
-rw-r--r--icons/AppIcon57x57@2x.pngbin0 -> 9613 bytes
-rw-r--r--icons/AppIcon60x60@2x.pngbin0 -> 10263 bytes
-rw-r--r--icons/AppIcon72x72@2x~ipad.pngbin0 -> 12843 bytes
-rw-r--r--icons/AppIcon72x72~ipad.pngbin0 -> 5580 bytes
-rw-r--r--icons/AppIcon76x76@2x~ipad.pngbin0 -> 13696 bytes
-rw-r--r--icons/AppIcon76x76~ipad.pngbin0 -> 5930 bytes
-rw-r--r--packaging/ios/Info.plist79
-rw-r--r--packaging/ios/subsurface-ios/subsurface-ios.pro6
19 files changed, 85 insertions, 0 deletions
diff --git a/icons/AppIcon29x29.png b/icons/AppIcon29x29.png
new file mode 100644
index 000000000..8be008661
--- /dev/null
+++ b/icons/AppIcon29x29.png
Binary files differ
diff --git a/icons/AppIcon29x29@2x.png b/icons/AppIcon29x29@2x.png
new file mode 100644
index 000000000..176ae7060
--- /dev/null
+++ b/icons/AppIcon29x29@2x.png
Binary files differ
diff --git a/icons/AppIcon29x29@2x~ipad.png b/icons/AppIcon29x29@2x~ipad.png
new file mode 100644
index 000000000..176ae7060
--- /dev/null
+++ b/icons/AppIcon29x29@2x~ipad.png
Binary files differ
diff --git a/icons/AppIcon29x29~ipad.png b/icons/AppIcon29x29~ipad.png
new file mode 100644
index 000000000..8be008661
--- /dev/null
+++ b/icons/AppIcon29x29~ipad.png
Binary files differ
diff --git a/icons/AppIcon40x40.png b/icons/AppIcon40x40.png
new file mode 100644
index 000000000..4fd1cc0f6
--- /dev/null
+++ b/icons/AppIcon40x40.png
Binary files differ
diff --git a/icons/AppIcon40x40@2x.png b/icons/AppIcon40x40@2x.png
new file mode 100644
index 000000000..17d41ceb0
--- /dev/null
+++ b/icons/AppIcon40x40@2x.png
Binary files differ
diff --git a/icons/AppIcon40x40@2x~ipad.png b/icons/AppIcon40x40@2x~ipad.png
new file mode 100644
index 000000000..17d41ceb0
--- /dev/null
+++ b/icons/AppIcon40x40@2x~ipad.png
Binary files differ
diff --git a/icons/AppIcon40x40~ipad.png b/icons/AppIcon40x40~ipad.png
new file mode 100644
index 000000000..4fd1cc0f6
--- /dev/null
+++ b/icons/AppIcon40x40~ipad.png
Binary files differ
diff --git a/icons/AppIcon50x50@2x~ipad.png b/icons/AppIcon50x50@2x~ipad.png
new file mode 100644
index 000000000..428ef7c10
--- /dev/null
+++ b/icons/AppIcon50x50@2x~ipad.png
Binary files differ
diff --git a/icons/AppIcon50x50~ipad.png b/icons/AppIcon50x50~ipad.png
new file mode 100644
index 000000000..b6ecc6900
--- /dev/null
+++ b/icons/AppIcon50x50~ipad.png
Binary files differ
diff --git a/icons/AppIcon57x57.png b/icons/AppIcon57x57.png
new file mode 100644
index 000000000..947783ace
--- /dev/null
+++ b/icons/AppIcon57x57.png
Binary files differ
diff --git a/icons/AppIcon57x57@2x.png b/icons/AppIcon57x57@2x.png
new file mode 100644
index 000000000..6e7c42869
--- /dev/null
+++ b/icons/AppIcon57x57@2x.png
Binary files differ
diff --git a/icons/AppIcon60x60@2x.png b/icons/AppIcon60x60@2x.png
new file mode 100644
index 000000000..24fd62d83
--- /dev/null
+++ b/icons/AppIcon60x60@2x.png
Binary files differ
diff --git a/icons/AppIcon72x72@2x~ipad.png b/icons/AppIcon72x72@2x~ipad.png
new file mode 100644
index 000000000..352e526e8
--- /dev/null
+++ b/icons/AppIcon72x72@2x~ipad.png
Binary files differ
diff --git a/icons/AppIcon72x72~ipad.png b/icons/AppIcon72x72~ipad.png
new file mode 100644
index 000000000..f05920bb2
--- /dev/null
+++ b/icons/AppIcon72x72~ipad.png
Binary files differ
diff --git a/icons/AppIcon76x76@2x~ipad.png b/icons/AppIcon76x76@2x~ipad.png
new file mode 100644
index 000000000..513a27d9d
--- /dev/null
+++ b/icons/AppIcon76x76@2x~ipad.png
Binary files differ
diff --git a/icons/AppIcon76x76~ipad.png b/icons/AppIcon76x76~ipad.png
new file mode 100644
index 000000000..2ae9fa6de
--- /dev/null
+++ b/icons/AppIcon76x76~ipad.png
Binary files differ
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
+}