From c2230743456eb1f753b72caa9fd42242d42f598b Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Fri, 5 Jul 2024 23:08:10 +0800 Subject: [PATCH] gnu: qcoro-qt5: Update to 0.10.0. * gnu/packages/qt.scm (qcoro-qt5): Update to 0.10.0. [arguments]<#:configure-flags>: Set USE_QT_VERSION from input qtbase. Change-Id: I7b76f87ae9cce3da6746625aefa9cb9b86c93d89 --- gnu/packages/qt.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 450245cc6d..0d4300a9f4 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -140,7 +140,7 @@ (define-module (gnu packages qt) (define-public qcoro-qt5 (package (name "qcoro-qt5") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -149,11 +149,14 @@ (define-public qcoro-qt5 (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0pk5ybk6zv7m0wnkl6m3m8sjybmfk6wcn22mmgj942hrc3yrdzci")))) + (base32 "0inhjc9zknc64q6gajkljfpm2287arg1j0848ia3rhqcbc53k28b")))) (build-system qt-build-system) (arguments (list #:configure-flags - #~(list "-DUSE_QT_VERSION=5"))) + #~(list (string-append "-DUSE_QT_VERSION=" + #$(version-major + (package-version + (this-package-input "qtbase"))))))) (native-inputs (list dbus)) ;for tests (inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5)) (home-page "https://qcoro.dvratil.cz/")