summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-02 18:09:01 +0200
committerwm4 <wm4@nowhere>2015-05-02 18:09:56 +0200
commit19a5b20752ecc7465cf17781f908e12bf4ca136d (patch)
tree84d7504b58d4c78b06b88eb85bffc00cba27e696 /wscript
parentd8e92322fa6eee44bb2713a202b84dfd32cf7ea1 (diff)
downloadmpv-19a5b20752ecc7465cf17781f908e12bf4ca136d.tar.bz2
mpv-19a5b20752ecc7465cf17781f908e12bf4ca136d.tar.xz
cocoa: always compile OSX application code with cocoa
This unbreaks compiling command line player and libmpv at the same time. The problem was that doing so silently disabled the OSX application thing - but the command line player can not use the vo_opengl Cocoa backend without it. The OSX application code is basically dead in libmpv, but it's not that much code anyway. If you want a mpv binary that does not create an OSX application singleton (and creates a menu etc.), you must disable cocoa completely, as cocoa can't be used anyway in this case.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 0 insertions, 6 deletions
diff --git a/wscript b/wscript
index 56f03202c1..0bf62e983c 100644
--- a/wscript
+++ b/wscript
@@ -770,12 +770,6 @@ standalone_features = [
'deps_any': [ 'os-win32', 'os-cygwin'],
'func': check_ctx_vars('WINDRES')
}, {
- 'name': 'cocoa-application',
- 'desc': 'standalone Cocoa application',
- 'deps': [ 'cocoa' ],
- 'deps_neg': [ 'libmpv-shared', 'libmpv-static' ],
- 'func': check_true
- }, {
'name': '--apple-remote',
'desc': 'Apple Remote support',
'deps': [ 'cocoa' ],