File: meson.build

package info (click to toggle)
gnome-metronome 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 388 kB
  • sloc: xml: 22; python: 12; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 757 bytes parent folder | download
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
vala_sources = [
  'application.vala',
  'credits.vala',
  'main.vala',
  'timer.vala',

  'ui/bpm_control.vala',
  'ui/bpm_scale.vala',
  'ui/headerbar.vala',
  'ui/media_control.vala',
  'ui/rhythm_box.vala',
  'ui/shortcuts_window.vala',
  'ui/tap_button.vala',
  'ui/tempo_box.vala',
  'ui/window.vala'
]

metronome_deps = [
  dependency ('gio-2.0', version: '>= 2.50'),
  dependency ('gtk+-3.0', version: '>= 3.22'),
  dependency ('gstreamer-1.0'),
  dependency ('libhandy-0.0')
]

add_project_arguments (
  '-DGETTEXT_PACKAGE="' + meson.project_name () + '"',
  '-DHANDY_USE_UNSTABLE_API',
  language: 'c'
)

executable ('gnome-metronome', vala_sources + resources,
  vala_args: '--target-glib=2.50',  dependencies: metronome_deps,
  install: true,
)