gnu: weechat: Change to cmake-build-system.
* gnu/packages/irc.scm (weechat)[build-system]: Switch to cmake-build-system. [arguments]: Remove configure-flags, disable tets, remove 'autogen phase. [inputs]: Remove diffutils, libltdl, openssl, cyrus-sasl. Move gettext ... [native-inputs]: ... to here. Remove autoconf, file, autogen, automake, libtool.
This commit is contained in:
parent
d10092b849
commit
709a3bb7b8
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
||||||
;;; Copyright © 2014 Kevin Lemonnier <lemonnierk@ulrar.net>
|
;;; Copyright © 2014 Kevin Lemonnier <lemonnierk@ulrar.net>
|
||||||
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 ng0 <ng0@libertad.pw>
|
;;; Copyright © 2016 ng0 <ng0@libertad.pw>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
|
@ -152,37 +152,23 @@ SILC and ICB protocols via plugins.")
|
||||||
(base32
|
(base32
|
||||||
"1zvxz98krq98y7jh3yrjbardg3yxp6y2031rvb7rp5ssk8lyp1fc"))
|
"1zvxz98krq98y7jh3yrjbardg3yxp6y2031rvb7rp5ssk8lyp1fc"))
|
||||||
(patches (search-patches "weechat-python.patch"))))
|
(patches (search-patches "weechat-python.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs `(("autoconf" ,autoconf)
|
(native-inputs `(("gettext" ,gettext-minimal)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)))
|
||||||
("file" ,file)
|
|
||||||
("autogen" ,autogen)
|
|
||||||
("automake" ,automake)
|
|
||||||
("libtool" ,libtool)))
|
|
||||||
(inputs `(("ncurses" ,ncurses)
|
(inputs `(("ncurses" ,ncurses)
|
||||||
("diffutils" ,diffutils)
|
|
||||||
("gettext" ,gettext-minimal)
|
|
||||||
("libltdl" ,libltdl)
|
|
||||||
("libgcrypt" ,libgcrypt "out")
|
("libgcrypt" ,libgcrypt "out")
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
("aspell" ,aspell)
|
("aspell" ,aspell)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
("gnutls" ,gnutls)
|
("gnutls" ,gnutls)
|
||||||
("guile" ,guile-2.0)
|
("guile" ,guile-2.0)
|
||||||
("openssl" ,openssl)
|
|
||||||
("cyrus-sasl" ,cyrus-sasl)
|
|
||||||
("lua" ,lua-5.1)
|
("lua" ,lua-5.1)
|
||||||
("python" ,python-2)
|
("python" ,python-2)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("tcl" ,tcl)))
|
("tcl" ,tcl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list (string-append
|
`(#:tests? #f ; tests require cpputime
|
||||||
"--with-tclconfig="
|
|
||||||
(assoc-ref %build-inputs "tcl") "/lib"))
|
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'autogen
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "sh" "autogen.sh"))))
|
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in New Issue