diff options
author | John Fultz <jfultz@wolfram.com> | 2014-11-28 22:34:04 -0600 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2014-11-28 23:15:35 -0600 |
commit | 4916ccb3605d35e45efce1ec0738bb00b6fefb08 (patch) | |
tree | 5b9bbc068d3d6b300bb9893ac6e9fe9c15af284f /quacker | |
parent | f7613154d529b586551bc09b09a3e0669100c171 (diff) |
Mac build stuff
Diffstat (limited to 'quacker')
-rw-r--r-- | quacker/Info.plist | 41 | ||||
-rw-r--r-- | quacker/quacker.pro | 9 |
2 files changed, 36 insertions, 14 deletions
diff --git a/quacker/Info.plist b/quacker/Info.plist index 1457a7e..b3ff361 100644 --- a/quacker/Info.plist +++ b/quacker/Info.plist @@ -1,22 +1,39 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> -<plist version="0.9"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> <dict> - <key>NSPrincipalClass</key> - <string>NSApplication</string> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>gcg</string> + </array> + <key>CFBundleTypeName</key> + <string>Quackle Game File</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>Quackle</string> + <key>CFBundleGetInfoString</key> + <string>Created by Qt/QMake</string> <key>CFBundleIconFile</key> <string>quacker.icns</string> + <key>CFBundleIdentifier</key> + <string>com.Quackle.Quackle</string> <key>CFBundlePackageType</key> <string>APPL</string> - <key>CFBundleGetInfoString</key> - <string>Created by Qt/QMake</string> + <key>CFBundleShortVersionString</key> + <string>0.99</string> <key>CFBundleSignature</key> <string>????</string> - <key>CFBundleExecutable</key> - <string>quacker</string> - <key>CFBundleIdentifier</key> - <string>com.yourcompany.quacker</string> - <key>NOTE</key> - <string>This file was generated by Qt/QMake.</string> + <key>CFBundleVersion</key> + <string>1</string> + <key>LSApplicationCategoryType</key> + <string>public.app-category.board-games</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> </dict> </plist> diff --git a/quacker/quacker.pro b/quacker/quacker.pro index 8c4a263..5b694d8 100644 --- a/quacker/quacker.pro +++ b/quacker/quacker.pro @@ -1,11 +1,13 @@ TEMPLATE = app -VERSION = 0.97 +VERSION = 0.98 +TARGET = Quackle DEPENDPATH += .. ../quackleio INCLUDEPATH += . .. APP_ALPHABETS_FILES.files = ../data/alphabets APP_LEXICA_FILES.files = ../data/lexica APP_STRATEGY_FILES.files = ../data/strategy +APP_THEME_FILES.files = ../data/themes MOC_DIR = moc @@ -44,13 +46,16 @@ win32:!win32-g++ { macx { DEFINES += FORCE_SECONDARY_ARROW_GLYPHS=1 ICON = quacker.icns + BUNDLEID = com.Quackle.Quackle + QMAKE_INFO_PLIST = Quackle.plist # copy data/ directory into app bundle APP_ALPHABETS_FILES.path = Contents/MacOS/data APP_LEXICA_FILES.path = Contents/MacOS/data APP_STRATEGY_FILES.path = Contents/MacOS/data + APP_THEME_FILES.path = Contents/MacOS/data - QMAKE_BUNDLE_DATA += APP_ALPHABETS_FILES APP_LEXICA_FILES APP_STRATEGY_FILES APP_PLIST_FILE + QMAKE_BUNDLE_DATA += APP_ALPHABETS_FILES APP_LEXICA_FILES APP_STRATEGY_FILES APP_THEME_FILES # plist gymnastics QMAKE_POST_LINK += ;cp -n $$PWD/quacker.plist $${OUT_PWD}/$${TARGET}.app/Contents |