cinnamon.pix: Build without webkit2gtk-4.0

This removes webkit2gtk-4.0 from cinnamon closure.

ref: https://fedoraproject.org/wiki/Changes/Remove_webkit2gtk-4.0_API_Version
ref: a19d4c2b0a
This commit is contained in:
Bobby Rong 2024-04-15 08:54:01 +08:00
parent 2726f127c1
commit de86acc955
No known key found for this signature in database

View File

@ -10,15 +10,12 @@
, libtiff
, gst_all_1
, libraw
, libsoup
, libsecret
, glib
, gtk3
, gsettings-desktop-schemas
, librsvg
, libwebp
, json-glib
, webkitgtk
, lcms2
, bison
, flex
@ -65,17 +62,14 @@ stdenv.mkDerivation rec {
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
gtk3
json-glib
lcms2
libheif
libjpeg
libraw
librsvg
libsecret
libsoup
libtiff
libwebp
webkitgtk
xapp
];
@ -89,6 +83,10 @@ stdenv.mkDerivation rec {
pix/make-authors-tab.py
'';
# Avoid direct dependency on webkit2gtk-4.0
# https://fedoraproject.org/wiki/Changes/Remove_webkit2gtk-4.0_API_Version
mesonFlags = [ "-Dwebservices=false" ];
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';