[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: Add sideload.
From: |
guix-commits |
Subject: |
05/05: gnu: Add sideload. |
Date: |
Wed, 24 Jun 2020 16:12:10 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit fb77ed2c49c87438fdf0753494ce4efc76cbbc1f
Author: Ryan Prior <rprior@protonmail.com>
AuthorDate: Tue Jun 23 02:54:55 2020 +0000
gnu: Add sideload.
* gnu/packages/pantheon.scm (sideload): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/pantheon.scm | 65 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 72910e5..036050d 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -18,11 +18,15 @@
(define-module (gnu packages pantheon)
#:use-module (gnu packages cmake)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages package-management)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages)
#:use-module (guix build-system meson)
#:use-module (guix git-download)
@@ -107,3 +111,64 @@ in apps built for the Pantheon desktop.")
arithmetic. It is the default calculator application in the Pantheon
desktop.")
(license license:gpl3)))
+
+(define-public sideload
+ (package
+ (name "sideload")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elementary/sideload.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0mlc3nm2navzxm8k1rwpbw4w6mv30lmhqybm8jqxd4v8x7my73vq"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:configure-flags (list (string-append "-Dflatpak="
+ (assoc-ref %build-inputs
"flatpak")
+ "/include"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'set-environment-variables
+ (lambda _
+ ;; Disable compiling schemas and updating desktop databases
+ (setenv "DESTDIR" "/")
+ #t))
+ (add-after 'install 'install-symlinks
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin/io.elementary.sideload"))
+ (link (string-append out "/bin/sideload")))
+ (symlink bin link)
+ #t))))))
+ (inputs
+ `(("flatpak" ,flatpak)
+ ("glib" ,glib)
+ ("granite" ,granite)
+ ("gtk" ,gtk+)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libgee" ,libgee)
+ ("libostree" ,libostree)
+ ("libxml2" ,libxml2)))
+ (propagated-inputs
+ ;; Sideload needs these in the environment to fetch data securely from
+ ;; Flatpak remotes.
+ `(("gnupg" ,gnupg)
+ ("gpgme" ,gpgme)))
+ (native-inputs
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
+ (home-page "https://github.com/elementary/sideload")
+ (synopsis "Graphical application to side-load Flatpaks")
+ (description "Sideload handles flatpakref files, like those you might find
+on Flathub or another third-party website providing a Flatpak app for
+download.")
+ (license license:gpl3+)))
- branch master updated (f9cb49d -> fb77ed2), guix-commits, 2020/06/24
- 02/05: gnu: python-on-guile: Update to 1.2.3.5., guix-commits, 2020/06/24
- 05/05: gnu: Add sideload.,
guix-commits <=
- 01/05: gnu: cURL: Replace with 7.71.0 [fixes CVE-2020-8169, CVE-2020-8177]., guix-commits, 2020/06/24
- 03/05: gnu: Add photoflare., guix-commits, 2020/06/24
- 04/05: gnu: Add gmic., guix-commits, 2020/06/24