gnu: openrgb: Unbundle more libraries.

* gnu/packages/hardware.scm (openrgb)[source]: Adjust snippet to remove
more bundled dependencies.
This commit is contained in:
Efraim Flashner 2022-12-01 10:46:34 +02:00
parent f726d2fd07
commit 26744bca20
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1013,9 +1013,19 @@ (define-public openrgb
(modules '((guix build utils)))
(snippet
'(begin
;; Delete the bundled hueplusplus and json libraries.
(delete-file-recursively "dependencies/hueplusplus-1.0.0")
(delete-file-recursively "dependencies/json")))))
;; Delete many of the bundled libraries.
(for-each delete-file-recursively
(list "dependencies/hidapi-win"
"dependencies/hueplusplus-1.0.0"
"dependencies/json"
"dependencies/libusb-1.0.22"
"dependencies/macUSPCIO"
"dependencies/mbedtls-2.24.0"
"dependencies/NVFC"
"dependencies/openrazer-win32"
"dependencies/winring0"
;; Some bundled appimages
"scripts/tools"))))))
(build-system cmake-build-system)
(arguments
(list