mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-24 03:00:35 +02:00
gnu: xdg-desktop-portal-gtk: Improve package definition.
This is a follow-up to a17a5c02a8, which
inadvertently left old inputs and phases.
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk)[arguments]:
Add #:glib-or-gtk?. Remove #:configure-flags and #:phases.
[native-inputs]: Remove autoconf, automake, libtool, libxml2 and which.
Drop labels.
[inputs]: Replace gtk+ with gtk. Drop labels.
Change-Id: Ifaa7092872884b74fd3f783b677449935bfd4a2a
This commit is contained in:
committed by
Andreas Enge
parent
a2d0f215f2
commit
7b4b9e5317
@@ -3293,39 +3293,10 @@ and others.")
|
||||
(base32
|
||||
"0drvlanj4pydcmq1fhk8nbj5mb2zpf2pxcqxd4g61a0r4hyp98s7"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'po-chmod
|
||||
(lambda _
|
||||
;; Make sure 'msgmerge' can modify the PO files.
|
||||
(for-each (lambda (po)
|
||||
(chmod po #o666))
|
||||
(find-files "po" "\\.po$"))
|
||||
#t)))
|
||||
#:configure-flags
|
||||
(list
|
||||
"-Dappchooser=enabled"
|
||||
"-Dwallpaper=enabled"
|
||||
"-Dsettings=enabled"
|
||||
"-Dlockdown=enabled")))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("libtool" ,libtool)
|
||||
("libxml2" ,libxml2)
|
||||
("glib:bin" ,glib "bin")
|
||||
("which" ,which)
|
||||
("gettext" ,gettext-minimal)))
|
||||
(inputs
|
||||
`(("glib" ,glib)
|
||||
("gtk" ,gtk+)
|
||||
("fontconfig" ,fontconfig)
|
||||
("gnome-desktop" ,gnome-desktop)
|
||||
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
|
||||
(propagated-inputs
|
||||
(list xdg-desktop-portal))
|
||||
(arguments (list #:glib-or-gtk? #t))
|
||||
(native-inputs (list gettext-minimal `(,glib "bin") pkg-config))
|
||||
(inputs (list glib gtk fontconfig gnome-desktop gsettings-desktop-schemas))
|
||||
(propagated-inputs (list xdg-desktop-portal))
|
||||
(home-page "https://github.com/flatpak/xdg-desktop-portal-gtk")
|
||||
(synopsis "GTK implementation of xdg-desktop-portal")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user