2011-09-28 09:16:26 -04:00
|
|
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
2022-05-18 10:49:41 -04:00
|
|
|
const pkg = imports.package;
|
2011-09-28 09:16:26 -04:00
|
|
|
|
2011-01-11 16:34:09 -05:00
|
|
|
/* The name of this package (not localized) */
|
2017-07-18 13:47:27 -04:00
|
|
|
var PACKAGE_NAME = '@PACKAGE_NAME@';
|
2011-01-11 16:34:09 -05:00
|
|
|
/* The version of this package */
|
2017-07-18 13:47:27 -04:00
|
|
|
var PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
2014-02-11 17:20:15 -05:00
|
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
2017-07-18 13:47:27 -04:00
|
|
|
var HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
2022-04-27 09:08:17 -04:00
|
|
|
/* 1 if soup2 should be used instead of soup3, 0 otherwise */
|
2021-08-29 08:24:42 -04:00
|
|
|
var HAVE_SOUP2 = @HAVE_SOUP2@;
|
2012-01-18 21:21:56 -05:00
|
|
|
/* gettext package */
|
2017-07-18 13:47:27 -04:00
|
|
|
var GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
2012-01-18 21:21:56 -05:00
|
|
|
/* locale dir */
|
2017-07-18 13:47:27 -04:00
|
|
|
var LOCALEDIR = '@datadir@/locale';
|
2012-02-11 12:44:35 -05:00
|
|
|
/* other standard directories */
|
2017-07-18 13:47:27 -04:00
|
|
|
var LIBEXECDIR = '@libexecdir@';
|
2018-09-05 20:04:47 -04:00
|
|
|
var PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
2016-11-27 23:54:38 -05:00
|
|
|
/* g-i package versions */
|
2017-07-18 13:47:27 -04:00
|
|
|
var LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@'
|
2022-05-18 10:49:41 -04:00
|
|
|
|
|
|
|
var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0');
|
|
|
|
var HAVE_RECORDER =
|
|
|
|
pkg.checkSymbol('Gst', '1.0') &&
|
|
|
|
imports.gi.Gst.init_check(null) &&
|
|
|
|
imports.gi.Gst.ElementFactory.find('pipewiresrc') &&
|
|
|
|
imports.gi.Gst.ElementFactory.find('filesrc');
|