mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
meson: build openni2 plugin
This commit is contained in:
parent
094478d248
commit
2e6510b9e2
3 changed files with 19 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
# FIXME implement these
|
||||
subdir('assrender')
|
||||
subdir('aom')
|
||||
subdir('bs2b')
|
||||
|
@ -39,7 +38,7 @@ subdir('openexr')
|
|||
subdir('openh264')
|
||||
subdir('openjpeg')
|
||||
subdir('openmpt')
|
||||
#subdir('openni2')
|
||||
subdir('openni2')
|
||||
subdir('opus')
|
||||
subdir('resindvd')
|
||||
subdir('rsvg')
|
||||
|
|
17
ext/openni2/meson.build
Normal file
17
ext/openni2/meson.build
Normal file
|
@ -0,0 +1,17 @@
|
|||
if not add_languages('cpp', required: get_option('openni2'))
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
openni2_dep = dependency('libopenni2', version: '>= 0.26', required: get_option('openni2'))
|
||||
if openni2_dep.found()
|
||||
gstopenni2 = library('gstopenni2',
|
||||
'gstopenni2.cpp', 'gstopenni2src.cpp',
|
||||
cpp_args: gst_plugins_bad_args,
|
||||
link_args: noseh_link_args,
|
||||
include_directories: [configinc],
|
||||
dependencies: [gstvideo_dep, openni2_dep],
|
||||
install: true,
|
||||
install_dir: plugins_install_dir,
|
||||
)
|
||||
pkgconfig.generate(gstopenni2, install_dir: plugins_pkgconfig_install_dir)
|
||||
endif
|
|
@ -124,6 +124,7 @@ option('openexr', type : 'feature', value : 'auto', description : 'OpenEXR plugi
|
|||
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
|
||||
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
|
||||
option('openmpt', type : 'feature', value : 'auto', description : 'OpenMPT module music library plugin')
|
||||
option('openni2', type : 'feature', value : 'auto', description : 'OpenNI2 library plugin')
|
||||
option('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')
|
||||
option('opus', type : 'feature', value : 'auto', description : 'OPUS audio parser plugin')
|
||||
option('resindvd', type : 'feature', value : 'auto', description : 'Resin DVD playback plugin')
|
||||
|
|
Loading…
Reference in a new issue