mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
b55dfb5313
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
22 lines
674 B
Meson
22 lines
674 B
Meson
openh264_sources = [
|
|
'gstopenh264dec.cpp',
|
|
'gstopenh264enc.cpp',
|
|
'gstopenh264plugin.c',
|
|
]
|
|
|
|
openh264_dep = dependency('openh264', version : '>= 1.3.0',
|
|
required : get_option('openh264'),
|
|
fallback: ['openh264', 'openh264_dep'])
|
|
|
|
if openh264_dep.found()
|
|
gstopenh264 = library('gstopenh264',
|
|
openh264_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, openh264_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstopenh264, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|