clan-app: fix webiview-lib under darwin

This commit is contained in:
Qubasa
2025-01-06 19:39:21 +01:00
parent 04e644cacc
commit bd9536e8f9
2 changed files with 14 additions and 7 deletions

View File

@@ -17,6 +17,9 @@
}, },
{ {
"path": "../webview-ui" "path": "../webview-ui"
},
{
"path": "../webview-lib"
} }
], ],
"settings": { "settings": {

View File

@@ -17,13 +17,17 @@ pkgs.stdenv.mkDerivation {
]; ];
# Dependencies used during the build process, if any # Dependencies used during the build process, if any
buildInputs = with pkgs; [ buildInputs =
gnumake with pkgs;
cmake [
pkg-config gnumake
webkitgtk_6_0 cmake
gtk4 pkg-config
]; ]
++ pkgs.lib.optionals stdenv.isLinux [
webkitgtk_6_0
gtk4
];
meta = with pkgs.lib; { meta = with pkgs.lib; {
description = "Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows)"; description = "Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows)";