gnu: kdelibs4support: Fix tests.

Reported in:
  <https://issues.guix.gnu.org/70100>
  <https://issues.guix.gnu.org/70176>

* gnu/packages/kde-frameworks.scm (kdelibs4support)[source]: Add snippet.

Change-Id: I12e16b8003e9b7e857492e51105d7c3580e1c35f
This commit is contained in:
宋文武 2024-04-10 19:25:17 +08:00
parent 8bfa49444d
commit 9acc056725
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -3670,7 +3670,16 @@ (define-public kdelibs4support
(version-major+minor version) "/portingAids/"
name "-" version ".tar.xz"))
(sha256
(base32 "17473him2fjfcw5f88diarqac815wsakfyb9fka82a4qqh9l41mc"))))
(base32 "17473him2fjfcw5f88diarqac815wsakfyb9fka82a4qqh9l41mc"))
(modules '((guix build utils)))
(snippet
'(substitute* "autotests/kmimetypetest.cpp"
;; Adjust the test for shared-mime-info changes:
;; https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/202
;; https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/255
(("empty document") "Empty document")
(("Bzip archive") "Bzip2 archive")
(("<< \"application/x-bzip") "<< \"application/x-bzip2")))))
(build-system cmake-build-system)
(native-inputs
(list dbus