mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
13a4c15b99
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/876>
22 lines
580 B
Meson
22 lines
580 B
Meson
jpeg_sources = [
|
|
'gstjpeg.c',
|
|
'gstjpegplugin.c',
|
|
'gstjpegenc.c',
|
|
'gstjpegdec.c',
|
|
]
|
|
|
|
jpeglib = dependency('libjpeg', required : get_option('jpeg'))
|
|
|
|
if jpeglib.found()
|
|
gstjpeg = library('gstjpeg',
|
|
jpeg_sources,
|
|
c_args : gst_plugins_good_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gst_dep, gstbase_dep, gstvideo_dep, jpeglib, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstjpeg, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstjpeg]
|
|
endif
|