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
|
didl_dialog_data = configuration_data()
if gtksourceview.found()
didl_dialog_data.set('TEXT_VIEW', 'GtkSourceView')
else
didl_dialog_data.set('TEXT_VIEW', 'GtkTextView')
endif
didl_dialog_ui = configure_file(input: 'didl-lite-dialog.ui.in', output: 'didl-lite-dialog.ui', configuration : didl_dialog_data)
install_data(['xml/Dimming-scpd.xml', 'xml/network-light-desc.xml', 'xml/SwitchPower-scpd.xml'], install_dir : join_paths(shareddir, 'xml'))
install_data(['pixmaps/av-cp.png',
'pixmaps/media-renderer.png',
'pixmaps/network-light-22x22.png',
'pixmaps/network-light-256x256.png',
'pixmaps/network-light-off.png',
'pixmaps/network-light-on.png',
'pixmaps/universal-cp.png',
'pixmaps/upnp-action-arg-in.png',
'pixmaps/upnp-action-arg-out.png',
'pixmaps/upnp-device.png',
'pixmaps/upnp-service.png',
'pixmaps/upnp-state-variable.png'], install_dir : join_paths(shareddir, 'pixmaps'))
install_data([
'pixmaps/network-light-256x256.png',
'pixmaps/universal-cp.png',
'pixmaps/av-cp.png'],
install_dir : join_paths(get_option('datadir'), 'icons', 'hicolor', '256x256', 'apps'))
desktop_conf = configuration_data()
desktop_conf.set('PKGDATADIR', shareddir)
podir = join_paths('..', 'po')
i18n.merge_file(input: 'gupnp-av-cp.desktop.in', output: 'gupnp-av-cp.desktop',
po_dir : podir,
type: 'desktop',
install: true,
install_dir: desktopdir)
i18n.merge_file(input: 'gupnp-universal-cp.desktop.in', output: 'gupnp-universal-cp.desktop',
po_dir : podir,
type: 'desktop',
install: true,
install_dir: desktopdir)
i18n.merge_file(input: 'gupnp-network-light.desktop.in', output: 'gupnp-network-light.desktop',
po_dir : podir,
type: 'desktop',
install: true,
install_dir: desktopdir)
|