From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpED6-0003k8-GP for guix-patches@gnu.org; Tue, 05 Sep 2017 09:48:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpECw-0002Cf-Rw for guix-patches@gnu.org; Tue, 05 Sep 2017 09:48:12 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpECw-0002Ca-OO for guix-patches@gnu.org; Tue, 05 Sep 2017 09:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dpECw-0002Tg-HY for guix-patches@gnu.org; Tue, 05 Sep 2017 09:48:02 -0400 Subject: [bug#28357] [PATCH] gnu: qtmultimedia: Build gstreamer backend. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpEC2-0003e2-HW for guix-patches@gnu.org; Tue, 05 Sep 2017 09:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpEBx-0001fR-TN for guix-patches@gnu.org; Tue, 05 Sep 2017 09:47:06 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21005) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpEBx-0001ed-Kt for guix-patches@gnu.org; Tue, 05 Sep 2017 09:47:01 -0400 From: Ricardo Wurmus Date: Tue, 5 Sep 2017 15:46:52 +0200 Message-Id: <20170905134652.30250-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28357@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/qt.scm (qtmultimedia)[inputs]: Add gstreamer and gst-plugins-base. [arguments]: Replace configure phase to pass extra arguments to qmake. --- gnu/packages/qt.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3e3588a50..bc275ebb0 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -46,6 +46,7 @@ #: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,7 +777,15 @@ developers using C++ or QML, a CSS & JavaScript like language.") (("spectrum") "#")))))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) - ((#:tests? _ #f) #f))) ; TODO: Enable the tests + ((#: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) ("pkg-config" ,pkg-config) @@ -786,7 +795,10 @@ developers using C++ or QML, a CSS & JavaScript like language.") `(("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) -- 2.14.1