guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add pantheon-photos.


From: guix-commits
Subject: branch master updated: gnu: Add pantheon-photos.
Date: Thu, 22 Aug 2024 13:31:53 -0400

This is an automated email from the git hooks/post-receive script.

jgart pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d89d4d7077 gnu: Add pantheon-photos.
d89d4d7077 is described below

commit d89d4d7077e4220eda3398931ce45723ce926c39
Author: altadil <Altadil@protonmail.com>
AuthorDate: Wed Aug 21 13:58:07 2024 +0000

    gnu: Add pantheon-photos.
    
    * gnu/packages/pantheon.scm (pantheon-photos): New variable.
    
    Change-Id: Iaa9fb285faf58425c74abbe73371b777a49caac4
    Signed-off-by: jgart <jgart@dismail.de>
---
 gnu/packages/pantheon.scm | 65 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 30804a8046..463b6662f0 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -25,12 +25,15 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages sqlite)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xorg)
@@ -133,6 +136,68 @@ arithmetic.  It is the default calculator application in 
the Pantheon
 desktop.")
     (license license:gpl3)))
 
+(define-public pantheon-photos
+  (package
+    (name "pantheon-photos")
+    (version "8.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elementary/photos";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1z3b582y093x6pb3bl7zs4w97vg88rflyhwxfaycxw0rv8pcshhi"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:glib-or-gtk? #t
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-schema-cache-generation
+            (lambda _
+              (setenv "DESTDIR" "/")))
+          (add-after 'install 'install-symlinks
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let* ((bin (string-append #$output
+                                         "/bin/io.elementary.photos"))
+                     (link (string-append #$output "/bin/pantheon-photos")))
+                (symlink bin link)))))))
+    (native-inputs
+     (list desktop-file-utils
+           `(,glib "bin")
+           intltool
+           pkg-config
+           python
+           vala))
+    (inputs
+     (list geocode-glib
+           gexiv2
+           granite-6
+           gst-plugins-bad
+           gst-plugins-base
+           gst-plugins-good
+           gst-plugins-ugly
+           gstreamer
+           gtk+
+           libexif
+           libgee
+           libgphoto2
+           libgudev
+           libhandy
+           libportal
+           libraw
+           libwebp
+           sqlite))
+    (synopsis "Photo viewer and organizer designed for the Pantheon desktop")
+    (description
+     "Photos is an image viewer and organizer.  It originally comes
+from elementary OS and is designed for the Pantheon desktop environment (but 
can
+also be used on others.")
+    (home-page "https://elementary.io/open-source";)
+    (license license:lgpl2.1+)))
+
 (define-public pantheon-terminal
   (package
     (name "pantheon-terminal")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]