mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
f65cfc6d67
commit
aa4557a223
1 changed files with 42 additions and 26 deletions
|
@ -73,8 +73,11 @@
|
||||||
#:use-module (gnu packages shells)
|
#:use-module (gnu packages shells)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (gnu packages xiph)
|
#:use-module (gnu packages xiph)
|
||||||
#:use-module (gnu packages pkg-config)
|
#: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 python)
|
||||||
#:use-module (gnu packages ssh)
|
#:use-module (gnu packages ssh)
|
||||||
#:use-module (gnu packages telephony)
|
#:use-module (gnu packages telephony)
|
||||||
|
@ -764,7 +767,6 @@ par compared to the rest.")
|
||||||
("libcdio" ,libcdio)
|
("libcdio" ,libcdio)
|
||||||
("libdvdread" ,libdvdread)
|
("libdvdread" ,libdvdread)
|
||||||
("libmpeg2" ,libmpeg2)
|
("libmpeg2" ,libmpeg2)
|
||||||
("libdvdread" ,libdvdread)
|
|
||||||
("libx264" ,libx264)
|
("libx264" ,libx264)
|
||||||
("opencore-amr" ,opencore-amr)
|
("opencore-amr" ,opencore-amr)
|
||||||
("orc" ,orc)))
|
("orc" ,orc)))
|
||||||
|
@ -782,35 +784,49 @@ think twice about shipping them.")
|
||||||
(package
|
(package
|
||||||
(name "gst-libav")
|
(name "gst-libav")
|
||||||
(version "1.16.2")
|
(version "1.16.2")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append
|
(method url-fetch)
|
||||||
"https://gstreamer.freedesktop.org/src/" name "/"
|
(uri
|
||||||
name "-" version ".tar.xz"))
|
(string-append
|
||||||
(sha256
|
"https://gstreamer.freedesktop.org/src/" name "/"
|
||||||
(base32
|
name "-" version ".tar.xz"))
|
||||||
"1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967"))
|
(sha256
|
||||||
(modules '((guix build utils)))
|
(base32 "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967"))
|
||||||
(snippet
|
(modules '((guix build utils)))
|
||||||
'(begin
|
(snippet
|
||||||
;; Drop bundled ffmpeg.
|
'(begin
|
||||||
(delete-file-recursively "gst-libs/ext/libav")
|
;; Drop bundled ffmpeg.
|
||||||
#t))))
|
(delete-file-recursively "gst-libs/ext/libav")
|
||||||
|
#t))))
|
||||||
(build-system meson-build-system)
|
(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
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("docbook-xml" ,docbook-xml-4.1.2)
|
||||||
("python" ,python)))
|
("perl" ,perl)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
|
("python" ,python-wrapper)
|
||||||
|
("ruby" ,ruby)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gst-plugins-base" ,gst-plugins-base)
|
`(("ffmpeg" ,ffmpeg)))
|
||||||
("ffmpeg" ,ffmpeg)
|
(propagated-inputs
|
||||||
("orc" ,orc)
|
`(("gstreamer" ,gstreamer)
|
||||||
("zlib" ,zlib)))
|
("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/")
|
(home-page "https://gstreamer.freedesktop.org/")
|
||||||
(synopsis "Plugins for the GStreamer multimedia library")
|
(license license:lgpl2.0+)))
|
||||||
(description
|
|
||||||
"This GStreamer plugin supports a large number of audio and video
|
|
||||||
compression formats through the use of the libav library.")
|
|
||||||
(license license:gpl2+)))
|
|
||||||
|
|
||||||
(define-public gst-editing-services
|
(define-public gst-editing-services
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue