forked from mirrors/nixpkgs
libnma-gtk4: Add GTK4 variant
This commit is contained in:
parent
34453ad1a8
commit
0ae8b8e8e1
|
@ -15,6 +15,8 @@
|
|||
, mobile-broadband-provider-info
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, withGtk4 ? false
|
||||
, gtk4
|
||||
, withGnome ? true
|
||||
, gcr
|
||||
, glib
|
||||
|
@ -56,6 +58,8 @@ stdenv.mkDerivation rec {
|
|||
networkmanager
|
||||
isocodes
|
||||
mobile-broadband-provider-info
|
||||
] ++ lib.optionals withGtk4 [
|
||||
gtk4
|
||||
] ++ lib.optionals withGnome [
|
||||
# advanced certificate chooser
|
||||
gcr
|
||||
|
@ -63,6 +67,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
mesonFlags = [
|
||||
"-Dgcr=${lib.boolToString withGnome}"
|
||||
"-Dlibnma_gtk4=${lib.boolToString withGtk4}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -8156,6 +8156,8 @@ with pkgs;
|
|||
|
||||
libnma = callPackage ../tools/networking/networkmanager/libnma { };
|
||||
|
||||
libnma-gtk4 = libnma.override { withGtk4 = true; };
|
||||
|
||||
networkmanager_dmenu = callPackage ../tools/networking/networkmanager/dmenu { };
|
||||
|
||||
nm-tray = libsForQt5.callPackage ../tools/networking/networkmanager/tray.nix { };
|
||||
|
|
Loading…
Reference in a new issue