mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
b7e78d84b4
osxaudio is for macOS and iOS osxvideo is for macOS waveform is for Windows
21 lines
784 B
Meson
21 lines
784 B
Meson
osxvideo_sources = ['osxvideosink.m', 'cocoawindow.m']
|
|
|
|
have_osxvideo = false
|
|
if host_system != 'darwin'
|
|
subdir_done()
|
|
endif
|
|
|
|
osxvideo_opengl_dep = dependency('OpenGL', required : get_option('osxvideo'))
|
|
osxvideo_cocoa_dep = dependency('Cocoa', required : get_option('osxvideo'))
|
|
have_objc = add_languages('objc', required : get_option('osxvideo'))
|
|
|
|
if have_objc and osxvideo_opengl_dep.found() and osxvideo_cocoa_dep.found()
|
|
gstosxvideo = library('gstosxvideo',
|
|
osxvideo_sources,
|
|
c_args : gst_plugins_good_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, osxvideo_opengl_dep, osxvideo_cocoa_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir)
|
|
pkgconfig.generate(gstosxvideo, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|