mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: gst-libav: Use system ffmpeg instead of bundled libav.
* gnu/packages/gstreamer.scm (gst-libav)[arguments]: Remove #:phases. Add #:configure-flags. [native-inputs]: Remove yasm. [inputs]: Add ffmpeg.
This commit is contained in:
parent
d5f01e48e0
commit
04a20db2b3
1 changed files with 4 additions and 9 deletions
|
@ -35,6 +35,7 @@ (define-module (gnu packages gstreamer)
|
|||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages pulseaudio)
|
||||
#:use-module (gnu packages video)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (gnu packages xiph)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
|
@ -262,19 +263,13 @@ (define-public gst-libav
|
|||
"1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before configure patch-/bin/sh
|
||||
(lambda _
|
||||
(substitute* "gst-libs/ext/libav/configure"
|
||||
(("#! /bin/sh")
|
||||
(string-append "#! "(which "sh")))))))))
|
||||
'(#:configure-flags '("--with-system-libav")))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("python" ,python)
|
||||
("yasm" ,yasm)))
|
||||
("python" ,python)))
|
||||
(inputs
|
||||
`(("gst-plugins-base" ,gst-plugins-base)
|
||||
("ffmpeg" ,ffmpeg)
|
||||
("orc" ,orc)
|
||||
("zlib" ,zlib)))
|
||||
(home-page "http://gstreamer.freedesktop.org/")
|
||||
|
|
Loading…
Reference in a new issue