colord-gtk4: split out of colord-gtk
This commit is contained in:
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user