~ruther/guix-local

599fd84227066d64095f7ec2c2bc942cda763f2b — 宋文武 10 years ago 7db0799
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.
1 files changed, 1 insertions(+), 8 deletions(-)

M gnu/packages/video.scm
M gnu/packages/video.scm => gnu/packages/video.scm +1 -8
@@ 755,14 755,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
          'configure 'setup-waf
          (lambda* (#:key inputs #:allow-other-keys)
            (copy-file (assoc-ref inputs "waf") "waf")
            (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')")))))
            (setenv "CC" "gcc"))))
       ;; No check function defined.
       #:tests? #f))
    (home-page "http://mpv.io/")