summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-21 16:37:46 +0100
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-21 23:08:37 +0100
commit9002e17c5ab64bc833e46bad2952df1e8ea9e46f (patch)
tree29c77e0f11a69707ac183f1814a0be18bd28a382 /gnu
parent8cc91fa04131e1b37339bd08c48b117f1c32aa29 (diff)
downloadguix-9002e17c5ab64bc833e46bad2952df1e8ea9e46f.tar.gz
gnu: vamp: Delete broken files from output.
See <https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656>.

* gnu/packages/audio.scm (vamp): Delete "/lib/libvamp-sdk.la" and
  "/lib/libvamp-hostsdk.la" from the output directory after the install
  phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm20
1 files changed, 16 insertions, 4 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 900d061c6a..e1ad44a27c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -615,11 +615,23 @@ Suil currently supports every combination of Gtk 2, Qt 4, and X11.")
                     "/attachments/download/690/vamp-plugin-sdk-"
                     version
                     ".tar.gz"))
-             (sha256
-              (base32
-               "178kfgq08cmgdzv7g8dwyjp4adwx8q04riimncq4nqkm8ng9ywbv"))))
+              (sha256
+               (base32
+                "178kfgq08cmgdzv7g8dwyjp4adwx8q04riimncq4nqkm8ng9ywbv"))))
     (build-system gnu-build-system)
-    (arguments `(#:tests? #f)) ; no check target
+    (arguments
+     `(#:tests? #f                      ; no check target
+       #:phases
+       (alist-cons-after
+        'install 'remove-libvamp-hostsdk.la
+        (lambda* (#:key outputs #:allow-other-keys)
+          ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
+          (for-each delete-file
+                    (let ((out (assoc-ref outputs "out")))
+                      (list (string-append out "/lib/libvamp-sdk.la")
+                            (string-append out "/lib/libvamp-hostsdk.la"))))
+          #t)
+        %standard-phases)))
     (inputs
      `(("libsndfile" ,libsndfile)))
     (native-inputs