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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
xml_processor = find_program('process-xml.py')
xml_dir = join_paths(rygel_datadir, 'xml')
server_xml = configure_file(input: 'MediaServer3.xml.in.in',
output: 'MediaServer3.xml.in',
configuration: plugin_config)
renderer_xml = configure_file(input: 'MediaRenderer2.xml.in.in',
output: 'MediaRenderer2.xml.in',
configuration: plugin_config)
ruih_xml = configure_file(input: 'RuihServer2.xml.in.in',
output: 'RuihServer2.xml.in',
configuration: plugin_config)
# Fixme: How to install this...
#xml_files = xml_processor.process(['EnergyManagement.xml.in',
# 'ContentDirectory.xml.in',
# 'ContentDirectory-NoTrack.xml.in',
# 'ConnectionManager.xml.in',
# 'RemoteUIServerService.xml.in',
# 'AVTransport2.xml.in',
# 'RenderingControl2.xml.in',
# 'UIList.xml.in',
# 'BasicManagement2.xml.in',
# 'X_MS_MediaReceiverRegistrar1.xml.in'],
# install: true,
# install_dir : xml_dir)
custom_target('EnergyManagement.xml',
input: 'EnergyManagement.xml.in',
output: 'EnergyManagement.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('MediaServer3.xml',
input: server_xml,
output: 'MediaServer3.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('MediaRenderer2.xml',
input: renderer_xml,
output: 'MediaRenderer2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ContentDirectory.xml',
input: 'ContentDirectory.xml.in',
output: 'ContentDirectory.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RuihServer2.xml',
input: ruih_xml,
output: 'RuihServer2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ContentDirectory-NoTrack.xml',
input: 'ContentDirectory-NoTrack.xml.in',
output: 'ContentDirectory-NoTrack.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ConnectionManager.xml',
input: 'ConnectionManager.xml.in',
output: 'ConnectionManager.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RemoteUIServerService.xml',
input: 'RemoteUIServerService.xml.in',
output: 'RemoteUIServerService.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('AVTransport2.xml',
input: 'AVTransport2.xml.in',
output: 'AVTransport2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RenderingControl2.xml',
input: 'RenderingControl2.xml.in',
output: 'RenderingControl2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('UIList.xml',
input: 'UIList.xml.in',
output: 'UIList.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('BasicManagement2.xml',
input: 'BasicManagement2.xml.in',
output: 'BasicManagement2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('X_MS_MediaReceiverRegistrar1.xml',
input: 'X_MS_MediaReceiverRegistrar1.xml.in',
output: 'X_MS_MediaReceiverRegistrar1.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
|