mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
4edc431b0f
commit
68ddfb2e8d
3 changed files with 77 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue