summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-07-06 00:51:06 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-07-08 09:35:11 +0200
commit7c1fcbb3ee7abc0166def577293238c935ed89ab (patch)
treeb1ac516e8e5681aa5c07d03436eb30febb0ce1d3
parentgnu: gst-plugins-ugly: Update package definition. (diff)
downloadguix-wip-desktop.tar.gz
guix-wip-desktop.tar.bz2
guix-wip-desktop.tar.xz
gnu: gst-libav: Update package definition.wip-desktop
* 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>
-rw-r--r--gnu/packages/gstreamer.scm66
1 files 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 @@
85 #:use-module (gnu packages xdisorg) 85 #:use-module (gnu packages xdisorg)
86 #:use-module (gnu packages xiph) 86 #:use-module (gnu packages xiph)
87 #:use-module (gnu packages pkg-config) 87 #:use-module (gnu packages pkg-config)
88 #:use-module (gnu packages ruby)
88 #:use-module (gnu packages speech) 89 #:use-module (gnu packages speech)
89 #:use-module (gnu packages python) 90 #:use-module (gnu packages python)
90 #:use-module (gnu packages ssh) 91 #:use-module (gnu packages ssh)
@@ -928,7 +929,6 @@ they'll probably land in an unmarked grave at the final showdown.")
928 ("libcdio" ,libcdio) 929 ("libcdio" ,libcdio)
929 ("libdvdread" ,libdvdread) 930 ("libdvdread" ,libdvdread)
930 ("libmpeg2" ,libmpeg2) 931 ("libmpeg2" ,libmpeg2)
931 ("libdvdread" ,libdvdread)
932 ("libx264" ,libx264) 932 ("libx264" ,libx264)
933 ("opencore-amr" ,opencore-amr) 933 ("opencore-amr" ,opencore-amr)
934 ("orc" ,orc))) 934 ("orc" ,orc)))
@@ -946,35 +946,49 @@ think twice about shipping them.")
946 (package 946 (package
947 (name "gst-libav") 947 (name "gst-libav")
948 (version "1.16.2") 948 (version "1.16.2")
949 (source (origin 949 (source
950 (method url-fetch) 950 (origin
951 (uri (string-append 951 (method url-fetch)
952 "https://gstreamer.freedesktop.org/src/" name "/" 952 (uri
953 name "-" version ".tar.xz")) 953 (string-append
954 (sha256 954 "https://gstreamer.freedesktop.org/src/" name "/"
955 (base32 955 name "-" version ".tar.xz"))
956 "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967")) 956 (sha256
957 (modules '((guix build utils))) 957 (base32 "1wpfilc98bad9nsv3y1qapxp35dvn2mvwvrmqwrsj58cf09gc967"))
958 (snippet 958 (modules '((guix build utils)))
959 '(begin 959 (snippet
960 ;; Drop bundled ffmpeg. 960 '(begin
961 (delete-file-recursively "gst-libs/ext/libav") 961 ;; Drop bundled ffmpeg.
962 #t)))) 962 (delete-file-recursively "gst-libs/ext/libav")
963 #t))))
963 (build-system meson-build-system) 964 (build-system meson-build-system)
965 (arguments
966 `(#:phases
967 (modify-phases %standard-phases
968 (add-after 'unpack 'patch-docbook-xml
969 (lambda* (#:key inputs #:allow-other-keys)
970 (with-directory-excursion "docs"
971 (substitute* "plugins/gst-libav-plugins-docs.sgml"
972 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
973 (string-append (assoc-ref inputs "docbook-xml")
974 "/xml/dtd/docbook/"))))
975 #t)))))
964 (native-inputs 976 (native-inputs
965 `(("pkg-config" ,pkg-config) 977 `(("docbook-xml" ,docbook-xml-4.1.2)
966 ("python" ,python))) 978 ("perl" ,perl)
979 ("pkg-config" ,pkg-config)
980 ("python" ,python-wrapper)
981 ("ruby" ,ruby)))
967 (inputs 982 (inputs
968 `(("gst-plugins-base" ,gst-plugins-base) 983 `(("ffmpeg" ,ffmpeg)))
969 ("ffmpeg" ,ffmpeg) 984 (propagated-inputs
970 ("orc" ,orc) 985 `(("gstreamer" ,gstreamer)
971 ("zlib" ,zlib))) 986 ("gst-plugins-base" ,gst-plugins-base)))
987 (synopsis "GStreamer plugins and helper libraries")
988 (description "Gst-Libav contains a GStreamer plugin for using the encoders,
989decoders, muxers, and demuxers provided by FFmpeg.")
972 (home-page "https://gstreamer.freedesktop.org/") 990 (home-page "https://gstreamer.freedesktop.org/")
973 (synopsis "Plugins for the GStreamer multimedia library") 991 (license license:lgpl2.0+)))
974 (description
975 "This GStreamer plugin supports a large number of audio and video
976compression formats through the use of the libav library.")
977 (license license:gpl2+)))
978 992
979(define-public gst-editing-services 993(define-public gst-editing-services
980 (package 994 (package