gnu: Add pyotherside-for-qt5.
* gnu/packages/qt.scm (pyotherside-for-qt5): New variable.
This commit is contained in:
		
							parent
							
								
									537962ae90
								
							
						
					
					
						commit
						6eb465112c
					
				
					 1 changed files with 23 additions and 0 deletions
				
			
		| 
						 | 
					@ -3264,6 +3264,29 @@ interpreter from QML for creating asynchronous mobile and desktop UIs with
 | 
				
			||||||
Python.")
 | 
					Python.")
 | 
				
			||||||
    (license license:isc)))
 | 
					    (license license:isc)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public pyotherside-for-qt5
 | 
				
			||||||
 | 
					  (package/inherit pyotherside
 | 
				
			||||||
 | 
					    (name "pyotherside-for-qt5")
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     (substitute-keyword-arguments (package-arguments pyotherside)
 | 
				
			||||||
 | 
					       ((#:qtbase _ #f)
 | 
				
			||||||
 | 
					        qtbase-5)
 | 
				
			||||||
 | 
					       ((#:phases phases '%standard-phases)
 | 
				
			||||||
 | 
					        #~(modify-phases #$phases
 | 
				
			||||||
 | 
					            (replace 'fix-installation-prefix
 | 
				
			||||||
 | 
					              (lambda _
 | 
				
			||||||
 | 
					                ;; The QT_INSTALL_QML property points to the qtbase
 | 
				
			||||||
 | 
					                ;; installation prefix.
 | 
				
			||||||
 | 
					                (substitute* "src/src.pro"
 | 
				
			||||||
 | 
					                  (("\\$\\$\\[QT_INSTALL_QML]")
 | 
				
			||||||
 | 
					                   (string-append #$output "/lib/qt"
 | 
				
			||||||
 | 
					                                  #$(version-major (package-version qtbase-5))
 | 
				
			||||||
 | 
					                                  "/qml")))))))))
 | 
				
			||||||
 | 
					    (inputs (modify-inputs (package-inputs pyotherside)
 | 
				
			||||||
 | 
					              (replace "qtdeclarative" qtdeclarative-5)
 | 
				
			||||||
 | 
					              (replace "qtquickcontrols2" qtquickcontrols-5)
 | 
				
			||||||
 | 
					              (replace "qtsvg" qtsvg-5)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python-sip
 | 
					(define-public python-sip
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-sip")
 | 
					    (name "python-sip")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue