[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
99/331: gnu: gst-libav: Update package definition.
From: |
guix-commits |
Subject: |
99/331: gnu: gst-libav: Update package definition. |
Date: |
Fri, 14 Aug 2020 11:13:06 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit c7f02b7051574b66e3c8aa6469967bc390578871
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Jul 6 00:51:06 2020 -0400
gnu: gst-libav: Update package definition.
* gnu/packages/gstreamer.scm (gst-libav): Update package definition.
[arguments]<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml, perl and ruby.
[inputs]: Remove gst-plugins-base, orc and zlib.
[propagated-inputs]: Add gstreamer and gst-plugins-base.
[synopsis]: Modify.
[description]: Modify.
[license]: Change from gpl2+ to lgpl2.0+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gstreamer.scm | 66 ++++++++++++++++++++++++++++------------------
1 file changed, 40 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index e47b73b..b39113b 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -85,6 +85,7 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xiph)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages speech)
#:use-module (gnu packages python)
#:use-module (gnu packages ssh)
@@ -928,7 +929,6 @@ they'll probably land in an unmarked grave at the final
showdown.")
("libcdio" ,libcdio)
("libdvdread" ,libdvdread)
("libmpeg2" ,libmpeg2)
- ("libdvdread" ,libdvdread)
("libx264" ,libx264)
("opencore-amr" ,opencore-amr)
("orc" ,orc)))
@@ -946,35 +946,49 @@ think twice about shipping them.")
(package
(name "gst-libav")
(version "1.16.2")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/" name "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Drop bundled ffmpeg.
- (delete-file-recursively "gst-libs/ext/libav")
- #t))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://gstreamer.freedesktop.org/src/" name "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Drop bundled ffmpeg.
+ (delete-file-recursively "gst-libs/ext/libav")
+ #t))))
(build-system meson-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute* "plugins/gst-libav-plugins-docs.sgml"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python" ,python)))
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("ruby" ,ruby)))
(inputs
- `(("gst-plugins-base" ,gst-plugins-base)
- ("ffmpeg" ,ffmpeg)
- ("orc" ,orc)
- ("zlib" ,zlib)))
+ `(("ffmpeg" ,ffmpeg)))
+ (propagated-inputs
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
+ (synopsis "GStreamer plugins and helper libraries")
+ (description "Gst-Libav contains a GStreamer plugin for using the encoders,
+decoders, muxers, and demuxers provided by FFmpeg.")
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Plugins for the GStreamer multimedia library")
- (description
- "This GStreamer plugin supports a large number of audio and video
-compression formats through the use of the libav library.")
- (license license:gpl2+)))
+ (license license:lgpl2.0+)))
(define-public gst-editing-services
(package
- 86/331: gnu: gtk+: Update package definition., (continued)
- 86/331: gnu: gtk+: Update package definition., guix-commits, 2020/08/14
- 79/331: gnu: Add zxing-cpp., guix-commits, 2020/08/14
- 80/331: gnu: Add iqa., guix-commits, 2020/08/14
- 81/331: gnu: Add rtmpdump., guix-commits, 2020/08/14
- 82/331: gnu: Add libnice., guix-commits, 2020/08/14
- 87/331: gnu: gtk-doc: Update package definition., guix-commits, 2020/08/14
- 90/331: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/08/14
- 96/331: gnu: Add opensles., guix-commits, 2020/08/14
- 97/331: gnu: gst-plugins-bad: Update package definition., guix-commits, 2020/08/14
- 98/331: gnu: gst-plugins-ugly: Update package definition., guix-commits, 2020/08/14
- 99/331: gnu: gst-libav: Update package definition.,
guix-commits <=
- 104/331: gnu: libnotify: Update package definition., guix-commits, 2020/08/14
- 105/331: gnu: librsvg@2.40.21: Update package definition., guix-commits, 2020/08/14
- 106/331: gnu: Add rust-cssparser-macros@0.6.0., guix-commits, 2020/08/14
- 107/331: gnu: Add rust-cssparser@0.27.2., guix-commits, 2020/08/14
- 95/331: gnu: Add openni2., guix-commits, 2020/08/14
- 119/331: git: rust-rgb: Update to 0.8.20., guix-commits, 2020/08/14
- 94/331: gnu: gvfs: Update package definition., guix-commits, 2020/08/14
- 108/331: gnu: Add rust-downcast-rs@1.2.0., guix-commits, 2020/08/14
- 114/331: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/08/14
- 125/331: gnu: libsoup: Update package definition., guix-commits, 2020/08/14