summaryrefslogtreecommitdiffstats
path: root/TOOLS/osxbundle
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/osxbundle')
-rw-r--r--TOOLS/osxbundle/meson.build8
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Info.plist12
2 files changed, 19 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 8635a87e5f..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>
@@ -218,6 +227,7 @@
<string>udp</string>
<string>smb</string>
<string>srt</string>
+ <string>rist</string>
</array>
</dict>
<dict>