From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH 16/24] gnu: gstreamer: Add qt-gstreamer. Date: Tue, 16 Aug 2016 17:28:25 -0500 Message-ID: <20160816172825.0ef05e2b@openmailbox.org> References: <20160816183938.22794-1-david@craven.ch> <20160816183938.22794-16-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZmqm-0000GS-8b for guix-devel@gnu.org; Tue, 16 Aug 2016 18:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZmqh-0001Jq-1Y for guix-devel@gnu.org; Tue, 16 Aug 2016 18:28:47 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:54774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZmqg-0001Ja-Nw for guix-devel@gnu.org; Tue, 16 Aug 2016 18:28:42 -0400 In-Reply-To: <20160816183938.22794-16-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel@gnu.org Hello David, You can remove the "gstreamer: " bit from the commit subject. On Tue, 16 Aug 2016 20:39:30 +0200 David Craven wrote: > * gnu/packages/gstreamer.scm (qt-gstreamer): New variable. > --- > gnu/packages/gstreamer.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm > index 54919cd..ee3c9e4 100644 > --- a/gnu/packages/gstreamer.scm > +++ b/gnu/packages/gstreamer.scm > @@ -24,11 +24,13 @@ > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix packages) > #:use-module (guix download) > + #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > #:use-module (guix utils) > #:use-module (gnu packages) > #:use-module (gnu packages audio) > #:use-module (gnu packages bison) > + #:use-module (gnu packages boost) > #:use-module (gnu packages cdrom) > #:use-module (gnu packages curl) > #:use-module (gnu packages compression) > @@ -467,3 +469,43 @@ be used by Python applications using GStreamer.") > (propagated-inputs > `(("gst-plugins-base" ,gst-plugins-base) > ("python-pygobject" ,python2-pygobject))))) > + > +(define-public qt-gstreamer > + (package > + (name "qt-gstreamer") > + (version "1.2.0") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://gstreamer.freedesktop.org/src/qt-gstreamer/" > + "qt-gstreamer-" version ".tar.xz")) > + (sha256 > + (base32 > + "1m4g5vcs8r4b8dzndr9a5w0rrawdyinvjkacis8vxnfafhmljfwz")))) > + (build-system cmake-build-system) > + (native-inputs > + `(("glib:bin" ,glib "bin") > + ("pkg-config" ,pkg-config))) > + (propagated-inputs > + `(("boost" ,boost))) Is boost propagated due to header references? > + (inputs > + `(("glib" ,glib) > + ("gstreamer" ,gstreamer) > + ("gst-libav" ,gst-libav) > + ("gst-plugins-base" ,gst-plugins-base) > + ("qtbase" ,qtbase) > + ("qtdeclarative" ,qtdeclarative))) > + (arguments > + `(#:configure-flags > + '("-DQT_VERSION=5" > + "-DUSE_GST_PLUGIN_DIR=OFF" > + "-DUSE_QT_PLUGIN_DIR=OFF") > + #:validate-runpath? #f)) As Leo mentioned, what is the reason for disabling runpath validation? > + (home-page "https://gstreamer.freedesktop.org/modules/qt-gstreamer.html") > + (synopsis "C++ bindings for GStreamer with a Qt-style API") > + (description "QtGStreamer is a set of libraries providing C++ bindings for > +GStreamer with a Qt-style API, plus some helper classes and elements for > +integrating GStreamer better in Qt applications. The goal of this module is to > +allow easy use of GStreamer for applications targetting MeeGo Mobile or the KDE > +desktop.") > + (license license:lgpl2.1+)))