-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
46 lines (38 loc) · 1.48 KB
/
Copy pathmeson.build
File metadata and controls
46 lines (38 loc) · 1.48 KB
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
38
39
40
41
42
43
44
45
46
project(
'gnome-shell-extension-focus-timer',
'c',
version: '5',
meson_version: '>=0.59.0',
)
gnome = import('gnome')
i18n = import('i18n')
glib_compile_schemas = find_program('glib-compile-schemas', required: false)
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
localedir = join_paths(prefix, get_option('localedir'))
schemas_dir = join_paths(datadir, 'glib-2.0', 'schemas')
gettext_domain = meson.project_name()
extension_uuid = 'focus-timer@focustimerhq.github.io'
extension_dir = join_paths(datadir, 'gnome-shell', 'extensions', extension_uuid)
if get_option('bundle')
localedir = join_paths(extension_dir, 'locale')
schemas_dir = join_paths(extension_dir, 'schemas')
endif
conf = configuration_data()
conf.set('PACKAGE_NAME', meson.project_name())
conf.set('PACKAGE_VERSION', meson.project_version())
conf.set('PACKAGE_URL', 'https://github.com/focustimerhq/gnome-shell-extension-focus-timer')
conf.set('PACKAGE_BUGREPORT', 'https://github.com/focustimerhq/gnome-shell-extension-focus-timer/issues')
conf.set('PACKAGE_FLATHUB_URL', 'https://flathub.org/en/apps/io.github.focustimerhq.FocusTimer')
conf.set('GETTEXT_PACKAGE', gettext_domain)
conf.set('EXTENSION_UUID', extension_uuid)
conf.set('APPLICATION_ID', 'io.github.focustimerhq.FocusTimer')
subdir('po')
subdir('data')
subdir('src')
custom_target('gnome-shell-extension-focus-timer-zip',
depends: [],
output: extension_uuid + '.zip',
command: ['make-zip.sh'],
build_by_default: false
)