Browse Source

meson: disable some modules only built for desktop on UWP

pull/174/head
Steve Lhomme 2 years ago
parent
commit
47e528618f
  1. 5
      modules/access/meson.build
  2. 3
      modules/codec/meson.build
  3. 2
      modules/control/meson.build
  4. 2
      modules/services_discovery/meson.build
  5. 2
      modules/video_splitter/meson.build

5
modules/access/meson.build

@ -106,6 +106,7 @@ vlc_modules += {
'dependencies' : [ksuser_lib],
'enabled' : get_option('wasapi')
.require(host_system == 'windows', error_message: 'WASAPI requires Windows')
.disable_auto_if(have_win_store)
.allowed() and ksuser_lib.found()
}
@ -327,7 +328,7 @@ if host_system == 'linux'
endif
endif
if host_system == 'windows'
if host_system == 'windows' and have_win_desktop
strmiids_lib = cc.find_library('strmiids', required: true)
vlc_modules += {
'name' : 'dtv',
@ -410,7 +411,7 @@ vlc_modules += {
}
# Windows UNC
if host_system == 'windows'
if host_system == 'windows' and not have_win_store
mpr_lib = cc.find_library('mpr', required: true)
netapi32_lib = cc.find_library('netapi32', required: true)

3
modules/codec/meson.build

@ -693,7 +693,8 @@ if host_system == 'windows'
),
'dependencies': [
cc.find_library('uuid'),
]
],
'enabled' : have_win_desktop,
}
endif

2
modules/control/meson.build

@ -79,7 +79,7 @@ if dbus_dep.found()
}
endif
if host_system == 'windows'
if host_system == 'windows' and have_win_desktop
# NT service control
vlc_modules += {

2
modules/services_discovery/meson.build

@ -84,7 +84,7 @@ if xcb_dep.found()
endif
# Windows drive discovery
if host_system == 'windows'
if host_system == 'windows' and have_win_desktop
vlc_modules += {
'name' : 'windrive',
'sources' : files('windrive.c')

2
modules/video_splitter/meson.build

@ -16,7 +16,7 @@ if xcb_dep.found() and xcb_randr_dep.found()
'sources' : files('panoramix.c'),
'dependencies' : [xcb_dep, xcb_randr_dep]
}
elif host_system == 'windows'
elif host_system == 'windows' and have_win_desktop
vlc_modules += {
'name' : 'panoramix',
'sources' : files('panoramix.c')

Loading…
Cancel
Save