summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-02-25 21:56:59 +0100
committerAkemi <der.richter@gmx.de>2017-03-26 20:26:18 +0200
commitf8a223b7aca08491e22438df0f1ea233d602907c (patch)
tree4547edcf3b4f0ed7b37bdd1cdf42221328964dff /wscript
parentafbd657bb8e955accf8022c96e867973c1fb0a41 (diff)
downloadmpv-f8a223b7aca08491e22438df0f1ea233d602907c.tar.bz2
mpv-f8a223b7aca08491e22438df0f1ea233d602907c.tar.xz
osx: initial Touch Bar support
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 10 insertions, 1 deletions
diff --git a/wscript b/wscript
index 098f53b131..1dedc567e1 100644
--- a/wscript
+++ b/wscript
@@ -923,7 +923,16 @@ standalone_features = [
'desc': 'Apple Remote support',
'deps': [ 'cocoa' ],
'func': check_true
- }
+ }, {
+ 'name': '--macos-touchbar',
+ 'desc': 'macOS Touch Bar support',
+ 'deps': [ 'cocoa' ],
+ 'func': check_cc(
+ fragment=load_fragment('touchbar.m'),
+ framework_name=['AppKit'],
+ compile_filename='test-touchbar.m',
+ linkflags='-fobjc-arc')
+ }
]
_INSTALL_DIRS_LIST = [