summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-05-16 22:53:17 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-05-17 01:10:43 +0200
commit527ab3125ae4361b687091c2e528795691f7075f (patch)
tree15dde924ac4d7b359f0499ce5ccf185ee3183a38 /gnu/packages
parent03418561915e54c17f25032e9d7b540279e9f0b1 (diff)
downloadguix-527ab3125ae4361b687091c2e528795691f7075f.tar.gz
gnu: julius: Remove unused bundled libraries.
* gnu/packages/games.scm (julius)[source](snippet): Remove
ext/{dirent,png,SDL2,zlib}.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/games.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b729dae63e..177436e6ec 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -987,7 +987,14 @@ automata.  The following features are available:
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "01rygr592ar530qv1flmaiq8icl0qdxgc8lhkcdyn1g09941z47v"))))
+        (base32 "01rygr592ar530qv1flmaiq8icl0qdxgc8lhkcdyn1g09941z47v"))
+       ;; Remove unused bundled libraries.
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (with-directory-excursion "ext"
+             (for-each delete-file-recursively '("dirent" "png" "SDL2" "zlib")))
+           #t))))
     (build-system cmake-build-system)
     (inputs
      `(("libpng" ,libpng)
@@ -1001,7 +1008,6 @@ Julius includes some UI enhancements while preserving the logic (including
 bugs) of the original game, so that saved games are compatible.  This package
 does not include game data.")
     (license (list license:agpl3
-                   license:expat        ; ext/dirent
                    license:zlib))))     ; ext/tinyfiledialogs
 
 (define-public meandmyshadow