aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meson.build
blob: dc83f8091e8ac4ef4c37f37384a15e8c3a6ba1b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project('weltschmerz', 'vala', 'c')

gnome = import('gnome')
valac = meson.get_compiler('vala')
cc    = meson.get_compiler('c')

dependencies = [
  valac.find_library('posix'),
  cc.find_library('m', required: false),
  dependency('gtk+-3.0'),
  dependency('vte-2.91'),
]

sources = files('weltschmerz.vala', 'terminal.vala', 'config.vala', 'configreader.vala', 'utils.vala')
sources += gnome.compile_resources('resources', 'resources.xml')

executable('weltschmerz', sources, dependencies: dependencies, install: true)

install_man('weltschmerz.1')
install_data('weltschmerz.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))