me
/
guix
Archived
1
0
Fork 0

gnu: appstream-glib: Update style.

* gnu/packages/glib.scm (appstream-glib) [propagated-inputs]: Drop labels.
[inputs, native-inputs]: Drop labels.  Sort alphabetically.
[arguments]: Convert to list of G-Expressions.
[#:phases]<patch-tests>: Remove trailing #t.
[description]: Break long line.

Change-Id: I504df11ec6fc5b9d9fe70e4e32e7910f93eeb81e
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
master
Vivien Kraus 2023-10-27 19:39:50 +02:00 committed by Liliana Marie Prikler
parent 5aac9ebe8c
commit 7048d79dcd
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 33 additions and 31 deletions

View File

@ -1305,42 +1305,44 @@ of abstraction on top of @code{sd-bus}, the C D-Bus implementation by systemd.")
"15lbrmyx94cf6p6svq02yiskh31xidq092c711pqs16mml06a9bi")))) "15lbrmyx94cf6p6svq02yiskh31xidq092c711pqs16mml06a9bi"))))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal
("gsettings" ,gsettings-desktop-schemas) ; for org.gnome.system.proxy `(,glib "bin") ;for glib-compile-resources
("glib:bin" ,glib "bin") ; for glib-compile-resources gsettings-desktop-schemas ;for org.gnome.system.proxy
("pkg-config" ,pkg-config))) pkg-config))
(propagated-inputs (propagated-inputs
`(("gcab" ,gcab) ; for .pc file (list gcab ;for .pc file
("gdk-pixbuf" ,gdk-pixbuf) ; for .pc file gdk-pixbuf ;same
("libuuid" ,util-linux "lib"))) ; for .pc file `(,util-linux "lib"))) ;libuuid, for .pc file
(inputs (inputs
`(("glib" ,glib) (list curl
("gperf" ,gperf) gperf
("gtk+" ,gtk+) gtk+
("json-glib" ,json-glib) json-glib
("libarchive" ,libarchive) libarchive
("curl" ,curl))) glib))
(arguments (arguments
`(#:configure-flags (list
(list "-Ddep11=false" #:configure-flags
"-Dintrospection=false" ; avoid g-ir-scanner dependency #~(list "-Ddep11=false"
"-Drpm=false" "-Dintrospection=false" ; avoid g-ir-scanner dependency
"-Dstemmer=false") "-Drpm=false"
#:phases "-Dstemmer=false")
(modify-phases %standard-phases #:phases
(add-after 'unpack 'patch-tests #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'patch-tests
(substitute* "libappstream-glib/as-self-test.c" (lambda _
(("g_test_add_func.*as_test_store_local_appdata_func);") "")) (substitute* "libappstream-glib/as-self-test.c"
#t)) (("g_test_add_func.*as_test_store_local_appdata_func);") ""))))
(add-before 'check 'set-home (add-before 'check 'set-home
(lambda _ (lambda _
;; Some tests want write access there. ;; Some tests want write access there.
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
(home-page "https://github.com/hughsie/appstream-glib") (home-page "https://github.com/hughsie/appstream-glib")
(synopsis "Library for reading and writing AppStream metadata") (synopsis "Library for reading and writing AppStream metadata")
(description "This library provides objects and helper methods to help (description
reading and writing @uref{https://www.freedesktop.org/wiki/Distributions/AppStream,AppStream} "This library provides objects and helper methods to help
reading and writing
@uref{https://www.freedesktop.org/wiki/Distributions/AppStream,AppStream}
metadata.") metadata.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))