qt5.qtwebengine: patch more library paths
Adapted from chromium derivation. Fixes qutebrowser crash.
This commit is contained in:
parent
8c410f4b18
commit
a7a858aa52
@ -6,6 +6,7 @@
|
||||
, alsaLib
|
||||
, libcap
|
||||
, pciutils
|
||||
, systemd
|
||||
|
||||
, bison, flex, git, which, gperf
|
||||
, coreutils
|
||||
@ -42,6 +43,12 @@ qtSubmodule {
|
||||
-e "s,QLibraryInfo::location(QLibraryInfo::LibraryExecutablesPath),QLatin1String(\"$out/libexec\"),g" \
|
||||
src/core/web_engine_library_info.cpp
|
||||
|
||||
sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${systemd.lib}/lib/\1!' \
|
||||
src/3rdparty/chromium/device/udev_linux/udev?_loader.cc
|
||||
|
||||
sed -i -e '/libpci_loader.*Load/s!"\(libpci\.so\)!"${pciutils}/lib/\1!' \
|
||||
src/3rdparty/chromium/gpu/config/gpu_info_collector_linux.cc
|
||||
|
||||
configureFlags+="\
|
||||
-plugindir $out/lib/qt5/plugins \
|
||||
-importdir $out/lib/qt5/imports \
|
||||
|
@ -6,6 +6,7 @@
|
||||
, alsaLib
|
||||
, libcap
|
||||
, pciutils
|
||||
, systemd
|
||||
|
||||
, bison, flex, git, which, gperf
|
||||
, coreutils
|
||||
@ -42,6 +43,12 @@ qtSubmodule {
|
||||
-e "s,QLibraryInfo::location(QLibraryInfo::LibraryExecutablesPath),QLatin1String(\"$out/libexec\"),g" \
|
||||
src/core/web_engine_library_info.cpp
|
||||
|
||||
sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${systemd.lib}/lib/\1!' \
|
||||
src/3rdparty/chromium/device/udev_linux/udev?_loader.cc
|
||||
|
||||
sed -i -e '/libpci_loader.*Load/s!"\(libpci\.so\)!"${pciutils}/lib/\1!' \
|
||||
src/3rdparty/chromium/gpu/config/gpu_info_collector_linux.cc
|
||||
|
||||
configureFlags+="\
|
||||
-plugindir $out/lib/qt5/plugins \
|
||||
-importdir $out/lib/qt5/imports \
|
||||
|
Loading…
Reference in New Issue
Block a user