Skip to content

Commit

Permalink
orca-slicer: fix webkit2gtk
Browse files Browse the repository at this point in the history
  • Loading branch information
liberodark committed Nov 25, 2024
1 parent 61aa4ba commit a29592b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkgs/by-name/or/orca-slicer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
lib,
fetchFromGitHub,
bambu-studio,
webkitgtk_4_1,
pkg-config,
}:
bambu-studio.overrideAttrs (
finalAttrs: previousAttrs: {
Expand All @@ -15,6 +17,18 @@ bambu-studio.overrideAttrs (
hash = "sha256-h+cHWhrp894KEbb3ic2N4fNTn13WlOSYoMsaof0RvRI=";
};

nativeBuildInputs = (previousAttrs.nativeBuildInputs or [ ]) ++ [
pkg-config
];

buildInputs = (previousAttrs.buildInputs or [ ]) ++ [
webkitgtk_4_1
];

cmakeFlags = (previousAttrs.cmakeFlags or [ ]) ++ [
"-DUSE_WEBKIT_4_1=ON"
];

patches = [
# Fix for webkitgtk linking
./patches/0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
Expand Down

0 comments on commit a29592b

Please sign in to comment.