zbar: add option to disable Xorg

This commit is contained in:
Sandro Jäckel 2022-12-05 01:15:20 +01:00
parent e22198417d
commit 4312ffd16a
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, imagemagickBig
, pkg-config
, withXorg ? true
, libX11
, libv4l
, qtbase
@ -48,10 +49,11 @@ stdenv.mkDerivation rec {
buildInputs = [
imagemagickBig
libX11
libintl
] ++ lib.optionals enableDbus [
dbus
] ++ lib.optionals withXorg [
libX11
] ++ lib.optionals enableVideo [
libv4l
gtk3