File: meson.build

package info (click to toggle)
gst-plugins-bad1.0 1.26.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 69,996 kB
  • sloc: ansic: 722,568; cpp: 278,154; objc: 3,556; xml: 3,351; sh: 1,095; python: 508; makefile: 175; java: 75
file content (37 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
fbdevsink_sources = [
  'gstfbdevsink.c',
]

fbdevsink_headers = [
  'gstfbdevsink.h',
]

doc_sources = []
foreach s: fbdevsink_sources + fbdevsink_headers
  doc_sources += meson.current_source_dir() / s
endforeach

plugin_sources += {
  'fbdevsink': pathsep.join(doc_sources)
}

if get_option('fbdev').disabled()
  subdir_done()
endif

have_fb_h = cc.has_header('linux/fb.h')
if not have_fb_h and get_option('fbdev').enabled()
  error('fbdev plugin enabled but fb.h not found')
endif

if have_fb_h
  gstfbdevsink = library('gstfbdevsink',
    fbdevsink_sources,
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstbase_dep, gstvideo_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  plugins += [gstfbdevsink]
endif