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 (27 lines) | stat: -rw-r--r-- 718 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
mpris_plugin_dir = plugindir + '/mpris'

mpris_sources = [
  'rb-mpris-plugin.c']

mpris_c_args = [
  '-DGNOMELOCALEDIR="@0@"'.format(datadir / 'locale'),
  '-DG_LOG_DOMAIN="Rhythmbox"',
  '-DPIXMAP_DIR="@0@"'.format(datadir / 'pixmaps'),
  '-DSHARE_DIR="@0@"'.format(datadir),
  '-DDATADIR="@0@"'.format(pkgdatadir),
]

shared_module('mpris',
  mpris_sources,
  dependencies: [rhythmbox_core_dep],
  c_args: mpris_c_args,
  include_directories: pluginsinc,
  install: true,
  install_dir: mpris_plugin_dir)

mpris_plugin_descriptor = custom_target('mpris-plugin-descriptor',
  input: 'mpris.plugin.desktop.in',
  output: 'mpris.plugin',
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: mpris_plugin_dir)