[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: Add libportal.
From: |
guix-commits |
Subject: |
08/13: gnu: Add libportal. |
Date: |
Mon, 27 Jul 2020 06:07:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ef43f74c2b45c1327f113072a9f9ecd6b54cdd2f
Author: Anders Thuné <asse.97@gmail.com>
AuthorDate: Tue Jul 14 10:18:52 2020 +0200
gnu: Add libportal.
* gnu/packages/freedesktop.scm (libportal): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/freedesktop.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 23cd1aa..17af128 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1881,3 +1882,47 @@ useful with system integration.")
into the Unity menu bar. Based on KSNI, it also works in KDE and will
fallback to generic Systray support if none of those are available.")
(license license:lgpl2.1+)))
+
+(define-public libportal
+ (let ((commit "bff3289")
+ (revision "1"))
+ (package
+ (name "libportal")
+ (version (git-version "0.3" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flatpak/libportal")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "104b91qircr1i9jkmm6f725awywky52aimrki303kiaadn2v8b5i"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc"))
+ (html "/share/gtk-doc"))
+ (copy-recursively (string-append out html)
+ (string-append doc html))
+ (delete-file-recursively (string-append out html))
+ #t))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("gtk-doc" ,gtk-doc)
+ ("docbook-xsl" ,docbook-xsl)
+ ("docbook-xml" ,docbook-xml)
+ ("libxml2" ,libxml2)
+ ("glib:bin" ,glib "bin")))
+ (propagated-inputs
+ `(("glib" ,glib)))
+ (outputs '("out" "doc"))
+ (home-page "https://github.com/flatpak/libportal")
+ (synopsis "Flatpak portal library")
+ (description
+ "libportal provides GIO-style async APIs for most Flatpak portals.")
+ (license license:lgpl2.1+))))
- branch master updated (578a1d7 -> 1dba0b4), guix-commits, 2020/07/27
- 01/13: processes: Allow 'less' to properly estimate line length., guix-commits, 2020/07/27
- 02/13: machine: ssh: Check for potential system downgrades., guix-commits, 2020/07/27
- 03/13: gnu: guile-reader: Update to 0.6.3., guix-commits, 2020/07/27
- 04/13: gnu: guile-reader: Switch to Guile 3.0., guix-commits, 2020/07/27
- 05/13: services: Add 'unattended-upgrade-service-type'., guix-commits, 2020/07/27
- 06/13: services: auditd: Provide default configuration directory., guix-commits, 2020/07/27
- 08/13: gnu: Add libportal.,
guix-commits <=
- 10/13: gnu: Add xdg-desktop-portal., guix-commits, 2020/07/27
- 12/13: nls: Update 'fr' translation., guix-commits, 2020/07/27
- 09/13: gnu: pipewire@0.3: Update to 0.3.7., guix-commits, 2020/07/27
- 07/13: gnu: Add pipewire-0.3., guix-commits, 2020/07/27
- 13/13: maint: 'authenticate' runs the user's 'guix git authenticate'., guix-commits, 2020/07/27
- 11/13: gnu: Add xdg-desktop-portal-gtk., guix-commits, 2020/07/27