diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-03-26 17:01:32 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-04-03 18:05:12 -0400 |
commit | 713ac1fe47de1a5f29f6186e51d9ffb2b8083258 (patch) | |
tree | dfe368b67d074ec2abb957baa0fad69b91a07a8e /gnu | |
parent | 06755dca1143174ddf6b511f7d60462817730402 (diff) | |
download | guix-713ac1fe47de1a5f29f6186e51d9ffb2b8083258.tar.gz guix-713ac1fe47de1a5f29f6186e51d9ffb2b8083258.zip |
gnu: Add qmsetup.
* gnu/packages/cmake.scm (qmsetup): New variable.
Change-Id: Iea83c59498fe7da97a01725a293915669e6714f9
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cmake.scm | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 9e5451d5ee..0c780fe420 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org> ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2019, 2020, 2021, 2022, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com> ;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net> @@ -43,8 +43,10 @@ #:use-module (gnu packages) #:use-module (gnu packages backup) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) + #:use-module (gnu packages elf) #:use-module (gnu packages file) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages libevent) @@ -434,3 +436,45 @@ and workspaces that can be used in the compiler environment of your choice.") (description "@code{cmakeos-mode} provides an Emacs major mode for editing Cmake files. It supports syntax highlighting, indenting and refilling of comments."))) + +(define-public qmsetup + (let ((commit "89fa57046241c26dfcfd97ceba174728b24bdd27") + (revision "0")) + (package + (name "qmsetup") + ;; The base version string is retrieved from the CMakeLists.txt file. + (version (git-version "0.0.1.5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stdware/qmsetup") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nqpblv08yqv97vjv7cxkpf160s3877gnd7jjqxnfrrknm2396r1")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/corecmd/utils_unix.cpp" + (("\"patchelf\"") + (format #f "~s" (search-input-file + inputs "bin/patchelf"))))))))) + (inputs (list patchelf syscmdline)) + (home-page "https://github.com/stdware/qmsetup") + (synopsis "CMake modules and basic libraries for C/C++ projects") + (description "QMSetup is a set of CMake Modules and Basic Libraries for +C/C++ projects. It features: +@itemize +@item Helpful CMake utilities +@item Generate configuration header files +@item Reorganize header files +@item Deploy project dependencies and fix rpaths +@item Support calling Doxygen via CMake conveniently +@item Support calling Qt Linguist Tools via CMake conveniently +@end itemize") + (license license:expat)))) |