diff --git a/Jamulus.pro b/Jamulus.pro index 0eb80057ff..169c8a5b0c 100644 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -157,7 +157,11 @@ win32 { MACOSX_BUNDLE_ICON.path = Contents/Resources QMAKE_BUNDLE_DATA += MACOSX_BUNDLE_ICON } else { - QMAKE_INFO_PLIST = mac/Info-make.plist + equals(QT_VERSION, "5.9.9") { + QMAKE_INFO_PLIST = mac/Info-make-legacy.plist + } else { + QMAKE_INFO_PLIST = mac/Info-make.plist + } } LIBS += -framework CoreFoundation \ diff --git a/mac/Info-make-legacy.plist b/mac/Info-make-legacy.plist new file mode 100644 index 0000000000..874ebe5275 --- /dev/null +++ b/mac/Info-make-legacy.plist @@ -0,0 +1,41 @@ + + + + + CFBundleName + @EXECUTABLE@ + CFBundleDisplayName + @EXECUTABLE@ + CFBundleIdentifier + @BUNDLEIDENTIFIER@ + CFBundlePackageType + APPL + CFBundleVersion + @FULL_VERSION@ + CFBundleShortVersionString + @SHORT_VERSION@ + CFBundleSupportedPlatforms + + MacOSX + + LSApplicationCategoryType + public.app-category.music + LSMinimumSystemVersion + 10.10 + CFBundleExecutable + @EXECUTABLE@ + CFBundleDevelopmentRegion + en + CFBundleIconFile + @ICON@ + CFBundleGetInfoString + Jamulus - Created with QT + NSPrincipalClass + NSApplication + NSMicrophoneUsageDescription + Jamulus needs access to the microphone to record and stream your music to other musicians + + NSRequiresAquaSystemAppearance + true + + diff --git a/mac/Info-make.plist b/mac/Info-make.plist index b6dfd557d3..3504c37c16 100644 --- a/mac/Info-make.plist +++ b/mac/Info-make.plist @@ -21,7 +21,7 @@ LSApplicationCategoryType public.app-category.music LSMinimumSystemVersion - 10.13.0 + ${MACOSX_DEPLOYMENT_TARGET} CFBundleExecutable @EXECUTABLE@ CFBundleDevelopmentRegion diff --git a/mac/Info-xcode.plist b/mac/Info-xcode.plist index 74e9383333..2a05b9d825 100644 --- a/mac/Info-xcode.plist +++ b/mac/Info-xcode.plist @@ -21,7 +21,7 @@ LSApplicationCategoryType public.app-category.music LSMinimumSystemVersion - 10.13.0 + ${MACOSX_DEPLOYMENT_TARGET} CFBundleExecutable ${EXECUTABLE_NAME} CFBundleDevelopmentRegion