meson.build 1.24 KB
Newer Older
1
project('hydrapaper',
2
    version: '1.9.2',
3
    meson_version: '>= 0.50.0',
4
    license: 'GPL3'
5
6
)

7
description = 'Wallpaper manager with multimonitor support'
8
9
10
11
12
prettyname = 'HydraPaper'
prettylicense = 'GPL-3.0+'

author = 'gabmus'
authorfullname = 'Gabriele Musco'
Gabriele Musco's avatar
Gabriele Musco committed
13
authoremail = 'emaildigabry@gmail.com'
14
15
16
domain = 'org'
# app_id built as: domain.author.project_name
gitrepo = 'https://gitlab.com/'+author+'/'+meson.project_name()
17
website = 'http://'+meson.project_name()+'.'+author+'.org'
18
19
20
21
22
23
24

# NOTE: if you contributed, feel free to add your name and email address here
contributors = '\n'.join([
    'Gabriele Musco (GabMus) <emaildigabry@gmail.com>',
    'Alex Hunt (huntie) <hello@alexhunt.io>'
])

25
i18n = import('i18n')
26
python = import('python3')
27
28
29
30
31
32
gnome = import('gnome')
prefix = get_option('prefix') # should be /usr
bindir = get_option('bindir') # should be bin
datadir = get_option('datadir') # should be /usr/share
pkgdatadir = join_paths(prefix, datadir, meson.project_name())
pythondir = join_paths(prefix, python.sysconfig_path('purelib'))
33
localedir = join_paths(prefix, get_option('localedir'))
34

35
install_subdir(meson.project_name(), install_dir: pythondir)
36
37
subdir('data')
subdir('bin')
38
subdir('po')
39
40
41


meson.add_install_script('meson_post_install.py')