5fa08fe533
The .in file isn't valid javascript, so it's excluded from eslint and style issues like this can slip through. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3005>
22 lines
847 B
JavaScript
22 lines
847 B
JavaScript
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
|
const pkg = imports.package;
|
|
|
|
/* The name of this package (not localized) */
|
|
export const PACKAGE_NAME = '@PACKAGE_NAME@';
|
|
/* The version of this package */
|
|
export const PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
|
export const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
|
/* gettext package */
|
|
export const GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
|
/* locale dir */
|
|
export const LOCALEDIR = '@datadir@/locale';
|
|
/* other standard directories */
|
|
export const LIBEXECDIR = '@libexecdir@';
|
|
export const PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
|
/* g-i package versions */
|
|
export const LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@';
|
|
|
|
export const HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0',
|
|
'Client.default_adapter_state');
|