Kaydet (Commit) 0c9e4d9b authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

macosx: add --enable-macosx-retina

this tell the info.plist that the application is
'high resolution enabled'

Change-Id: I8e43e20f78c822d1cebab873f340143fe2dee4ea
üst 121d5d54
...@@ -1211,6 +1211,12 @@ AC_ARG_ENABLE(silent-msi, ...@@ -1211,6 +1211,12 @@ AC_ARG_ENABLE(silent-msi,
[Enable MSI with LIMITUI=1 (silent install).]), [Enable MSI with LIMITUI=1 (silent install).]),
,) ,)
AC_ARG_ENABLE(macosx-retina,
AS_HELP_STRING([--enable-macosx-retina],
[Declare the application as High Resolution Capable. (retina display)
]),
,)
AC_ARG_ENABLE(macosx-code-signing, AC_ARG_ENABLE(macosx-code-signing,
AS_HELP_STRING([--enable-macosx-code-signing<=identity>], AS_HELP_STRING([--enable-macosx-code-signing<=identity>],
[Sign executables, dylibs, frameworks and the app bundle. If you [Sign executables, dylibs, frameworks and the app bundle. If you
...@@ -2916,6 +2922,14 @@ if test $_os = Darwin; then ...@@ -2916,6 +2922,14 @@ if test $_os = Darwin; then
MACOSX_BUNDLE_IDENTIFIER=$with_macosx_bundle_identifier MACOSX_BUNDLE_IDENTIFIER=$with_macosx_bundle_identifier
AC_MSG_RESULT([$MACOSX_BUNDLE_IDENTIFIER]) AC_MSG_RESULT([$MACOSX_BUNDLE_IDENTIFIER])
AC_MSG_CHECKING([build with mac retina support])
if test "$enable_macosx_retina" = yes ; then
MACOSX_HIGH_RESOLUTION_VALUE=true
else
MACOSX_HIGH_RESOLUTION_VALUE=false
fi
AC_MSG_RESULT([$MACOSX_HIGH_RESOLUTION_VALUE])
fi fi
AC_SUBST(MACOSX_SDK_PATH) AC_SUBST(MACOSX_SDK_PATH)
AC_SUBST(MACOSX_SDK_VERSION) AC_SUBST(MACOSX_SDK_VERSION)
...@@ -2927,6 +2941,7 @@ AC_SUBST(LIBTOOL) # Note that the OS X libtool command is unrelated to GNU libto ...@@ -2927,6 +2941,7 @@ AC_SUBST(LIBTOOL) # Note that the OS X libtool command is unrelated to GNU libto
AC_SUBST(MACOSX_CODESIGNING_IDENTITY) AC_SUBST(MACOSX_CODESIGNING_IDENTITY)
AC_SUBST(ENABLE_MACOSX_SANDBOX) AC_SUBST(ENABLE_MACOSX_SANDBOX)
AC_SUBST(MACOSX_BUNDLE_IDENTIFIER) AC_SUBST(MACOSX_BUNDLE_IDENTIFIER)
AC_SUBST(MACOSX_HIGH_RESOLUTION_VALUE)
dnl =================================================================== dnl ===================================================================
dnl Check iOS SDK and compiler dnl Check iOS SDK and compiler
......
...@@ -1424,6 +1424,8 @@ ...@@ -1424,6 +1424,8 @@
<string>public.app-category.productivity</string> <string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>@MACOSX_DEPLOYMENT_TARGET@.0</string> <string>@MACOSX_DEPLOYMENT_TARGET@.0</string>
<key>NSHighResolutionCapable</key>
<@MACOSX_HIGH_RESOLUTION_VALUE@/>
</dict> </dict>
</plist> </plist>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment