mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: qtmultimedia: Build gstreamer backend.
* gnu/packages/qt.scm (qtmultimedia)[inputs]: Add gstreamer and gst-plugins-base. [arguments]: Replace configure phase to pass extra arguments to qmake.
This commit is contained in:
parent
50cb3c8dd6
commit
0423131156
1 changed files with 14 additions and 2 deletions
|
@ -46,6 +46,7 @@ (define-module (gnu packages qt)
|
|||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnuzilla)
|
||||
#:use-module (gnu packages gperf)
|
||||
#:use-module (gnu packages gstreamer)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages icu4c)
|
||||
#:use-module (gnu packages image)
|
||||
|
@ -776,6 +777,14 @@ (define-public qtmultimedia
|
|||
(("spectrum") "#"))))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments qtsvg)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(zero? (system* "qmake" "QT_BUILD_PARTS = libs tools tests"
|
||||
(string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," out "/lib -Wl,-rpath,")
|
||||
(string-append "PREFIX=" out))))))))
|
||||
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
||||
(native-inputs
|
||||
`(("perl" ,perl)
|
||||
|
@ -786,7 +795,10 @@ (define-public qtmultimedia
|
|||
`(("alsa-lib" ,alsa-lib)
|
||||
("mesa" ,mesa)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("qtbase" ,qtbase)))))
|
||||
("qtbase" ,qtbase)
|
||||
;; Gstreamer is needed for the mediaplayer plugin
|
||||
("gstreamer" ,gstreamer)
|
||||
("gst-plugins-base" ,gst-plugins-base)))))
|
||||
|
||||
(define-public qtwayland
|
||||
(package (inherit qtsvg)
|
||||
|
|
Loading…
Reference in a new issue