mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: xdg-desktop-portal-gtk: Update to 1.15.3.
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk): Update to 1.15.3. [build-system]: Switch to meson-build-system. [arguments]: Add #:glib-or-gtk?. Remove #:configure-flags. [native-inputs]: Remove autoconf, automake, libtool, libxml2 and which. [inputs]: Replace gtk+ with gtk. Remove labels. Change-Id: Ifaa7092872884b74fd3f783b677449935bfd4a2a
This commit is contained in:
parent
cd61cbd9d9
commit
8e14a839af
1 changed files with 7 additions and 39 deletions
|
@ -3218,7 +3218,7 @@ and others.")
|
|||
(define-public xdg-desktop-portal-gtk
|
||||
(package
|
||||
(name "xdg-desktop-portal-gtk")
|
||||
(version "1.14.1")
|
||||
(version "1.15.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -3226,44 +3226,12 @@ and others.")
|
|||
version "/xdg-desktop-portal-gtk-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"002p19j1q3fc8x338ndzxnicwframpgafw31lwvv5avy329akqiy"))))
|
||||
(build-system glib-or-gtk-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)))
|
||||
;; Enable Gnome portal backends
|
||||
#:configure-flags
|
||||
(list
|
||||
"--enable-appchooser"
|
||||
"--enable-wallpaper"
|
||||
"--enable-screenshot"
|
||||
"--enable-screencast"
|
||||
"--enable-background"
|
||||
"--enable-settings")))
|
||||
(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))
|
||||
"0drvlanj4pydcmq1fhk8nbj5mb2zpf2pxcqxd4g61a0r4hyp98s7"))))
|
||||
(build-system meson-build-system)
|
||||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue