2016-08-12 15:42:30 +00:00
|
|
|
pixbuf_sources = [
|
|
|
|
'gstgdkpixbufdec.c',
|
|
|
|
'gstgdkpixbufoverlay.c',
|
2021-02-12 07:57:55 +00:00
|
|
|
'gstgdkpixbufelement.c',
|
2016-08-12 15:42:30 +00:00
|
|
|
'gstgdkpixbufplugin.c',
|
|
|
|
'gstgdkpixbufsink.c',
|
|
|
|
]
|
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
pixbuf_headers = [
|
|
|
|
'gstgdkpixbufsink.h',
|
|
|
|
'gstgdkpixbufdec.h',
|
|
|
|
'gstgdkpixbufoverlay.h',
|
|
|
|
'gstgdkanimation.h',
|
|
|
|
'gstgdkpixbufelements.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: pixbuf_sources + pixbuf_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'gdkpixbuf': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
2018-07-25 02:05:28 +00:00
|
|
|
gdkpixbuf_dep = dependency('gdk-pixbuf-2.0', version : '>=2.8.0', required : get_option('gdk-pixbuf'))
|
2016-08-12 15:42:30 +00:00
|
|
|
|
|
|
|
if gdkpixbuf_dep.found()
|
|
|
|
gstgdkpixbuf = library('gstgdkpixbuf',
|
|
|
|
pixbuf_sources,
|
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep, gstvideo_dep, gstcontroller_dep, gdkpixbuf_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstgdkpixbuf]
|
2016-08-12 15:42:30 +00:00
|
|
|
endif
|