summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorBe Wilson <be@mixxx.org>2020-11-07 23:02:50 -0600
committerBe Wilson <be@mixxx.org>2020-11-08 15:04:39 -0600
commit74272cb00f01fcbe4aa295221b55c16f2ba81564 (patch)
treecfcc93255127d70eb7bade0197501cec1a45c950 /cmake
parent4864aa88622b6dbb8b68a3cdfb684c923324c799 (diff)
CMakeLists: build macOS DMG using CPack DragNDrop generator
Diffstat (limited to 'cmake')
-rw-r--r--cmake/macos_bundle.plist.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/cmake/macos_bundle.plist.in b/cmake/macos_bundle.plist.in
new file mode 100644
index 0000000000..1f8af6bb1e
--- /dev/null
+++ b/cmake/macos_bundle.plist.in
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>CFBundleExecutable</key>
+ <string>mixxx</string>
+
+ <key>CFBundleIconFile</key>
+ <string>application.icns</string>
+
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+
+ <key>CFBundleIdentifier</key>
+ <string>org.mixxx.mixxx</string>
+
+ <key>CFBundleDisplayName</key>
+ <string>Mixxx</string>
+
+ <key>CFBundleVersion</key>
+ <string>@MACOS_BUNDLE_VERSION@</string>
+
+ <key>CFBundleShortVersionString</key>
+ <string>@MACOS_BUNDLE_SHORTVERSION@</string>
+
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2001-@MIXXX_YEAR@ Mixxx Development Team</string>
+
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+
+ <key>NSHighResolutionCapable</key>
+ <string>True</string>
+
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.music</string>
+
+ <key>LSMinimumSystemVersion</key>
+ <string>@MACOS_BUNDLE_MINVERSION@</string>
+ </dict>
+</plist>