meson: build dc1394 plugin

This commit is contained in:
Tim-Philipp Müller 2018-12-16 17:35:58 +00:00 committed by Sebastian Dröge
parent d7b7f2a9a5
commit 56c65afff4
3 changed files with 14 additions and 1 deletions

12
ext/dc1394/meson.build Normal file
View file

@ -0,0 +1,12 @@
dc1394_dep = dependency('libdc1394-2', version: '>= 2.2.5', required: get_option('dc1394'))
if dc1394_dep.found()
gstdc1394 = library('gstdc1394',
'gstdc1394src.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstvideo_dep, dc1394_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstdc1394, install_dir: plugins_pkgconfig_install_dir)
endif

View file

@ -8,7 +8,7 @@ subdir('closedcaption')
subdir('curl')
#subdir('daala')
subdir('dash')
#subdir('dc1394')
subdir('dc1394')
subdir('directfb')
subdir('dtls')
subdir('dts')

View file

@ -86,6 +86,7 @@ option('curl', type : 'feature', value : 'auto', description : 'cURL network sou
option('curl-ssh2', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin libssh2 support')
option('d3dvideosink', type : 'feature', value : 'auto', description : 'Direct3D video sink plugin')
option('dash', type : 'feature', value : 'auto', description : 'DASH demuxer plugin')
option('dc1394', type : 'feature', value : 'auto', description : 'libdc1394 IIDC camera source plugin')
option('decklink', type : 'feature', value : 'auto', description : 'DeckLink audio/video source/sink plugin')
option('directfb', type : 'feature', value : 'auto', description : 'DirectFB video sink plugin')
option('directsound', type : 'feature', value : 'auto', description : 'Directsound audio source plugin')