mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
wine: add option for smartcard support
Signed-off-by: David Wronek <david.wronek@mainlining.org>
This commit is contained in:
parent
d407951447
commit
66b694f83e
3 changed files with 8 additions and 1 deletions
|
|
@ -64,6 +64,7 @@
|
|||
x11Support ? false,
|
||||
ffmpegSupport ? false,
|
||||
embedInstallers ? false,
|
||||
smartcardSupport ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -251,6 +252,9 @@ stdenv.mkDerivation (
|
|||
++ lib.optionals ffmpegSupport [
|
||||
pkgs.ffmpeg-headless
|
||||
]
|
||||
++ lib.optionals smartcardSupport [
|
||||
pkgs.pcsclite
|
||||
]
|
||||
);
|
||||
|
||||
inherit patches;
|
||||
|
|
@ -275,7 +279,8 @@ stdenv.mkDerivation (
|
|||
++ lib.optionals vulkanSupport [ "--with-vulkan" ]
|
||||
++ lib.optionals ((stdenv.hostPlatform.isDarwin && !xineramaSupport) || !x11Support) [
|
||||
"--without-x"
|
||||
];
|
||||
]
|
||||
++ lib.optionals smartcardSupport [ "--with-pcsclite" ];
|
||||
|
||||
# Wine locates a lot of libraries dynamically through dlopen(). Add
|
||||
# them to the RPATH so that the user doesn't have to set them in
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ args@{
|
|||
ffmpegSupport ? false,
|
||||
embedInstallers ? false, # The Mono and Gecko MSI installers
|
||||
moltenvk, # Allow users to override MoltenVK easily
|
||||
smartcardSupport ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ lib.makeExtensible (
|
|||
gphoto2Support = true;
|
||||
krb5Support = true;
|
||||
embedInstallers = true;
|
||||
smartcardSupport = true;
|
||||
};
|
||||
|
||||
stable = self.base.override { wineRelease = "stable"; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue