Merge pull request #214418 from k3a/macos-diffuse

diffuse: macos support
This commit is contained in:
Weijia Wang
2023-02-04 01:29:34 +01:00
committed by GitHub
+6 -1
View File
@@ -45,6 +45,11 @@ python3.pkgs.buildPythonApplication rec {
pygobject3
];
preConfigure = ''
# app bundle for macos
substituteInPlace src/diffuse/meson.build data/icons/meson.build --replace "/Applications" "$out/Applications";
'';
mesonFlags = [
"-Db_ndebug=true"
];
@@ -63,6 +68,6 @@ python3.pkgs.buildPythonApplication rec {
description = "Graphical tool for merging and comparing text files";
license = licenses.gpl2;
maintainers = with maintainers; [ k3a ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}