gnu: libqtxdg: Update to 4.1.0.

* gnu/packages/lxqt.scm (libqtxdg)[propagated-inputs]: Use Qt6.  Move GLIB to inputs.

Change-Id: I15f29c7ddeed91aebd799bbc588173051edf76f6
This commit is contained in:
宋文武 2025-01-13 16:49:51 +08:00
parent 96f7b32d4e
commit 3f7b77472d
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -150,7 +150,7 @@ (define-public lxqt-build-tools
(define-public libqtxdg
(package
(name "libqtxdg")
(version "3.11.0")
(version "4.1.0")
(source
(origin
(method url-fetch)
@ -158,12 +158,12 @@ (define-public libqtxdg
"https://github.com/lxqt/libqtxdg/releases/download/"
version "/libqtxdg-" version ".tar.xz"))
(sha256
(base32 "0alphfvkwxaqfnckjxbrwjkj7wjl4yff7qxzmyjz67c8728lxbny"))))
(base32 "02c8irxyra0kfm7k1jkcxinfipib3w9jn2lk91hnl6jnv6bx6106"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags
'("-DBUILD_TESTS=ON"
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt6/plugins/iconengines")
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
@ -172,10 +172,12 @@ (define-public libqtxdg
(setenv "QT_QPA_PLATFORM" "offscreen")
#t)))))
(propagated-inputs
;; required by Qt5XdgIconLoader.pc
(list glib qtbase-5 qtsvg-5))
;; required by Qt6XdgIconLoader.pc
(list qtbase qtsvg))
(native-inputs
(list lxqt-build-tools pkg-config))
(inputs
(list glib))
(home-page "https://github.com/lxqt/libqtxdg")
(synopsis "Qt implementation of freedesktop.org xdg specifications")
(description "Libqtxdg implements the freedesktop.org xdg specifications