File: meson.build

package info (click to toggle)
rhythmbox 3.4.9-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,376 kB
  • sloc: ansic: 114,861; python: 4,941; xml: 730; javascript: 350; perl: 307; sh: 84; makefile: 43
file content (30 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (4)
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)