mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS build: create Info.plist with correct version information
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9028c807b2
commit
a4a9edcd0f
2 changed files with 59 additions and 50 deletions
|
@ -2,66 +2,76 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Subsruface-mobile</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>subsurface-ios</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Created by Qt/QMake</string>
|
||||
<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>
|
||||
<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>
|
||||
<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>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.93</string>
|
||||
<string>@MOBILE_VERSION@</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<string>@CANONICAL_VERSION@</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<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>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>SubsurfaceMobileLaunch</string>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>location</string>
|
||||
</array>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>SubsurfaceMobileLaunch</string>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
|
@ -71,9 +81,5 @@
|
|||
<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>
|
|
@ -30,6 +30,9 @@ echo "#define GIT_VERSION_STRING \"$GITVERSION\"" > subsurface-mobile/ssrf-versi
|
|||
echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" >> subsurface-mobile/ssrf-version.h
|
||||
echo "#define MOBILE_VERSION_STRING \"$MOBILEVERSION\"" >> subsurface-mobile/ssrf-version.h
|
||||
|
||||
# create Info.plist with the correct versions
|
||||
cat Info.plist.in | sed "s/@MOBILE_VERSION@/$MOBILEVERSION/;s/@CANONICAL_VERSION@/$CANONICALVERSION/" > Info.plist
|
||||
|
||||
# Build Subsurface-mobile by default
|
||||
SUBSURFACE_MOBILE=1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue