Skip to content

Commit

Permalink
meson: don't make mpv.desktop for android
Browse files Browse the repository at this point in the history
  • Loading branch information
llyyr committed Jan 8, 2025
1 parent d660475 commit 476d82b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ endif
darwin = host_machine.system() == 'darwin'
win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
posix = not win32
android = host_machine.system() == 'android'

features += {'darwin': darwin}
features += {'posix': posix}
Expand Down Expand Up @@ -480,7 +481,7 @@ else
dvd_device = '/dev/dvd'
endif

features += {'android': host_machine.system() == 'android'}
features += {'android': android}
if features['android']
dependencies += cc.find_library('android')
sources += files('audio/out/ao_audiotrack.c',
Expand Down Expand Up @@ -1835,7 +1836,7 @@ if get_option('cplayer')
)
endif

if not win32 and not darwin
if not win32 and not darwin and not android
if meson.can_run_host_binaries()
mpv_protocols = custom_target('mpv_protocols',
output: 'mpv_protocols',
Expand Down

0 comments on commit 476d82b

Please sign in to comment.