gnu: appstream: Update to 1.0.3.

* gnu/packages/freedesktop.scm (appstream): Update to 1.0.3.
[source]: Remove patch.
[native-inputs]: Add gi-docgen.
(appstream-qt)[arguments]: Pass -Dqt-versions=5.
* gnu/packages/patches/appstream-force-reload-stemmer.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: I7037c0e1b6c8e0d4212506e9caac9fe64a762d96
This commit is contained in:
Zheng Junjie 2024-07-05 23:23:57 +08:00
parent 5b1b766291
commit dbe43da6da
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0
3 changed files with 9 additions and 99 deletions

View file

@ -143,7 +143,7 @@
(define-public appstream
(package
(name "appstream")
(version "0.16.4")
(version "1.0.3")
(source
(origin
(method url-fetch)
@ -152,9 +152,7 @@
"appstream/releases/"
"AppStream-" version ".tar.xz"))
(sha256
(base32 "1val1b3dggn9g33q2r9q7wsl75a64x4lcvswvkcjjbvakkbj5xyl"))
(patches
(search-patches "appstream-force-reload-stemmer.patch"))))
(base32 "195snvg2jw5ywqxz02xfb570yhxvaqp9d4w5a2lpay2fck7zddjs"))))
(build-system meson-build-system)
(arguments
(list
@ -166,9 +164,9 @@
(lambda* (#:key inputs #:allow-other-keys)
(let ((libstemmer.h (search-input-file inputs
"include/libstemmer.h")))
(substitute* "meson.build"
(("/usr/include")
(dirname libstemmer.h))))))
(substitute* "meson.build"
(("/usr/include")
(dirname libstemmer.h))))))
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd)))))))
@ -184,7 +182,8 @@
itstool
libxslt
pkg-config
python-wrapper))
python-wrapper
gi-docgen))
(inputs
(list curl libsoup-minimal-2 libstemmer libxmlb libxml2 libyaml lmdb))
(propagated-inputs
@ -213,7 +212,8 @@ application-centers for distributions.")
(arguments
(substitute-keyword-arguments (package-arguments appstream)
((#:configure-flags flags #~'())
#~(append '("-Dqt=true") #$flags))))))
#~(append '("-Dqt=true" "-Dqt-versions=5") #$flags))))))
(define-public farstream
(package