gnu: gstreamer: Update to 1.18.4.

* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[propagated-inputs]: Add elfutils and libunwind.
[synopsis]: Change to "Multimedia framework".
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add gmp, libcap and gsl.

Co-authored-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
Raghav Gururajan 2021-04-12 11:36:06 +02:00 committed by Maxim Cournoyer
parent 1f1f5b2a25
commit 002869f3da
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -40,6 +40,7 @@ (define-module (gnu packages gstreamer)
#:use-module (gnu packages audio) #:use-module (gnu packages audio)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages cdrom) #:use-module (gnu packages cdrom)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
@ -62,7 +63,9 @@ (define-module (gnu packages gstreamer)
#:use-module (gnu packages libunwind) #:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb) #:use-module (gnu packages libusb)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3) #:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages networking) #:use-module (gnu packages networking)
#:use-module (gnu packages ocr) #:use-module (gnu packages ocr)
@ -461,16 +464,16 @@ (define %common-gstreamer-phases
(define-public gstreamer (define-public gstreamer
(package (package
(name "gstreamer") (name "gstreamer")
(version "1.18.2") (version "1.18.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-" "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6")))) "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -487,29 +490,36 @@ (define-public gstreamer
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*") (("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"") "")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*") (("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
"")) "")))))
#t))) '()))))
'()) (propagated-inputs
;; XXX: This test fails undeterministically. ;; In gstreamer-1.0.pc:
(add-after 'unpack 'disable-test ;; Requires: glib-2.0, gobject-2.0
(lambda _ ;; Requires.private: gmodule-no-export-2.0 libunwind libdw
(substitute* "tests/check/meson.build" `(("elfutils" ,elfutils) ; libdw
((".*libs/gstnetclientclock\\.c.*") ""))))))) ("glib" ,glib)
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc. ("libunwind" ,libunwind)))
(native-inputs (native-inputs
`(("bison" ,bison) `(("bash-completion" ,bash-completion)
("bison" ,bison)
("flex" ,flex) ("flex" ,flex)
("gettext" ,gettext-minimal)
("glib" ,glib "bin") ("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
("perl" ,perl) ("perl" ,perl)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper))) ("python-wrapper" ,python-wrapper)))
(inputs
`(("gmp" ,gmp)
("libcap" ,libcap)
;; For tests.
("gsl" ,gsl)))
(native-search-paths (native-search-paths
(list (search-path-specification (list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH") (variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0"))))) (files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/") (home-page "https://gstreamer.freedesktop.org/")
(synopsis "Multimedia library") (synopsis "Multimedia framework")
(description (description
"GStreamer is a library for constructing graphs of media-handling "GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis components. The applications it supports range from simple Ogg/Vorbis