zbar: add option to disable Xorg
This commit is contained in:
parent
e22198417d
commit
4312ffd16a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user