From f44dff89ad31a275630f0cb10a4addaea20d71d8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Jul 2022 14:17:52 +0300 Subject: [PATCH] gnu: weechat: Update to 3.6. * gnu/packages/irc.scm (weechat): Update to 3.6. [arguments]: Adjust instances of architecture specific code. --- gnu/packages/irc.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 8c484efb2d..5fc69cab3b 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,21 +194,20 @@ (define-public irssi (define-public weechat (package (name "weechat") - (version "3.5") + (version "3.6") (source (origin (method url-fetch) (uri (string-append "https://weechat.org/files/src/weechat-" version ".tar.xz")) (sha256 (base32 - "030p1264rrbr5sbyww85xq0cm5zzdmnpz89y9z90ppcfxi64x47a")))) + "1ppj676gwh67krq92xnfkmh3qnwbz8d51djsscxw013x7cdxg1cx")))) (build-system cmake-build-system) (outputs '("out" "doc")) (native-inputs `(("gettext-minimal" ,gettext-minimal) ("pkg-config" ,pkg-config) - ,@(if (or (target-x86-64?) - (target-x86-32?)) + ,@(if (target-x86?) `(("ruby-asciidoctor" ,ruby-asciidoctor)) '()) ;; For tests. @@ -231,16 +230,14 @@ (define-public weechat (arguments `(#:configure-flags (list "-DENABLE_PHP=OFF" - ,@(if (or (target-x86-64?) - (target-x86-32?)) + ,@(if (target-x86?) '("-DENABLE_MAN=ON" "-DENABLE_DOC=ON") '()) "-DENABLE_TESTS=ON") ; ‘make test’ fails otherwise #:phases (modify-phases %standard-phases - ,@(if (or (target-x86-64?) - (target-x86-32?)) + ,@(if (target-x86?) '((add-after 'install 'move-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))