colord-gtk4: split out of colord-gtk
This commit is contained in:
parent
0ae8b8e8e1
commit
c8f3985050
|
@ -12,6 +12,7 @@
|
|||
, docbook_xml_dtd_412
|
||||
, libxslt
|
||||
, glib
|
||||
, withGtk4 ? false
|
||||
, gtk3
|
||||
, gtk4
|
||||
, pkg-config
|
||||
|
@ -49,8 +50,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
colord
|
||||
gtk3
|
||||
] ++ (if withGtk4 then [
|
||||
gtk4
|
||||
] else [
|
||||
gtk3
|
||||
]);
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk4=${lib.boolToString withGtk4}"
|
||||
"-Dgtk3=${lib.boolToString (!withGtk4)}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -4212,6 +4212,8 @@ with pkgs;
|
|||
|
||||
colord-gtk = callPackage ../tools/misc/colord-gtk { };
|
||||
|
||||
colord-gtk4 = colord-gtk.override { withGtk4 = true; };
|
||||
|
||||
colordiff = callPackage ../tools/text/colordiff { };
|
||||
|
||||
connect = callPackage ../tools/networking/connect { };
|
||||
|
|
Loading…
Reference in a new issue