From a32db637b5c66c0304147caadf02d7b28083bcee Mon Sep 17 00:00:00 2001 From: der richter Date: Sat, 30 Nov 2019 16:08:32 +0100 Subject: mac: replace old event tap for media key support with MediaPlayer the old event tap has several problems, like no proper priority support or having to set accessibility permissions for mpv or the terminal. it is now replaced by the new MediaPlayer which has proper priority support and isn't as greedy as previously. this only includes Media Key support and not any of the other features included in the MediaPlayer framework, like proper Now Playing data (only set dummy data for now). this is only available on macOS 10.12.2 and higher. also removes some unnecessary redefines. Fixes #6389 --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 3aa1376995..ff946900da 100644 --- a/wscript +++ b/wscript @@ -918,6 +918,11 @@ standalone_features = [ 'desc': 'macOS 10.11 SDK Features', 'deps': 'cocoa', 'func': check_macos_sdk('10.11') + }, { + 'name': '--macos-10-12-2-features', + 'desc': 'macOS 10.12.2 SDK Features', + 'deps': 'cocoa', + 'func': check_macos_sdk('10.12.2') }, { 'name': '--macos-10-14-features', 'desc': 'macOS 10.14 SDK Features', -- cgit v1.2.3