gnu: kdeconnect: Fix dbus autostart for kdeconnectd.
* gnu/packages/kde.scm (kdeconnect)[arguments]: Add fix-dbus-autostart phase. Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
		
							parent
							
								
									dae712644d
								
							
						
					
					
						commit
						f59c412682
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -1326,6 +1326,13 @@ different notification systems.") | |||
|                    "-DKDE_INSTALL_LIBEXECDIR=libexec" | ||||
|                    ;; So kdeconnect.so isn't installed to lib/plugins | ||||
|                    "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins") | ||||
|            #:phases #~(modify-phases %standard-phases | ||||
|                         (add-after 'unpack 'fix-dbus-autostart | ||||
|                           (lambda _ | ||||
|                             ;; 'dbus-daemon' requires an absolute Exec path. | ||||
|                             (substitute* "daemon/org.kde.kdeconnect.service.in" | ||||
|                               (("kdeconnectd") | ||||
|                                (string-append #$output "/bin/kdeconnectd")))))) | ||||
|            #:tests? #f)) ; tests fail hard in our build environment | ||||
|     (native-inputs | ||||
|      (list extra-cmake-modules | ||||
|  |  | |||
		Reference in a new issue