c8c93b2a70
This replicates the most basic functionality of the existing gnome-shell-extension-tool, albeit using a git/gio/gsettings style command interface rather than plain options; this will allow us to implement more complex commands that have options on their own in the future. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234
22 lines
506 B
Meson
22 lines
506 B
Meson
config_h = configuration_data()
|
|
config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())
|
|
config_h.set_quoted('VERSION', meson.project_version())
|
|
config_h.set_quoted('LOCALEDIR', localedir)
|
|
config_h.set('HAVE_BIND_TEXTDOMAIN_CODESET', cc.has_function('bind_textdomain_codeset'))
|
|
configure_file(
|
|
output: 'config.h',
|
|
configuration: config_h,
|
|
)
|
|
|
|
sources = [
|
|
'command-disable.c',
|
|
'command-enable.c',
|
|
'main.c'
|
|
]
|
|
|
|
executable('gnome-extensions',
|
|
sources,
|
|
dependencies: gio_dep,
|
|
install: true
|
|
)
|