gnu: owncloud-client: Remove some bundled libs.

* gnu/packages/owncloud.scm (owncloud-client)[source]: Add a snippet
removing some of the 3rd party projects.
This commit is contained in:
Efraim Flashner 2016-06-30 10:56:57 +03:00
parent 9b1c1ea129
commit 5fc4df0cb5
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -41,7 +41,20 @@ (define-public owncloud-client
(uri (string-append "https://download.owncloud.com/desktop/stable/" (uri (string-append "https://download.owncloud.com/desktop/stable/"
"owncloudclient-" version ".tar.xz")) "owncloudclient-" version ".tar.xz"))
(sha256 (sha256
(base32 "0m0pxv12w72qqgxim9fh8w3bgkgnhpjyay8ldll3nnzq1jmhk09n")))) (base32 "0m0pxv12w72qqgxim9fh8w3bgkgnhpjyay8ldll3nnzq1jmhk09n"))
(modules '((guix build utils)))
(snippet
'(begin
;; only allows bundled libcrashreporter-qt
(delete-file-recursively "src/3rdparty/libcrashreporter-qt")
;; we already package qtkeychain and sqlite
(delete-file-recursively "src/3rdparty/qtkeychain")
(delete-file-recursively "src/3rdparty/sqlite3")
;; qjson is packaged, qprogessindicator, qlockedfile, qtokenizer and
;; qtsingleapplication have not yet been packaged, but all are
;; explicitly used from the 3rdparty folder during build.
;; We can also remove the macgoodies folder
(delete-file-recursively "src/3rdparty/qtmacgoodies")))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases