chromium: remove xdg-utils build dependency as it is wrapped later anyway

This commit is contained in:
Philipp Mildenberger 2024-03-01 15:44:56 +01:00
parent a481a7c16c
commit 5248da496f
No known key found for this signature in database
GPG Key ID: D2480C382214FD8E

View File

@ -25,7 +25,7 @@
, bzip2, flac, speex, libopus
, libevent, expat, libjpeg, snappy
, libcap
, xdg-utils, minizip, libwebp
, minizip, libwebp
, libusb1, re2
, ffmpeg, libxslt, libxml2
, nasm
@ -184,9 +184,6 @@ let
bzip2 flac speex opusWithCustomModes
libevent expat libjpeg snappy
libcap
] ++ lib.optionals (!xdg-utils.meta.broken) [
xdg-utils
] ++ [
minizip libwebp
libusb1 re2
ffmpeg libxslt libxml2
@ -295,10 +292,6 @@ let
'/usr/share/locale/' \
'${glibc}/share/locale/'
'' + lib.optionalString (!xdg-utils.meta.broken) ''
sed -i -e 's@"\(#!\)\?.*xdg-@"\1${xdg-utils}/bin/xdg-@' \
chrome/browser/shell_integration_linux.cc
'' + lib.optionalString systemdSupport ''
sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \
device/udev_linux/udev?_loader.cc