File: meson.build

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

sample_vala_sources = [
  'rb-sample-vala-plugin.vala'
]

vala_deps = [
  dependency('glib-2.0'),
  dependency('gobject-2.0'),
  meson.get_compiler('vala').find_library('rhythmdb', dirs: vapi_dir),
  meson.get_compiler('vala').find_library('rb', dirs: vapi_dir),
  dependency('gtk+-3.0'),
  dependency('gstreamer-1.0'),
  dependency('libpeas-1.0')
]

shared_module('sample-vala',
  sample_vala_sources,
  dependencies: vala_deps,
  install_dir: sample_vala_plugin_dir,
  install: true)

sample_vala_plugin_descriptor = custom_target('sample-vala-plugin-descriptor',
  input: 'sample-vala.plugin.desktop.in',
  output: 'sample-vala.plugin',
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: sample_vala_plugin_dir)