claws-mail: add the litehtml_viewer plugin

This commit is contained in:
Bryan Gardiner 2020-04-16 20:42:57 -07:00
parent e005a48799
commit 402d625ed0
No known key found for this signature in database
GPG Key ID: 53EFBCA063E6183C

View File

@ -1,5 +1,5 @@
{ config, fetchurl, stdenv, wrapGAppsHook, autoreconfHook { config, fetchurl, stdenv, wrapGAppsHook, autoreconfHook
, curl, dbus, dbus-glib, enchant, gtk2, gnutls, gnupg, gpgme , curl, dbus, dbus-glib, enchant, gtk2, gnutls, gnupg, gpgme, gumbo
, libarchive, libcanberra-gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager , libarchive, libcanberra-gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager
, openldap, perl, pkgconfig, poppler, python, shared-mime-info , openldap, perl, pkgconfig, poppler, python, shared-mime-info
, glib-networking, gsettings-desktop-schemas, libSM, libytnef, libical , glib-networking, gsettings-desktop-schemas, libSM, libytnef, libical
@ -13,6 +13,7 @@
, enableNetworkManager ? config.networking.networkmanager.enable or false , enableNetworkManager ? config.networking.networkmanager.enable or false
, enablePgp ? true , enablePgp ? true
, enablePluginArchive ? false , enablePluginArchive ? false
, enablePluginLitehtmlViewer ? false
, enablePluginNotificationDialogs ? true , enablePluginNotificationDialogs ? true
, enablePluginNotificationSounds ? true , enablePluginNotificationSounds ? true
, enablePluginPdf ? false , enablePluginPdf ? false
@ -63,6 +64,7 @@ stdenv.mkDerivation rec {
++ optional enablePluginArchive libarchive ++ optional enablePluginArchive libarchive
++ optional enablePluginNotificationSounds libcanberra-gtk2 ++ optional enablePluginNotificationSounds libcanberra-gtk2
++ optional enablePluginNotificationDialogs libnotify ++ optional enablePluginNotificationDialogs libnotify
++ optional enablePluginLitehtmlViewer gumbo
++ optional enablePluginRssyl libxml2 ++ optional enablePluginRssyl libxml2
++ optional enableNetworkManager networkmanager ++ optional enableNetworkManager networkmanager
++ optional enableLdap openldap ++ optional enableLdap openldap
@ -78,6 +80,7 @@ stdenv.mkDerivation rec {
"--disable-pgpmime-plugin" "--disable-pgpmime-plugin"
] ]
++ optional (!enablePluginArchive) "--disable-archive-plugin" ++ optional (!enablePluginArchive) "--disable-archive-plugin"
++ optional (!enablePluginLitehtmlViewer) "--disable-litehtml_viewer-plugin"
++ optional (!enablePluginPdf) "--disable-pdf_viewer-plugin" ++ optional (!enablePluginPdf) "--disable-pdf_viewer-plugin"
++ optional (!enablePluginPython) "--disable-python-plugin" ++ optional (!enablePluginPython) "--disable-python-plugin"
++ optional (!enablePluginRavatar) "--disable-libravatar-plugin" ++ optional (!enablePluginRavatar) "--disable-libravatar-plugin"