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
|
resources = gnome.compile_resources(
'nautilus-audio-video-properties-resources',
join_paths(
'resources', 'nautilus-audio-video-properties.gresource.xml'
),
source_dir: 'resources',
c_name: 'nautilus_audio_video_properties',
)
libm = cc.find_library('m')
libtotem_properties_page_sources = files(
'totem-properties-main.c',
'totem-properties-view.c',
'bacon-video-widget-properties.c',
'totem-gst-helpers.c',
) + resources
libtotem_properties_page_deps = [
libm,
gst_tag_dep,
gst_pbutils_dep,
]
libtotem_properties_page = shared_module(
'totem-properties-page',
sources: libtotem_properties_page_sources,
dependencies: libtotem_properties_page_deps + [
nautilus_extension
],
c_args: [
'-DG_LOG_DOMAIN="TotemPropertiesPage"'
],
install: true,
install_dir: extensiondir
)
test_properties_page_sources = files(
'totem-properties-main.c',
'totem-properties-view.c',
'bacon-video-widget-properties.c',
'totem-gst-helpers.c',
'test-properties-page.c'
) + resources
executable(
'test-properties-page',
test_properties_page_sources,
dependencies: libtotem_properties_page_deps + [
nautilus_extension
],
)
|