gnu: quassel: Fix building with Qt 5.11.

* gnu/packages/irc.scm (quassel)[sources]: Add patch. Return #t from
snippet.
* gnu/packages/patches/quassel-qt-5.11.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
This commit is contained in:
Efraim Flashner 2018-06-03 13:17:25 +03:00
parent 4edc431b0f
commit 68ddfb2e8d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 77 additions and 2 deletions

View file

@ -74,13 +74,15 @@
(sha256
(base32
"1qkl3sb4ijx4k17m0c42j2p5bc4jymypwhmplm942rbrzm6mg50q"))
(patches (search-patches "quassel-qt-5.11.patch"))
(modules '((guix build utils)))
;; We don't want to install the bundled scripts.
(snippet
'(begin
(delete-file-recursively "data/scripts")
(substitute* "data/CMakeLists.txt"
(("NOT WIN32") "WIN32"))))))
(("NOT WIN32") "WIN32"))
#t))))
(build-system cmake-build-system)
(arguments
;; The three binaries are not mutually exlusive, and are all built
@ -91,7 +93,7 @@
"-DUSE_QT5=ON" ; default is qt4
"-DWITH_KDE=OFF" ; no to kde integration ...
"-DWITH_OXYGEN=ON" ; therefore we install bundled icons
"-DWITH_WEBKIT=OFF") ; qtwebkit isn't packaged
"-DWITH_WEBKIT=OFF") ; we don't depend on qtwebkit
#:tests? #f)) ; no test target
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)