folks: disable telepathy backend by default

This commit is contained in:
WORLDofPEACE 2020-10-23 19:36:33 -04:00
parent 61afd7f80e
commit dfc6578fc1

@ -16,7 +16,6 @@
, nss , nss
, dbus , dbus
, libgee , libgee
, telepathy-glib
, evolution-data-server , evolution-data-server
, libsecret , libsecret
, db , db
@ -26,6 +25,8 @@
, gtk-doc , gtk-doc
, docbook-xsl-nons , docbook-xsl-nons
, docbook_xml_dtd_43 , docbook_xml_dtd_43
, telepathy-glib
, telepathySupport ? false
}: }:
# TODO: enable more folks backends # TODO: enable more folks backends
@ -43,6 +44,7 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Ddocs=true" "-Ddocs=true"
"-Dtelepathy_backend=${stdenv.lib.boolToString telepathySupport}"
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -69,8 +71,7 @@ stdenv.mkDerivation rec {
nspr nspr
nss nss
readline readline
telepathy-glib ] ++ stdenv.lib.optional telepathySupport telepathy-glib;
];
propagatedBuildInputs = [ propagatedBuildInputs = [
glib glib
@ -109,6 +110,6 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/Folks"; homepage = "https://wiki.gnome.org/Projects/Folks";
license = licenses.lgpl2Plus; license = licenses.lgpl2Plus;
maintainers = teams.gnome.members; maintainers = teams.gnome.members;
platforms = platforms.gnu ++ platforms.linux; # arbitrary choice platforms = platforms.gnu ++ platforms.linux; # arbitrary choice
}; };
} }