mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
meson: build openexr plugin
This commit is contained in:
parent
c23a1dc2b6
commit
79d8855d87
3 changed files with 18 additions and 1 deletions
|
@ -35,7 +35,7 @@ subdir('neon')
|
||||||
subdir('ofa')
|
subdir('ofa')
|
||||||
subdir('openal')
|
subdir('openal')
|
||||||
subdir('opencv')
|
subdir('opencv')
|
||||||
#subdir('openexr')
|
subdir('openexr')
|
||||||
subdir('openh264')
|
subdir('openh264')
|
||||||
subdir('openjpeg')
|
subdir('openjpeg')
|
||||||
#subdir('openni2')
|
#subdir('openni2')
|
||||||
|
|
16
ext/openexr/meson.build
Normal file
16
ext/openexr/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
openexr_dep = dependency('OpenEXR', required: get_option('openexr'))
|
||||||
|
if openexr_dep.found()
|
||||||
|
openexr_extra_cpp_args = cxx.get_supported_arguments(['-std=c++98'])
|
||||||
|
gstopenexr = library('gstopenexr',
|
||||||
|
'gstopenexr.c',
|
||||||
|
'gstopenexrdec.cpp',
|
||||||
|
c_args: gst_plugins_bad_args,
|
||||||
|
cpp_args: gst_plugins_bad_args + openexr_extra_cpp_args,
|
||||||
|
link_args: noseh_link_args,
|
||||||
|
include_directories: [configinc, libsinc],
|
||||||
|
dependencies: [gstvideo_dep, openexr_dep],
|
||||||
|
install: true,
|
||||||
|
install_dir: plugins_install_dir,
|
||||||
|
)
|
||||||
|
pkgconfig.generate(gstopenexr, install_dir: plugins_pkgconfig_install_dir)
|
||||||
|
endif
|
|
@ -120,6 +120,7 @@ option('nvdec', type : 'feature', value : 'auto', description : 'NVIDIA GPU deco
|
||||||
option('nvenc', type : 'feature', value : 'auto', description : 'NVIDIA GPU encoder plugin')
|
option('nvenc', type : 'feature', value : 'auto', description : 'NVIDIA GPU encoder plugin')
|
||||||
option('ofa', type : 'feature', value : 'auto', description : 'Open Fingerprint Architecture library plugin')
|
option('ofa', type : 'feature', value : 'auto', description : 'Open Fingerprint Architecture library plugin')
|
||||||
option('openal', type : 'feature', value : 'auto', description : 'OpenAL plugin')
|
option('openal', type : 'feature', value : 'auto', description : 'OpenAL plugin')
|
||||||
|
option('openexr', type : 'feature', value : 'auto', description : 'OpenEXR plugin')
|
||||||
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
|
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
|
||||||
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
|
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
|
||||||
option('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')
|
option('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')
|
||||||
|
|
Loading…
Reference in a new issue