gnu: libqtxdg: Update to 3.2.0.
* gnu/packages/lxqt.scm (libqtxdg): Update to 3.2.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
51f4e36cb9
commit
50401c2a68
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
|
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -36,25 +37,33 @@
|
||||||
(define-public libqtxdg
|
(define-public libqtxdg
|
||||||
(package
|
(package
|
||||||
(name "libqtxdg")
|
(name "libqtxdg")
|
||||||
(version "1.2.0")
|
(version "3.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri (string-append
|
||||||
(string-append "https://github.com/lxde/libqtxdg/releases/"
|
"https://github.com/lxqt/" name "/releases/download/"
|
||||||
"download/" version "/" name "-" version ".tar.xz"))
|
version "/" name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl"))))
|
||||||
"1ncqs0lcll5nx69hxfg33m3jfkryjqrjhr2kdci0b8pyaqdv1jc8"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; test fails with message "Exception"
|
`(#:configure-flags
|
||||||
#:configure-flags '("-DBUILD_TESTS=ON")))
|
`("-DBUILD_TESTS=ON"
|
||||||
(native-inputs
|
,(string-append "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH="
|
||||||
`(("pkg-config" ,pkg-config)))
|
%output "/lib/qt5/plugins/iconengines"))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
;; Run the tests offscreen.
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("qtbase" ,qtbase))) ; according to Qt5Xdg.pc
|
;; required by Qt5XdgIconLoader.pc
|
||||||
(home-page "https://github.com/lxde/libqtxdg")
|
`(("qtbase" ,qtbase)
|
||||||
|
("qtsvg" ,qtsvg)))
|
||||||
|
(home-page "https://github.com/lxqt/libqtxdg")
|
||||||
(synopsis "Qt implementation of freedesktop.org xdg specifications")
|
(synopsis "Qt implementation of freedesktop.org xdg specifications")
|
||||||
(description "Libqtxdg implements the freedesktop.org xdg specifications
|
(description "Libqtxdg implements the freedesktop.org xdg specifications
|
||||||
in Qt.")
|
in Qt.")
|
||||||
|
|
Loading…
Reference in New Issue