A GNOME extension that adds the option to hibernate amongst other system actions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
687 B

project('hibernate@dafne.rocks',
version: '8',
license: 'GPL2+',
meson_version: '>= 0.50.0')
gnome = import('gnome')
i18n = import('i18n')
# Extension information
gse_uuid = meson.project_name()
gettext_domain = gse_uuid
# Installation directories
prefixdir = get_option('prefix')
datadir = get_option('datadir')
extensiondir = datadir/'gnome-shell'/'extensions'/gse_uuid
subdir('src')
subdir('po')
# Create release zip for distribution
custom_target('extension.zip',
command: [
'gnome-extensions', 'pack', prefixdir/extensiondir,
'--podir', meson.current_source_dir()/'po',
'--gettext-domain', gettext_domain,
],
output: gse_uuid + '.shell-extension.zip')