From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GMx4AjIj32JR3QAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 01:11:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GN2KAjIj32JZFQAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 01:11:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AA7DC2F368 for ; Tue, 26 Jul 2022 01:11:45 +0200 (CEST) Received: from localhost ([::1]:35224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG7Em-0007Kn-RJ for larch@yhetil.org; Mon, 25 Jul 2022 19:11:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG7E8-0006aJ-4f for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG7E7-0005iU-Rx for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oG7E7-0000He-Nf for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56771] [PATCH 10/33] gnu: Add qtmultimedia, version 6.3.1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 23:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56771 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56771@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 56771-submit@debbugs.gnu.org id=B56771.1658790616842 (code B ref 56771); Mon, 25 Jul 2022 23:11:03 +0000 Received: (at 56771) by debbugs.gnu.org; 25 Jul 2022 23:10:16 +0000 Received: from localhost ([127.0.0.1]:51676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7DL-0000DQ-S8 for submit@debbugs.gnu.org; Mon, 25 Jul 2022 19:10:16 -0400 Received: from mail-qv1-f47.google.com ([209.85.219.47]:40776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7BZ-00005g-V3 for 56771@debbugs.gnu.org; Mon, 25 Jul 2022 19:08:27 -0400 Received: by mail-qv1-f47.google.com with SMTP id i4so9514374qvv.7 for <56771@debbugs.gnu.org>; Mon, 25 Jul 2022 16:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ycoy7B6K0mKKemjSpmUGu1YwXZwbogrL4EN8ci9t2MM=; b=WRNeMAHQ38KdQeaRAqd2/waSeam1vNjgyJr8KVtCXbJ1Vnpo9Kpmb2MskHtVW38HYS jDvGJt1lIxUIGwbgNdGboPWp3nZxqUR8LMicDIM3vzlpTxovTBYNQYEpysOj5o+HJrN4 CVez6owtCQZCtEcCp6j61QquhdKijmortRK1LVHhp39L2An27ABkjJRoWBOHgtt8Q4lG l5iJpC55+MiPLXQk1mWKCVaO4h/PE3wrTua+zWqAw1XdCobT5BSGddFXhrM3VhZ4j2cQ HRo3kw5qU9jcFuZhiOGLCWB8ubud2Qdq3vmvstd1IzIVWcjVnZf27n4MalW45+SH9XpC fJCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ycoy7B6K0mKKemjSpmUGu1YwXZwbogrL4EN8ci9t2MM=; b=6UeoQrKur7u0w9tzAoJieRsMl+bVrlwhYTJCId69LTGB+Pcx2WSraRa38BY+m7618b vnjCJrc4lxpChcVRpEDcBQOZCUWnRmGPF/VQ+h4XpsnGgSN55miDAYU0C635OD6EFYkw Qe+iF1++JNl0a9fmst2+FIaHk6T4/nVmMzrUwg66xtNYMsGdhaOEwp4ABaWdtG3NJgBG V7jvXXILAvN6WY0yaBcihVzmjOUhbHTGxnnNMzC8O1iZ6H3dXV49YIBZ+nPK8neblB56 vBb79wT11NhRCNqY9Fw9MUPpkmkeqSoFAbzD+taE1605SMSVaU6w4ST96hBHKd/SwKts WO9Q== X-Gm-Message-State: AJIora+pL6yc2zEr5x8HQ9ZHQffSHwugCNeTNT1wJj570piUTCOMHyIA vTeINoR7E5/+kxGjQ1mcl573bd6xsvU= X-Google-Smtp-Source: AGRyM1soK6ChB3jrlDAL8sRgNBQMSBk2+Y1TdLCGVzVR0XbN+WS7f/pWMfHh276kV+ppszaWkjHkMA== X-Received: by 2002:a0c:a90f:0:b0:473:93b1:81ef with SMTP id y15-20020a0ca90f000000b0047393b181efmr12009794qva.27.1658790500315; Mon, 25 Jul 2022 16:08:20 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-125-69.b2b2c.ca. [205.233.125.69]) by smtp.gmail.com with ESMTPSA id c15-20020ac8008f000000b0031ee9afafccsm8110580qtg.14.2022.07.25.16.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 16:08:19 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 25 Jul 2022 19:07:40 -0400 Message-Id: <20220725230803.10002-10-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220725230803.10002-1-maxim.cournoyer@gmail.com> References: <20220725230803.10002-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658790705; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ycoy7B6K0mKKemjSpmUGu1YwXZwbogrL4EN8ci9t2MM=; b=LVgax6mhsM+eq9bKG9e99bCqGQ/fCtDwR6OZ2qNgNgLPRzsbFft9wl2UD1eOPZKVo8DDSc Nqv1qig5pRK/E/1IF49NoZthR1hwiGsBI+5N0BuHRjmU3+rqdfhXs4eb7D8QZGUuVTIRHM yPjMc9MOCvIuRkaYC8Y5cWBus+CxAn4WRAEVQJFQREoD7DiKPoyWT3ML73Y4JM3BLNcLKJ yf4RugMgOZL6z1jYc2Z1CAJo95F7azeqHKjCo2XrScsojIieuwjmjXQUcvcQ6rwFOrH6dj OfDC52e4QV5wYKKFZoV+9tcfRxu8JxrrJQDq1HEUDf5V3OPam7pgXK6WL/wYRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658790705; a=rsa-sha256; cv=none; b=j6DHQ3jJ8elImgRawgiEb1CFFz6FA0b5koakE7BVMXh9qb22W2sUYY8DeOjCC+AlWyotbP gebrZWr1Knr9Tbji6yWTe7vW0hjh0YbHgvlS3ByAp8uX+IKaTuqOdEogDoDRUl68YyluO5 WHvNxsU+megX4RNlcjygkYYA34whdox+iYmnciNc6pGWIOdSMhPKx1SVnVCJF86OYt25Vm WEoypdC3b8237RE40Hj0TY8a7m8pRqRfXLYvNyLWL2FEZSbjBxVRNDaCOs3ZUXE6v/JjUx dfU9jaITeQ7TEdis+teEpq6iIezH8xFZ8GNgjdnwwfzWIaqsSVKcphq2xYz8sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WRNeMAHQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WRNeMAHQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AA7DC2F368 X-Spam-Score: 6.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: uTNre0uMc1sl * 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 ffb2513781..1d7149e737 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1203,6 +1203,71 @@ (define-public qtshadertools 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") -- 2.36.1