Archived
1
0
Fork 0

gnu: kdevelop: Update to 23.04.3.

* gnu/packages/kde.scm (kdevelop): Update to 23.04.3.
[arguments]: Use G-Expressions, adjust add-include-path phase.
This commit is contained in:
宋文武 2023-07-29 15:20:18 +08:00
parent 6d51ebf63b
commit 81d2fc9ffc
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -306,14 +306,14 @@ projects.")
(define-public kdevelop (define-public kdevelop
(package (package
(name "kdevelop") (name "kdevelop")
(version "22.08.1") (version "23.04.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version (uri (string-append "mirror://kde/stable/release-service/" version
"/src/kdevelop-" version ".tar.xz")) "/src/kdevelop-" version ".tar.xz"))
(sha256 (sha256
(base32 "14a80z4sahxyzssrz605zp7ah5xdjbc22ccv0vwcnhr5lzr76v31")))) (base32 "0m1q5nhx7wd4b8850ikw7dk6zka57gapf78wawjv2h1hijxcyf4v"))))
(build-system qt-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config shared-mime-info qttools-5)) (list extra-cmake-modules pkg-config shared-mime-info qttools-5))
@ -372,14 +372,16 @@ projects.")
;; heaptrack_gui ;; heaptrack_gui
;; meson ;; meson
(arguments (arguments
`(#:tests? #f ;; there are some issues with the test suite (list #:tests? #f ;; there are some issues with the test suite
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'configure 'add-include-path (add-before 'configure 'add-include-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "cmake/modules/FindClang.cmake" (substitute* "plugins/clang/Locate_CLANG_BUILTIN_DIR.cmake"
(("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line) (("\"\\$[{]CLANG_INCLUDE_DIRS[}]\"" line)
(string-append line " " (assoc-ref inputs "clang") "/lib")))))))) (string-append
line " \""
(assoc-ref inputs "clang") "/lib\""))))))))
(home-page "https://kdevelop.org") (home-page "https://kdevelop.org")
(synopsis "IDE for C, C++, Python, Javascript and PHP") (synopsis "IDE for C, C++, Python, Javascript and PHP")
(description "The KDevelop IDE provides semantic syntax highlighting, as (description "The KDevelop IDE provides semantic syntax highlighting, as