gnu: Don't use the store path in the .desktop file.
This fixes bug#30228. * gnu/packages/sync.scm (owncloud-client)[arguments]: Add a custom phase to substitute the executable name for the full path to the binary. Remove the 'patch-dot-desktop-files phase.
This commit is contained in:
parent
c6d8817ec4
commit
2b371f4dd5
1 changed files with 7 additions and 1 deletions
|
@ -79,7 +79,13 @@ (define-public owncloud-client
|
|||
(substitute* "test/CMakeLists.txt"
|
||||
(("owncloud_add_test\\(Utility \"\"\\)" test)
|
||||
(string-append "#" test)))
|
||||
#t)))
|
||||
#t))
|
||||
(add-after 'unpack 'dont-embed-store-path
|
||||
(lambda _
|
||||
(substitute* "src/common/utility_unix.cpp"
|
||||
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
|
||||
#t))
|
||||
(delete 'patch-dot-desktop-files))
|
||||
#:configure-flags '("-DUNIT_TESTING=ON"
|
||||
;; build without qtwebkit, which causes the
|
||||
;; package to FTBFS while looking for QWebView.
|
||||
|
|
Loading…
Reference in a new issue