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 (37 lines) | stat: -rw-r--r-- 927 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
31
32
33
34
35
36
37
ipod_plugin_dir = plugindir + '/ipod'
ipod_plugin_data_dir = plugindatadir + '/ipod'

ipod_resources = gnome.compile_resources('ipod-resources',
  'ipod.gresource.xml',
  source_dir: meson.current_source_dir())

ipod_sources = [
  ipod_resources,
  'rb-ipod-db.c',
  'rb-ipod-helpers.c',
  'rb-ipod-static-playlist-source.c',
  'rb-ipod-source.c',
  'rb-ipod-plugin.c'
]

ipod_dependencies = [rhythmbox_core_dep, libgpod]

shared_module('ipod',
  ipod_sources,
  dependencies: ipod_dependencies,
  install: true,
  install_dir: ipod_plugin_dir)

ipod_plugin_descriptor = custom_target('ipod-plugin-descriptor',
  input: 'ipod.plugin.desktop.in',
  output: 'ipod.plugin',
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: ipod_plugin_dir)

if check.found()
    test('test-ipod',
    executable('test-ipod',
      ['test-ipod.c', 'rb-ipod-helpers.c'],
      dependencies: [rhythmbox_core_dep, libgpod, check]))
endif