diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-06 17:51:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-06 17:51:09 -0800 |
commit | 8a96f6e90bbb5e246c2c19b43d82bf24e2ff8c62 (patch) | |
tree | 031007221d40cb6f37ef061bb7471c9c6e55619f | |
parent | ba8014eb5c38eb224b722298959c029a4ff64fff (diff) | |
download | subsurface-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>
19 files changed, 85 insertions, 0 deletions
diff --git a/icons/AppIcon29x29.png b/icons/AppIcon29x29.png Binary files differnew file mode 100644 index 000000000..8be008661 --- /dev/null +++ b/icons/AppIcon29x29.png diff --git a/icons/AppIcon29x29@2x.png b/icons/AppIcon29x29@2x.png Binary files differnew file mode 100644 index 000000000..176ae7060 --- /dev/null +++ b/icons/AppIcon29x29@2x.png diff --git a/icons/AppIcon29x29@2x~ipad.png b/icons/AppIcon29x29@2x~ipad.png Binary files differnew file mode 100644 index 000000000..176ae7060 --- /dev/null +++ b/icons/AppIcon29x29@2x~ipad.png diff --git a/icons/AppIcon29x29~ipad.png b/icons/AppIcon29x29~ipad.png Binary files differnew file mode 100644 index 000000000..8be008661 --- /dev/null +++ b/icons/AppIcon29x29~ipad.png diff --git a/icons/AppIcon40x40.png b/icons/AppIcon40x40.png Binary files differnew file mode 100644 index 000000000..4fd1cc0f6 --- /dev/null +++ b/icons/AppIcon40x40.png diff --git a/icons/AppIcon40x40@2x.png b/icons/AppIcon40x40@2x.png Binary files differnew file mode 100644 index 000000000..17d41ceb0 --- /dev/null +++ b/icons/AppIcon40x40@2x.png diff --git a/icons/AppIcon40x40@2x~ipad.png b/icons/AppIcon40x40@2x~ipad.png Binary files differnew file mode 100644 index 000000000..17d41ceb0 --- /dev/null +++ b/icons/AppIcon40x40@2x~ipad.png diff --git a/icons/AppIcon40x40~ipad.png b/icons/AppIcon40x40~ipad.png Binary files differnew file mode 100644 index 000000000..4fd1cc0f6 --- /dev/null +++ b/icons/AppIcon40x40~ipad.png diff --git a/icons/AppIcon50x50@2x~ipad.png b/icons/AppIcon50x50@2x~ipad.png Binary files differnew file mode 100644 index 000000000..428ef7c10 --- /dev/null +++ b/icons/AppIcon50x50@2x~ipad.png diff --git a/icons/AppIcon50x50~ipad.png b/icons/AppIcon50x50~ipad.png Binary files differnew file mode 100644 index 000000000..b6ecc6900 --- /dev/null +++ b/icons/AppIcon50x50~ipad.png diff --git a/icons/AppIcon57x57.png b/icons/AppIcon57x57.png Binary files differnew file mode 100644 index 000000000..947783ace --- /dev/null +++ b/icons/AppIcon57x57.png diff --git a/icons/AppIcon57x57@2x.png b/icons/AppIcon57x57@2x.png Binary files differnew file mode 100644 index 000000000..6e7c42869 --- /dev/null +++ b/icons/AppIcon57x57@2x.png diff --git a/icons/AppIcon60x60@2x.png b/icons/AppIcon60x60@2x.png Binary files differnew file mode 100644 index 000000000..24fd62d83 --- /dev/null +++ b/icons/AppIcon60x60@2x.png diff --git a/icons/AppIcon72x72@2x~ipad.png b/icons/AppIcon72x72@2x~ipad.png Binary files differnew file mode 100644 index 000000000..352e526e8 --- /dev/null +++ b/icons/AppIcon72x72@2x~ipad.png diff --git a/icons/AppIcon72x72~ipad.png b/icons/AppIcon72x72~ipad.png Binary files differnew file mode 100644 index 000000000..f05920bb2 --- /dev/null +++ b/icons/AppIcon72x72~ipad.png diff --git a/icons/AppIcon76x76@2x~ipad.png b/icons/AppIcon76x76@2x~ipad.png Binary files differnew file mode 100644 index 000000000..513a27d9d --- /dev/null +++ b/icons/AppIcon76x76@2x~ipad.png diff --git a/icons/AppIcon76x76~ipad.png b/icons/AppIcon76x76~ipad.png Binary files differnew file mode 100644 index 000000000..2ae9fa6de --- /dev/null +++ b/icons/AppIcon76x76~ipad.png 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 +} |