gnu: okular: Update to 24.05.2.

* gnu/packages/kde.scm (okular): Update to 24.05.2.
[inputs]: Remove kactivities, khtml, qtbase-5, qtspeech-5, poppler-qt5,
qtdeclarative-5, qtsvg-5, qtwayland-5, kjs, and qtx11extras; add
plasma-activities, ki18n, ktextwidgets, qtspeech, libxkbcommon,
poppler-qt6, qtdeclarative, qtsvg, and qtwayland.
[arguments]: Set #:qtbase to qtbase; Adjust check phase.

Change-Id: I27199219d9ce7aeb90708f3f25016ef89b01eddf
This commit is contained in:
Zheng Junjie 2024-07-08 12:15:24 +08:00
parent a789e41c9c
commit 7e97ea50a5
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -1651,17 +1651,18 @@ (define-public marble-qt
(define-public okular (define-public okular
(package (package
(name "okular") (name "okular")
(version "23.04.3") (version "24.05.2")
(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/" name "-" version ".tar.xz")) "/src/" name "-" version ".tar.xz"))
(sha256 (sha256
(base32 "1vgcqkq6mzd270hzabmdqqv105iv6kr6ah2h18b15al2n9rmg0bi")))) (base32 "0kh3a40887f7lajgvk3ndr3ns3mm1kld0biw0cqg9ys69f4d8677"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:qtbase qtbase
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'check) (delete 'check)
@ -1673,7 +1674,8 @@ (define-public okular
"--output-on-failure" "--output-on-failure"
"--rerun-failed" "--rerun-failed"
"-E" "-E"
"(mainshelltest|parttest|chmgeneratortest)")))) "(annotationtoolbartest|mainshelltest|parttest|\
chmgeneratortest)"))))
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((share (string-append (assoc-ref outputs "out") "/share"))) (let ((share (string-append (assoc-ref outputs "out") "/share")))
@ -1692,40 +1694,39 @@ (define-public okular
breeze-icons breeze-icons
discount discount
djvulibre djvulibre
kactivities plasma-activities
khtml
chmlib chmlib
kdegraphics-mobipocket kdegraphics-mobipocket
karchive karchive
kbookmarks kbookmarks
kcompletion kcompletion
kconfig kconfig
qtbase-5
libjpeg-turbo libjpeg-turbo
libtiff libtiff
kirigami kirigami
purpose purpose
freetype freetype
ki18n
kiconthemes kiconthemes
kio kio
kparts kparts
kpty kpty
qtspeech-5 ktextwidgets
qtspeech
kwallet kwallet
kwindowsystem kwindowsystem
libkexiv2 libkexiv2
libspectre libspectre
libzip libzip
libxkbcommon
phonon phonon
poppler-qt5 poppler-qt6
qca qca
qtdeclarative-5 qtdeclarative
qtsvg-5 qtsvg
qtwayland-5 qtwayland
threadweaver threadweaver
kcrash kcrash))
kjs
qtx11extras))
(home-page "https://apps.kde.org/okular/") (home-page "https://apps.kde.org/okular/")
(synopsis "Document viewer") (synopsis "Document viewer")
(description (description