diff options
Diffstat (limited to 'TOOLS/osxbundle')
-rw-r--r-- | TOOLS/osxbundle/meson.build | 8 | ||||
-rw-r--r-- | TOOLS/osxbundle/mpv.app/Contents/Info.plist | 13 |
2 files changed, 20 insertions, 1 deletions
diff --git a/TOOLS/osxbundle/meson.build b/TOOLS/osxbundle/meson.build new file mode 100644 index 0000000000..a271b4120f --- /dev/null +++ b/TOOLS/osxbundle/meson.build @@ -0,0 +1,8 @@ +input = join_paths(source_root, 'TOOLS', 'osxbundle', + 'mpv.app', 'Contents', 'Resources', 'icon.icns') +osxbundle = custom_target('osxbundle', + input: input, + output: 'icon.icns.inc', + command: [file2string, '@INPUT@', '@OUTPUT@'], +) +sources += osxbundle diff --git a/TOOLS/osxbundle/mpv.app/Contents/Info.plist b/TOOLS/osxbundle/mpv.app/Contents/Info.plist index 89ff4bf6ad..eaa83ad0d8 100644 --- a/TOOLS/osxbundle/mpv.app/Contents/Info.plist +++ b/TOOLS/osxbundle/mpv.app/Contents/Info.plist @@ -173,7 +173,7 @@ </dict> </array> <key>CFBundleExecutable</key> - <string>mpv-bundle</string> + <string>mpv</string> <key>CFBundleIconFile</key> <string>icon</string> <key>CFBundleIdentifier</key> @@ -188,6 +188,15 @@ <string>${VERSION}</string> <key>NSHighResolutionCapable</key> <true/> + <key>LSApplicationCategoryType</key> + <string>public.app-category.games</string> + <key>LSEnvironment</key> + <dict> + <key>MallocNanoZone</key> + <string>0</string> + <key>MPVBUNDLE</key> + <string>true</string> + </dict> <key>CFBundleURLTypes</key> <array> <dict> @@ -217,6 +226,8 @@ <string>ftp</string> <string>udp</string> <string>smb</string> + <string>srt</string> + <string>rist</string> </array> </dict> <dict> |