deadbeef: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:31:27 +00:00
parent 1eea8a5f4a
commit 15a1e879a9
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, intltool, pkgconfig, jansson { config, stdenv, fetchurl, intltool, pkgconfig, jansson
# deadbeef can use either gtk2 or gtk3 # deadbeef can use either gtk2 or gtk3
, gtk2Support ? false, gtk2 ? null , gtk2Support ? false, gtk2 ? null
, gtk3Support ? true, gtk3 ? null, gsettings-desktop-schemas ? null, wrapGAppsHook ? null , gtk3Support ? true, gtk3 ? null, gsettings-desktop-schemas ? null, wrapGAppsHook ? null
@ -20,7 +20,7 @@
, osdSupport ? true, dbus ? null , osdSupport ? true, dbus ? null
# output plugins # output plugins
, alsaSupport ? true, alsaLib ? null , alsaSupport ? true, alsaLib ? null
, pulseSupport ? true, libpulseaudio ? null , pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
# effect plugins # effect plugins
, resamplerSupport ? true, libsamplerate ? null , resamplerSupport ? true, libsamplerate ? null
, overloadSupport ? true, zlib ? null , overloadSupport ? true, zlib ? null

View File

@ -16443,9 +16443,7 @@ in
ddgr = callPackage ../applications/misc/ddgr { }; ddgr = callPackage ../applications/misc/ddgr { };
deadbeef = callPackage ../applications/audio/deadbeef { deadbeef = callPackage ../applications/audio/deadbeef { };
pulseSupport = config.pulseaudio or true;
};
deadbeefPlugins = { deadbeefPlugins = {
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { }; headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };