avahi: remove Qt 4 support

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Jan Tojnar 2 years ago committed by GitHub
parent 8fa4e66def
commit eb31cd04f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      pkgs/development/libraries/avahi/default.nix

@ -14,8 +14,6 @@
, nixosTests
, gtk3Support ? false
, gtk3 ? null
, qt4 ? null
, qt4Support ? false
, qt5 ? null
, qt5Support ? false
, withLibdnssdCompat ? false
@ -23,8 +21,6 @@
, withPython ? false
}:
assert qt4Support -> qt4 != null;
stdenv.mkDerivation rec {
pname = "avahi${lib.optionalString withLibdnssdCompat "-compat"}";
version = "0.8";
@ -63,8 +59,6 @@ stdenv.mkDerivation rec {
XMLParser
]) ++ lib.optionals gtk3Support [
gtk3
] ++ lib.optionals qt4Support [
qt4
] ++ lib.optionals qt5Support [
qt5
];
@ -81,7 +75,6 @@ stdenv.mkDerivation rec {
# Use non-deprecated path https://github.com/lathiat/avahi/pull/376
"--with-dbus-sys=${placeholder "out"}/share/dbus-1/system.d"
(lib.enableFeature gtk3Support "gtk3")
(lib.enableFeature qt4Support "qt4")
(lib.enableFeature qt5Support "qt5")
(lib.enableFeature withPython "python")
"--localstatedir=/var"

Loading…
Cancel
Save