[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/35: gnu: Add qtmultimedia, version 6.3.1.
From: |
guix-commits |
Subject: |
11/35: gnu: Add qtmultimedia, version 6.3.1. |
Date: |
Mon, 1 Aug 2022 00:12:13 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 983a061e984c227feb2199a2ca37f9af2e594364
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jul 17 20:50:16 2022 -0400
gnu: Add qtmultimedia, version 6.3.1.
* gnu/packages/qt.scm (qtmultimedia): New variable.
---
gnu/packages/qt.scm | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 461180c5a3..f4e689cf6f 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1201,6 +1201,71 @@ supporting shader pipeline functionality as offered in
Qt Quick to operate on
Vulkan, OpenGL and other main graphic APIs.")
(license (package-home-page qtbase))))
+(define-public qtmultimedia
+ (package
+ (name "qtmultimedia")
+ (version "6.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (qt5-urls name version))
+ (sha256
+ (base32
+ "0dkk3lmzi2fs13cnj8q1lpcs6gghj219826gkwnzyd6nmlm280vy"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively
+ "examples/multimedia/spectrum/3rdparty")
+ ;; We also prevent the spectrum example from being built.
+ (substitute* "examples/multimedia/multimedia.pro"
+ (("spectrum") "#"))))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DQT_BUILD_TESTS=ON"
+ "-DQT_FEATURE_pulseaudio=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-integration-tests
+ (lambda _
+ ;; XXX: The tst_qaudiodecoderbackend, tst_qaudiodevice,
+ ;; tst_qaudiosource, tst_qmediaplayerbackend and
+ ;; tst_qcamerabackend tests fail, presumably because they
+ ;; require a functional pulseaudio daemon (which requires a dbus
+ ;; session bus, which requires an X11 server, and then is still
+ ;; unhappy).
+ (substitute* "tests/auto/CMakeLists.txt"
+ (("add_subdirectory\\(integration)") ""))))
+ (add-before 'check 'prepare-for-tests
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
+ (add-after 'install 'delete-installed-tests
+ (lambda _
+ (delete-file-recursively (string-append #$output "/tests")))))))
+ (native-inputs
+ (list perl
+ pkg-config
+ qtshadertools
+ vulkan-headers))
+ (inputs
+ (list alsa-lib
+ glib
+ gstreamer
+ gst-plugins-base ;gstreamer-gl
+ gst-plugins-good ;camera support, additional plugins
+ gst-libav ;ffmpeg plugin
+ libxkbcommon
+ mesa
+ qtbase
+ qtdeclarative
+ pulseaudio))
+ (home-page (package-home-page qtbase))
+ (synopsis "Qt Multimedia module")
+ (description "The Qt Multimedia module provides set of APIs to play and
+record media, and manage a collection of media content. It also contains a
+set of plugins for interacting with pulseaudio and GStreamer.")
+ (license (package-license qtbase))))
+
(define-public qtwayland
(package (inherit qtsvg-5)
(name "qtwayland")
- branch master updated (ab59155c5a -> 3a656ea836), guix-commits, 2022/08/01
- 02/35: gnu: qtbase: Honor CMAKE_PREFIX_PATH., guix-commits, 2022/08/01
- 03/35: gnu: qtbase: Enable test suite., guix-commits, 2022/08/01
- 25/35: gnu: Add qttools, version 6.3.1., guix-commits, 2022/08/01
- 27/35: gnu: Add qtnetworkauth, version 6.3.1., guix-commits, 2022/08/01
- 31/35: gnu: libjami: Enable test agent., guix-commits, 2022/08/01
- 09/35: gnu: Add qtshadertools., guix-commits, 2022/08/01
- 05/35: gnu: qtsvg: Rename variable to qtsvg-5., guix-commits, 2022/08/01
- 11/35: gnu: Add qtmultimedia, version 6.3.1.,
guix-commits <=
- 16/35: gnu: qtquickcontrols2: Define as obsoleted by qtdeclarative., guix-commits, 2022/08/01
- 24/35: gnu: qttools: Rename to qttools-5., guix-commits, 2022/08/01
- 26/35: gnu: qtnetworkauth: Rename to qtnetworkauth-5., guix-commits, 2022/08/01
- 32/35: gnu: Remove jami-libclient., guix-commits, 2022/08/01
- 04/35: gnu: qtbase: Revert to gtk+ (3) instead of gtk (4)., guix-commits, 2022/08/01
- 18/35: gnu: Add qtwebsockets, version 6.3.1., guix-commits, 2022/08/01
- 15/35: gnu: qtquickcontrols2: Rename to qtquickcontrols2-5., guix-commits, 2022/08/01
- 14/35: gnu: qtquickcontrols: Rename to qtquickcontrols-5., guix-commits, 2022/08/01
- 13/35: gnu: Add qtdeclarative, version 6.3.1., guix-commits, 2022/08/01
- 12/35: gnu: qtdeclarative: Rename to qtdeclarative-5., guix-commits, 2022/08/01