gnu: gstreamer: Use license: prefix.

* gnu/packages/gstreamer.scm (define-module): Import guix licenses with
(orc): Likewise.
(gstreamer): Likewise.
(gst-plugins-base): Likewise.
(gst-plugins-good): Likewise.
(gst-plugins-bad): Likewise.
(gst-plugins-ugly): Likewise.
(gst-libav): Likewise.
(python-gst): Likewise.
This commit is contained in:
David Craven 2016-08-15 16:20:09 +02:00
parent 9a935ef2df
commit 5cde47ecd6
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

@ -21,7 +21,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages gstreamer) (define-module (gnu packages gstreamer)
#:use-module ((guix licenses) #:select (lgpl2.0+ lgpl2.1+ bsd-2 bsd-3 gpl2+)) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -92,7 +92,7 @@ (define-public orc
arrays of data.") arrays of data.")
;; The source code implementing the Marsenne Twister algorithm is licensed ;; The source code implementing the Marsenne Twister algorithm is licensed
;; under the 3-clause BSD license, the rest is under 2-clause BSD license. ;; under the 3-clause BSD license, the rest is under 2-clause BSD license.
(license (list bsd-2 bsd-3)))) (license (list license:bsd-2 license:bsd-3))))
(define-public gstreamer (define-public gstreamer
(package (package
@ -140,7 +140,7 @@ (define-public gstreamer
simple plugin with a clean, generic interface. simple plugin with a clean, generic interface.
This package provides the core library and elements.") This package provides the core library and elements.")
(license lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gst-plugins-base (define-public gst-plugins-base
(package (package
@ -192,7 +192,7 @@ (define-public gst-plugins-base
"Plugins for the GStreamer multimedia library") "Plugins for the GStreamer multimedia library")
(description "This package provides an essential exemplary set of plug-ins (description "This package provides an essential exemplary set of plug-ins
for the GStreamer multimedia library.") for the GStreamer multimedia library.")
(license lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gst-plugins-good (define-public gst-plugins-good
@ -258,7 +258,7 @@ (define-public gst-plugins-good
(description "GStreamer Good Plug-ins is a set of plug-ins for the (description "GStreamer Good Plug-ins is a set of plug-ins for the
GStreamer multimedia library. This set contains those plug-ins which the GStreamer multimedia library. This set contains those plug-ins which the
developers consider to have good quality code and correct functionality.") developers consider to have good quality code and correct functionality.")
(license lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gst-plugins-bad (define-public gst-plugins-bad
(package (package
@ -331,7 +331,7 @@ (define-public gst-plugins-bad
(description (description
"GStreamer Bad Plug-ins is a set of plug-ins whose quality aren't up to "GStreamer Bad Plug-ins is a set of plug-ins whose quality aren't up to
par compared to the rest.") par compared to the rest.")
(license lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gst-plugins-ugly (define-public gst-plugins-ugly
(package (package
@ -369,7 +369,7 @@ (define-public gst-plugins-ugly
(description "GStreamer Ugly Plug-ins. This set contains those plug-ins (description "GStreamer Ugly Plug-ins. This set contains those plug-ins
which the developers consider to have good quality code but that might pose which the developers consider to have good quality code but that might pose
distribution problems in some jurisdictions, e.g. due to patent threats.") distribution problems in some jurisdictions, e.g. due to patent threats.")
(license lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gst-libav (define-public gst-libav
(package (package
@ -406,7 +406,7 @@ (define-public gst-libav
(description (description
"This GStreamer plugin supports a large number of audio and video "This GStreamer plugin supports a large number of audio and video
compression formats through the use of the libav library.") compression formats through the use of the libav library.")
(license gpl2+))) (license license:gpl2+)))
(define-public python-gst (define-public python-gst
(package (package
@ -446,7 +446,7 @@ (define-public python-gst
(description (description
"This package contains GObject Introspection overrides for Python that can "This package contains GObject Introspection overrides for Python that can
be used by Python applications using GStreamer.") be used by Python applications using GStreamer.")
(license lgpl2.1+) (license license:lgpl2.1+)
(properties `((python2-variant . ,(delay python2-gst)))))) (properties `((python2-variant . ,(delay python2-gst))))))
(define-public python2-gst (define-public python2-gst