gnu: openshot: Build with QtWebEngine instead of QtWebKit.
* gnu/packages/video.scm (openshot)[inputs]: Change from PYTHON-PYQT to PYTHON-PYQT-WITHOUT-QTWEBKIT. Add PYTHON-PYQTWEBENGINE and QTWEBENGINE-5. [arguments]: Wrap with QTWEBENGINEPROCESS_PATH.
This commit is contained in:
		
							parent
							
								
									aa1f9cb4b5
								
							
						
					
					
						commit
						4dda2e36a0
					
				
					 1 changed files with 13 additions and 5 deletions
				
			
		| 
						 | 
					@ -4834,10 +4834,12 @@ API.  It includes bindings for Python, Ruby, and other languages.")
 | 
				
			||||||
           font-dejavu
 | 
					           font-dejavu
 | 
				
			||||||
           libopenshot
 | 
					           libopenshot
 | 
				
			||||||
           python
 | 
					           python
 | 
				
			||||||
           python-pyqt
 | 
					           python-pyqt-without-qtwebkit
 | 
				
			||||||
 | 
					           python-pyqtwebengine
 | 
				
			||||||
           python-pyzmq
 | 
					           python-pyzmq
 | 
				
			||||||
           python-requests
 | 
					           python-requests
 | 
				
			||||||
           qtsvg-5))
 | 
					           qtsvg-5
 | 
				
			||||||
 | 
					           qtwebengine-5))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:modules ((guix build python-build-system)
 | 
					     `(#:modules ((guix build python-build-system)
 | 
				
			||||||
                  (guix build qt-utils)
 | 
					                  (guix build qt-utils)
 | 
				
			||||||
| 
						 | 
					@ -4867,10 +4869,16 @@ API.  It includes bindings for Python, Ruby, and other languages.")
 | 
				
			||||||
                      #t))
 | 
					                      #t))
 | 
				
			||||||
                  (add-after 'install 'wrap-program
 | 
					                  (add-after 'install 'wrap-program
 | 
				
			||||||
                    (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
					                    (lambda* (#:key outputs inputs #:allow-other-keys)
 | 
				
			||||||
                      (let ((out (assoc-ref outputs "out")))
 | 
					                      (let ((out (assoc-ref outputs "out"))
 | 
				
			||||||
 | 
					                            (qtwebengine-process-path
 | 
				
			||||||
 | 
					                             (search-input-file
 | 
				
			||||||
 | 
					                              inputs "/lib/qt5/libexec/QtWebEngineProcess")))
 | 
				
			||||||
                        (wrap-qt-program "openshot-qt"
 | 
					                        (wrap-qt-program "openshot-qt"
 | 
				
			||||||
                                         #:output out #:inputs inputs))
 | 
					                                         #:output out #:inputs inputs)
 | 
				
			||||||
                      #t)))))
 | 
					                        ;; Help the program discover QtWebEngine at runtime.
 | 
				
			||||||
 | 
					                        (wrap-program (string-append out "/bin/openshot-qt")
 | 
				
			||||||
 | 
					                          `("QTWEBENGINEPROCESS_PATH" =
 | 
				
			||||||
 | 
					                            (,qtwebengine-process-path)))))))))
 | 
				
			||||||
    (home-page "https://www.openshot.org/")
 | 
					    (home-page "https://www.openshot.org/")
 | 
				
			||||||
    (synopsis "Video editor")
 | 
					    (synopsis "Video editor")
 | 
				
			||||||
    (description "OpenShot takes your videos, photos, and music files and
 | 
					    (description "OpenShot takes your videos, photos, and music files and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue