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
|
mtpdevice_plugin_dir = plugindir + '/mtpdevice'
mtpdevice_plugin_data_dir = plugindatadir + '/mtpdevice'
mtpdevice_resources = gnome.compile_resources('mtpdevice-resources',
'mtpdevice.gresource.xml',
source_dir: meson.current_source_dir())
mtpdevice_sources = [
mtpdevice_resources,
'rb-mtp-plugin.c',
'rb-mtp-gst.c',
'rb-mtp-gst-src.c',
'rb-mtp-source.c',
'rb-mtp-thread.c',
]
mtpdevice_dependencies = [rhythmbox_core_dep, libmtp, gudev]
shared_module('mtpdevice',
mtpdevice_sources,
dependencies: mtpdevice_dependencies,
install: true,
install_dir: mtpdevice_plugin_dir)
mtpdevice_plugin_descriptor = custom_target('mtpdevice-plugin-descriptor',
input: 'mtpdevice.plugin.desktop.in',
output: 'mtpdevice.plugin',
command: msgfmt_plugin_cmd,
install: true,
install_dir: mtpdevice_plugin_dir)
|