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>
This commit is contained in:
Timotej Lazar 2020-05-16 22:53:17 +02:00 committed by Nicolas Goaziou
parent 0341856191
commit 527ab3125a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -987,7 +987,14 @@ (define-public julius
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (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) (build-system cmake-build-system)
(inputs (inputs
`(("libpng" ,libpng) `(("libpng" ,libpng)
@ -1001,7 +1008,6 @@ (define-public julius
bugs) of the original game, so that saved games are compatible. This package bugs) of the original game, so that saved games are compatible. This package
does not include game data.") does not include game data.")
(license (list license:agpl3 (license (list license:agpl3
license:expat ; ext/dirent
license:zlib)))) ; ext/tinyfiledialogs license:zlib)))) ; ext/tinyfiledialogs
(define-public meandmyshadow (define-public meandmyshadow