summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/freedesktop.scm37
1 files changed, 4 insertions, 33 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index e4a77e75e37..d8b08c6ca01 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -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