2011-09-28 09:16:26 -04:00
|
|
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
2022-05-18 16:49:41 +02:00
|
|
|
const pkg = imports.package;
|
2011-09-28 09:16:26 -04:00
|
|
|
|
2011-01-11 22:34:09 +01:00
|
|
|
/* The name of this package (not localized) */
|
2017-07-18 19:47:27 +02:00
|
|
|
var PACKAGE_NAME = '@PACKAGE_NAME@';
|
2011-01-11 22:34:09 +01:00
|
|
|
/* The version of this package */
|
2017-07-18 19:47:27 +02:00
|
|
|
var PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
2014-02-11 17:20:15 -05:00
|
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
2017-07-18 19:47:27 +02:00
|
|
|
var HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
2022-04-27 15:08:17 +02:00
|
|
|
/* 1 if soup2 should be used instead of soup3, 0 otherwise */
|
2021-08-29 14:24:42 +02:00
|
|
|
var HAVE_SOUP2 = @HAVE_SOUP2@;
|
2012-01-18 21:21:56 -05:00
|
|
|
/* gettext package */
|
2017-07-18 19:47:27 +02:00
|
|
|
var GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
2012-01-18 21:21:56 -05:00
|
|
|
/* locale dir */
|
2017-07-18 19:47:27 +02:00
|
|
|
var LOCALEDIR = '@datadir@/locale';
|
2012-02-11 18:44:35 +01:00
|
|
|
/* other standard directories */
|
2017-07-18 19:47:27 +02:00
|
|
|
var LIBEXECDIR = '@libexecdir@';
|
2018-09-06 02:04:47 +02:00
|
|
|
var PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
2016-11-28 12:54:38 +08:00
|
|
|
/* g-i package versions */
|
2017-07-18 19:47:27 +02:00
|
|
|
var LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@'
|
2022-05-18 16:49:41 +02: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');
|