mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-27 08:33:27 +01:00
update Info.plist and use different install sections for linux and mac
This commit is contained in:
parent
13572036d2
commit
59a30887e5
@ -6,33 +6,31 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
|
||||
<string>@EXECUTABLE@</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
||||
<string>@EXECUTABLE@ (C) 2011-2016 Martin Rotter</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
|
||||
<string>@ICON@</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
|
||||
<string>org.rssguard.RSSGuard</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleLongVersionString</key>
|
||||
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
|
||||
<string>@EXECUTABLE@</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
||||
<string>3.3.3</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<string>@TYPEINFO@<string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
|
||||
<string>1.0.0</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
<key>LSRequiresCarbon</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
||||
<string>(C) 2011-2016 Martin Rotter</string>
|
||||
<!--
|
||||
<key>NOTE</key>
|
||||
<string>Icon is disabled from dock. Only systray is used.</string>
|
||||
|
60
rssguard.pro
60
rssguard.pro
@ -597,8 +597,8 @@ win32 {
|
||||
sql feeds texts ico app_icon app_plain_icon translations
|
||||
}
|
||||
|
||||
# Install all files on Linux and Mac OSX.
|
||||
unix: {
|
||||
# Install all files on Linux.
|
||||
unix:!mac {
|
||||
target.path = $$PREFIX/bin
|
||||
|
||||
# Install SQL initializers.
|
||||
@ -625,21 +625,55 @@ unix: {
|
||||
misc_texts.files = $$TEXTS
|
||||
misc_texts.path = $$quote($$PREFIX/share/$$TARGET/information/)
|
||||
|
||||
translations.files = $$OUT_PWD/l10n
|
||||
translations.path = $$quote($$PREFIX/share/$$TARGET/)
|
||||
|
||||
INSTALLS += target misc_sql misc_icons misc_feeds \
|
||||
misc_icon misc_plain_icon skins misc_texts \
|
||||
translations
|
||||
}
|
||||
|
||||
# Install files on Linux only.
|
||||
unix:!mac {
|
||||
desktop_file.files = resources/desktop/$${TARGET}.desktop
|
||||
desktop_file.path = $$quote($$PREFIX/share/applications/)
|
||||
|
||||
desktop_file_autostart.files = resources/desktop/$${TARGET}.desktop.autostart
|
||||
desktop_file_autostart.path = $$quote($$PREFIX/share/$${TARGET}/autostart/)
|
||||
|
||||
INSTALLS += desktop_file desktop_file_autostart
|
||||
translations.files = $$OUT_PWD/l10n
|
||||
translations.path = $$quote($$PREFIX/share/$$TARGET/)
|
||||
|
||||
INSTALLS += target misc_sql misc_icons misc_feeds \
|
||||
misc_icon misc_plain_icon skins misc_texts \
|
||||
desktop_file desktop_file_autostart translations
|
||||
}
|
||||
|
||||
mac {
|
||||
CONFIG += app_bundle
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
|
||||
|
||||
QMAKE_INFO_PLIST = resources/macosx/Info.plist.in
|
||||
ICON = resources/macosx/$${TARGET}.icns
|
||||
IDENTIFIER = org.$${TARGET}.RSSGuard
|
||||
|
||||
# Install SQL initializers.
|
||||
misc_sql.files = resources/misc
|
||||
misc_sql.path = Contents/Resources
|
||||
|
||||
# Misc icons.
|
||||
misc_icons.files = resources/graphics/misc
|
||||
misc_icons.path = Contents/Resources/icons
|
||||
|
||||
# Initial feeds.
|
||||
misc_feeds.files = resources/initial_feeds
|
||||
misc_feeds.path = Contents/Resources
|
||||
|
||||
skins.files = resources/skins
|
||||
skins.path = Contents/Resources
|
||||
|
||||
misc_plain_icon.files = resources/graphics/$${TARGET}_plain.png
|
||||
misc_plain_icon.path = Contents/Resources/icons
|
||||
|
||||
misc_texts.files = $$TEXTS
|
||||
misc_texts.path = Contents/Resources/information
|
||||
|
||||
translations.files = $$OUT_PWD/l10n
|
||||
translations.path = Contents/Resources
|
||||
|
||||
QMAKE_BUNDLE_DATA += misc_sql misc_icons misc_feeds skins \
|
||||
misc_plain_icon misc_texts translations
|
||||
|
||||
INSTALLS += misc_sql misc_icons misc_feeds skins \
|
||||
misc_plain_icon misc_texts translations
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user