mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
foliate: Force WebkitGtk 4.1 ABI
The 4.1 ABI mainly differs from the 4.0 by using libsoup 3.x. We are phasing out libsoup 2.x so let’s force foliate to use 4.1.
This commit is contained in:
parent
80ead5dfaf
commit
937a7bac8c
@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchFromGitHub, meson, gettext, glib, gjs, ninja, python3, gtk3
|
||||
, webkitgtk, gsettings-desktop-schemas, wrapGAppsHook, desktop-file-utils
|
||||
, webkitgtk_4_1, gsettings-desktop-schemas, wrapGAppsHook, desktop-file-utils
|
||||
, gobject-introspection, glib-networking }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build-aux/meson/postinstall.py
|
||||
|
||||
substituteInPlace src/main.js \
|
||||
--replace "'WebKit2': '4.0'" "'WebKit2': '4.1'"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
@ -30,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
glib-networking
|
||||
gjs
|
||||
gtk3
|
||||
webkitgtk
|
||||
webkitgtk_4_1
|
||||
desktop-file-utils
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user