gnu: dolphin-emu: Shorten the source snippet.
* gnu/packages/emulators.scm (dolphin-emu): Rewrite the source snippet to be more compact.master
parent
e89bfc2dfd
commit
8528080405
|
@ -119,33 +119,19 @@
|
||||||
(url "https://github.com/dolphin-emu/dolphin.git")
|
(url "https://github.com/dolphin-emu/dolphin.git")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
(for-each delete-file-recursively
|
;; Remove external stuff we don't need.
|
||||||
;; Remove external stuff we don't need.
|
(for-each (lambda (dir)
|
||||||
'("Externals/LZO"
|
(delete-file-recursively
|
||||||
"Externals/OpenAL"
|
(string-append "Externals/" dir)))
|
||||||
"Externals/Qt"
|
'("LZO" "OpenAL" "Qt" "SFML" "SOIL" "curl" "ffmpeg"
|
||||||
"Externals/SFML"
|
"gettext" "hidapi" "libpng" "libusb" "mbedtls"
|
||||||
"Externals/SOIL"
|
"miniupnpc" "wxWidgets3" "zlib"))
|
||||||
"Externals/curl"
|
;; Clean up source.
|
||||||
"Externals/ffmpeg"
|
(for-each delete-file (find-files "." ".*\\.(bin|dsy|exe|jar|rar)$"))
|
||||||
"Externals/gettext"
|
#t))
|
||||||
"Externals/hidapi"
|
|
||||||
"Externals/libpng"
|
|
||||||
"Externals/libusb"
|
|
||||||
"Externals/mbedtls"
|
|
||||||
"Externals/miniupnpc"
|
|
||||||
"Externals/wxWidgets3"
|
|
||||||
"Externals/zlib"))
|
|
||||||
;; Clean up source.
|
|
||||||
(for-each delete-file (find-files "." "\\.bin$"))
|
|
||||||
(for-each delete-file (find-files "." "\\.dsy$"))
|
|
||||||
(for-each delete-file (find-files "." "\\.exe$"))
|
|
||||||
(for-each delete-file (find-files "." "\\.jar$"))
|
|
||||||
(for-each delete-file (find-files "." "\\.rar$"))
|
|
||||||
#t))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0g725wmhlim73zrhi47wmr1bmplpy4b7sbimd5pm8xpfhj5nm10l"))))
|
"0g725wmhlim73zrhi47wmr1bmplpy4b7sbimd5pm8xpfhj5nm10l"))))
|
||||||
|
|
Loading…
Reference in New Issue