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:
宋文武 2015-04-14 00:09:10 +08:00
parent d5f01e48e0
commit 04a20db2b3
1 changed files with 4 additions and 9 deletions

View File

@ -35,6 +35,7 @@
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages video)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (gnu packages xiph) #:use-module (gnu packages xiph)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
@ -262,19 +263,13 @@ developers consider to have good quality code and correct functionality.")
"1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30")))) "1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:configure-flags '("--with-system-libav")))
(modify-phases %standard-phases
(add-before configure patch-/bin/sh
(lambda _
(substitute* "gst-libs/ext/libav/configure"
(("#! /bin/sh")
(string-append "#! "(which "sh")))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("python" ,python) ("python" ,python)))
("yasm" ,yasm)))
(inputs (inputs
`(("gst-plugins-base" ,gst-plugins-base) `(("gst-plugins-base" ,gst-plugins-base)
("ffmpeg" ,ffmpeg)
("orc" ,orc) ("orc" ,orc)
("zlib" ,zlib))) ("zlib" ,zlib)))
(home-page "http://gstreamer.freedesktop.org/") (home-page "http://gstreamer.freedesktop.org/")