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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
dlna_gst_headers = files('gupnp-dlna-gst-utils.h')
dlna_backend_dir = meson.current_build_dir()
install_headers(dlna_gst_headers, subdir : headers_subdir)
dlna_gst_sources = files(
'gupnp-dlna-gst-audio-information.c',
'gupnp-dlna-gst-container-information.c',
'gupnp-dlna-gst-image-information.c',
'gupnp-dlna-gst-information.c',
'gupnp-dlna-gst-info-utils.c',
'gupnp-dlna-gst-utils.c',
'gupnp-dlna-gst-video-information.c'
)
libgupnp_dlna_gst = library(
'gupnp-dlna-gst-2.0',
dlna_gst_sources,
version: library_version,
dependencies : [
glib,
gio,
gstreamer_pbu,
gstreamer,
config_dep,
gupnp_dlna
],
c_args : ['-DG_LOG_DOMAIN="gupnp-dlna-metadata"'],
install: true
)
shared_module(
'gstreamer',
files(
'gupnp-dlna-gst-metadata-backend.c',
'gupnp-dlna-gst-metadata-extractor.c',
),
link_with: libgupnp_dlna_gst,
dependencies : [
glib,
gstreamer_pbu,
config_dep,
],
include_directories : include_directories(
'../../metadata',
'../..'
),
install: true,
install_dir : metadata_backend_dir
)
pkg.generate(
libgupnp_dlna_gst,
version: meson.project_version(),
subdirs : 'gupnp-dlna-2.0',
name: 'gupnp-dlna-gst-2.0',
description : 'GStreamer specific utils using GUPnP-DLNA',
libraries: gupnp_dlna,
requires: gstreamer_pbu
)
if get_option('introspection')
gupnp_dlna_gst_gir = gnome.generate_gir(
libgupnp_dlna_gst,
sources : dlna_gst_headers +
dlna_gst_sources,
namespace : 'GUPnPDLNAGst',
nsversion : '2.0',
symbol_prefix : 'gupnp_dlna_gst',
identifier_prefix : 'GUPnPDLNAGst',
install: true,
includes : ['GObject-2.0', gupnp_dlna_gir.get(0), 'Gst-1.0', 'GstPbutils-1.0']
)
endif
|