gnu: vlc: Update to 2.2.4 [fixes CVE-2016-5108].

* gnu/packages/video.scm (vlc): Update to 2.2.4.
[inputs]: Remove qt, add qtbase.
[arguments]: Add phase to disable display test.
master
Efraim Flashner 2016-06-08 17:11:06 +03:00
parent dae620b8fe
commit a134cc8e93
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 12 additions and 4 deletions

View File

@ -559,15 +559,15 @@ audio/video codec library.")
(define-public vlc (define-public vlc
(package (package
(name "vlc") (name "vlc")
(version "2.2.1") (version "2.2.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"http://download.videolan.org/pub/videolan/vlc/" "https://download.videolan.org/pub/videolan/vlc/"
version "/vlc-" version ".tar.xz")) version "/vlc-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1jqzrzrpw6932lbkf863xk8cfmn4z2ngbxz7w8ggmh4f6xz9sgal")) "1gjkrwlg8ab3skzl67cxb9qzg4187ifckd1z9kpy11q058fyjchn"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; There are two occurrences where __DATE__ and __TIME__ are ;; There are two occurrences where __DATE__ and __TIME__ are
@ -609,7 +609,8 @@ audio/video codec library.")
("perl" ,perl) ("perl" ,perl)
("pulseaudio" ,pulseaudio) ("pulseaudio" ,pulseaudio)
("python" ,python-wrapper) ("python" ,python-wrapper)
("qt" ,qt) ("qtbase" ,qtbase)
;("qtx11extras" ,qtx11extras)
("sdl" ,sdl) ("sdl" ,sdl)
("sdl-image" ,sdl-image) ("sdl-image" ,sdl-image)
("speex" ,speex) ("speex" ,speex)
@ -623,6 +624,13 @@ audio/video codec library.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'remove-visual-tests
;; Some of the tests require using the display to test out VLC,
;; which fails in our sandboxed build system
(lambda _
(substitute* "test/run_vlc.sh"
(("./vlc --ignore-config") "echo"))
#t))
(add-after 'install 'regenerate-plugin-cache (add-after 'install 'regenerate-plugin-cache
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; The 'install-exec-hook' rule in the top-level Makefile.am ;; The 'install-exec-hook' rule in the top-level Makefile.am