gnu: mpv: Fix build by using pkg-config for smbclient.

This is a followup to commit 710964d.

* gnu/packages/video.scm (mpv)[arguments]: Remove 'patch-wscript' phase.
This commit is contained in:
宋文武 2015-12-19 12:15:59 +08:00
parent 7db0799dc9
commit 599fd84227
1 changed files with 1 additions and 8 deletions

View File

@ -755,14 +755,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
'configure 'setup-waf 'configure 'setup-waf
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(copy-file (assoc-ref inputs "waf") "waf") (copy-file (assoc-ref inputs "waf") "waf")
(setenv "CC" "gcc"))) (setenv "CC" "gcc"))))
(add-before
'configure 'patch-wscript
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "wscript"
;; XXX Remove this when our Samba package provides a .pc file.
(("check_pkg_config\\('smbclient'\\)")
"check_cc(lib='smbclient')")))))
;; No check function defined. ;; No check function defined.
#:tests? #f)) #:tests? #f))
(home-page "http://mpv.io/") (home-page "http://mpv.io/")