Unverified Commit c154082e authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.pyqt6: fix support for dbus-python (#389179)

parents 813be7e7 c2b4106a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -38,8 +38,7 @@ buildPythonPackage rec {
  patches = [
    # Fix some wrong assumptions by ./project.py
    # TODO: figure out how to send this upstream
    # FIXME: make a version for PyQt6?
    # ./pyqt5-fix-dbus-mainloop-support.patch
    ./pyqt6-fix-dbus-mainloop-support.patch
    # confirm license when installing via pyqt6_sip
    ./pyqt5-confirm-license.patch
    # Fix build with Qt 6.8.2
+11 −0
Original line number Diff line number Diff line
--- a/project.py
+++ b/project.py
@@ -247,7 +247,7 @@
         dbus_lib_dirs = []
         dbus_libs = []
 
-        args = ['pkg-config', '--cflags-only-I', '--libs dbus-1']
+        args = ['pkg-config', '--cflags-only-I', '--libs dbus-1', 'dbus-python']
 
         for line in self.read_command_pipe(args, fatal=False):
             for flag in line.strip().split():