guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: ???
Subject: 01/02: gnu: mpv: Fix build by using pkg-config for smbclient.
Date: Sat, 19 Dec 2015 04:58:50 +0000

iyzsong pushed a commit to branch master
in repository guix.

commit 599fd84227066d64095f7ec2c2bc942cda763f2b
Author: 宋文武 <address@hidden>
Date:   Sat Dec 19 12:15:59 2015 +0800

    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.
---
 gnu/packages/video.scm |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5d118ca..dcefd4e 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]