mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 07:12:36 +00:00
meson: build vcdsrc plugin
This commit is contained in:
parent
ee7e3f7bc7
commit
807227cef2
3 changed files with 19 additions and 2 deletions
|
@ -132,6 +132,7 @@ option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable,
|
||||||
option('srtp', type : 'feature', value : 'auto', description : 'Secure RTP codec plugin')
|
option('srtp', type : 'feature', value : 'auto', description : 'Secure RTP codec plugin')
|
||||||
option('ttml', type : 'feature', value : 'auto', description : 'TTML subtitle parser and renderer plugin')
|
option('ttml', type : 'feature', value : 'auto', description : 'TTML subtitle parser and renderer plugin')
|
||||||
option('uvch264', type : 'feature', value : 'auto', description : 'UVC compliant H.264 camera source plugin')
|
option('uvch264', type : 'feature', value : 'auto', description : 'UVC compliant H.264 camera source plugin')
|
||||||
|
option('vcd', type : 'feature', value : 'auto', description : 'VCD source plugin')
|
||||||
option('voaacenc', type : 'feature', value : 'auto', description : 'AAC audio encoder plugin')
|
option('voaacenc', type : 'feature', value : 'auto', description : 'AAC audio encoder plugin')
|
||||||
option('vulkan', type : 'feature', value : 'auto', description : 'Vulkan video sink plugin')
|
option('vulkan', type : 'feature', value : 'auto', description : 'Vulkan video sink plugin')
|
||||||
option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio Session API source/sink plugin')
|
option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio Session API source/sink plugin')
|
||||||
|
|
|
@ -18,7 +18,7 @@ subdir('msdk')
|
||||||
subdir('opensles')
|
subdir('opensles')
|
||||||
subdir('shm')
|
subdir('shm')
|
||||||
subdir('uvch264')
|
subdir('uvch264')
|
||||||
#subdir('vcd')
|
subdir('vcd')
|
||||||
#subdir('vdpau')
|
#subdir('vdpau')
|
||||||
subdir('wasapi')
|
subdir('wasapi')
|
||||||
subdir('winks')
|
subdir('winks')
|
||||||
|
@ -111,4 +111,4 @@ elif get_option('nvdec').enabled()
|
||||||
error('The nvdec plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
error('The nvdec plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
||||||
elif get_option('nvenc').enabled()
|
elif get_option('nvenc').enabled()
|
||||||
error('The nvenc plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
error('The nvenc plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
||||||
endif
|
endif
|
||||||
|
|
16
sys/vcd/meson.build
Normal file
16
sys/vcd/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
if get_option('vcd').disabled()
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
|
if cc.has_header ('linux/cdrom.h')
|
||||||
|
gstvcd = library('gstvcdsrc', 'vcdsrc.c',
|
||||||
|
c_args: gst_plugins_bad_args,
|
||||||
|
include_directories: [configinc],
|
||||||
|
dependencies : [gstbase_dep],
|
||||||
|
install: true,
|
||||||
|
install_dir: plugins_install_dir
|
||||||
|
)
|
||||||
|
pkgconfig.generate(gstvcd, install_dir: plugins_pkgconfig_install_dir)
|
||||||
|
elif get_option('vcd').enabled()
|
||||||
|
error('vcd plugin enabled but linux/cdrom.h not found')
|
||||||
|
endif
|
Loading…
Reference in a new issue