[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: nheko: Update to 0.10.0.
From: |
guix-commits |
Subject: |
08/11: gnu: nheko: Update to 0.10.0. |
Date: |
Thu, 4 Aug 2022 06:41:17 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit ca6f15310d53cea820888ba2b67f16602bc1f6d6
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Aug 4 12:17:51 2022 +0200
gnu: nheko: Update to 0.10.0.
* gnu/packages/messaging.scm (nheko): Update to 0.10.0.
[arguments]: Adjust unbundling substitutions.
---
gnu/packages/messaging.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index b6fce218b2..2f61a8f783 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2385,7 +2385,7 @@ for the Matrix protocol. It is built on to of
@code{Boost.Asio}.")
(define-public nheko
(package
(name "nheko")
- (version "0.9.3")
+ (version "0.10.0")
(source
(origin
(method git-fetch)
@@ -2394,7 +2394,7 @@ for the Matrix protocol. It is built on to of
@code{Boost.Asio}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1941jvk72qy9g41cs2p3d6fphkg8ccjlsiclwymvzdyi7s3ilml7"))
+ (base32 "1n7czmv8mamaphpr2cnppddpgmb914pjd7msxng0fim6w7bhil14"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -2413,13 +2413,15 @@ for the Matrix protocol. It is built on to of
@code{Boost.Asio}.")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'unbundle-dependencies
- (lambda _
- (let ((single-app #$(this-package-input
"single-application-qt5")))
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libSingleApplication.a
+ (search-input-file inputs "lib/libSingleApplication.a"))
+ (httplib.h (search-input-file inputs "include/httplib.h")))
(substitute* "CMakeLists.txt"
;; Remove include and source dirs,replace with the correct
one
- (("third_party/blurhash/blurhash.cpp") "")
- (("third_party/cpp-httplib-0.5.12")
- (string-append "\"" single-app "/include\""))
+ (("third_party/blurhash/blurhash\\.[ch]pp") "")
+ (("third_party/cpp-httplib-0\\.5\\.12")
+ (dirname httplib.h))
(("add_subdirectory.*third_party/SingleApplication.*") "")
;; Link using the correct static/shared libs
(("SingleApplication::SingleApplication")
@@ -2427,7 +2429,7 @@ for the Matrix protocol. It is built on to of
@code{Boost.Asio}.")
;; Dynamic libraries
"httplib" "\n" "blurhash" "\n"
;; Static library
- single-app "/lib/libSingleApplication.a"))))))
+ libSingleApplication.a))))))
(add-after 'unpack 'fix-determinism
(lambda _
;; Make Qt deterministic.
- 02/11: gnu: amalgamate: Remove input labels., (continued)
- 02/11: gnu: amalgamate: Remove input labels., guix-commits, 2022/08/04
- 01/11: gnu: gsasl: Update to 2.0.1., guix-commits, 2022/08/04
- 05/11: gnu: ungoogled-chromium: Update to 104.0.5112.81-1., guix-commits, 2022/08/04
- 07/11: gnu: mtxclient: Update to 0.8.0., guix-commits, 2022/08/04
- 09/11: gnu: notcurses: Update to 3.0.8., guix-commits, 2022/08/04
- 10/11: gnu: notcurses: Use tarball source instead of git., guix-commits, 2022/08/04
- 11/11: gnu: notcurses: Adjust indentation., guix-commits, 2022/08/04
- 03/11: gnu: inkscape: Update to 1.2.1., guix-commits, 2022/08/04
- 04/11: gnu: inkscape: Build with lib2geom 1.2., guix-commits, 2022/08/04
- 06/11: gnu: libolm: Update to 3.2.12., guix-commits, 2022/08/04
- 08/11: gnu: nheko: Update to 0.10.0.,
guix-commits <=