diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-08-27 11:52:29 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-21 22:52:52 +0800 |
commit | 74d9a10e9ff13e7e8f7128b784ec438997139ae4 (patch) | |
tree | 8394fe005f7088ecc5ddf10f3b6326c5f039b3df | |
parent | c6dc494398e94b64d53aaca5f02408f37918ad81 (diff) | |
download | guix-74d9a10e9ff13e7e8f7128b784ec438997139ae4.tar.gz guix-74d9a10e9ff13e7e8f7128b784ec438997139ae4.zip |
gnu: Add qtconnectivity.
* gnu/packages/qt.scm (qtconnectivity): New variable.
Change-Id: Ia2c1d9d260b47cd3a18c9ab5ac7e8f5ea83b7e11
-rw-r--r-- | gnu/packages/qt.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index c655f81a58..b46c4abb6c 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1694,6 +1694,36 @@ integrate QML code with JavaScript and C++.") (description "The Qt Connectivity modules provides modules for interacting with Bluetooth and NFC."))) +(define-public qtconnectivity + (package + (name "qtconnectivity") + (version "6.7.2") + (source (origin + (method url-fetch) + (uri (qt-url name version)) + (sha256 + (base32 + "1s08djgzhh5p9ij0hxbrrcx9n7r7f0ba6pr9793mdsgh8ar23lwf")))) + (build-system cmake-build-system) + (native-inputs + (list perl pkg-config qtdeclarative)) + (inputs + (list bluez qtbase)) + (arguments + (list + #:configure-flags #~(list "-DQT_BUILD_TESTS=ON") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-display + (lambda _ + ;; Make Qt render "offscreen", required for tests. + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (synopsis "Qt Connectivity module") + (description "The Qt Connectivity modules provides modules for interacting +with Bluetooth and NFC.") + (home-page (package-home-page qtbase)) + (license (package-license qtbase)))) + (define-public qtwebsockets-5 (package (inherit qtsvg-5) (name "qtwebsockets") |