summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Hashe <david.hashe@dhashe.com>2015-07-15 22:52:22 -0500
committer宋文武 <iyzsong@gmail.com>2015-07-17 20:48:22 +0800
commitf70d8383eee2c6cbc29d2527aac176ecf908d8c4 (patch)
treef2b10f8992306da54c3416c6135e950efa9e3352 /gnu
parent177b42552f0f1aa5c5e52f5e441a00eaac9def8e (diff)
gnu: Add eog.
* gnu/packages/gnome.scm (eog): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm51
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index da8dd87f1c4..0ae7c252ad2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -62,6 +62,7 @@
62 #:use-module (gnu packages lua) 62 #:use-module (gnu packages lua)
63 #:use-module (gnu packages image) 63 #:use-module (gnu packages image)
64 #:use-module (gnu packages perl) 64 #:use-module (gnu packages perl)
65 #:use-module (gnu packages photo)
65 #:use-module (gnu packages pkg-config) 66 #:use-module (gnu packages pkg-config)
66 #:use-module (gnu packages pulseaudio) 67 #:use-module (gnu packages pulseaudio)
67 #:use-module (gnu packages python) 68 #:use-module (gnu packages python)
@@ -3024,3 +3025,53 @@ which can read a large number of file formats.")
3024 (description "Rhythmbox is a music playing application for GNOME. It 3025 (description "Rhythmbox is a music playing application for GNOME. It
3025supports playlists, song ratings, and any codecs installed through gstreamer.") 3026supports playlists, song ratings, and any codecs installed through gstreamer.")
3026 (license license:gpl2+))) 3027 (license license:gpl2+)))
3028
3029(define-public eog
3030 (package
3031 (name "eog")
3032 (version "3.16.2")
3033 (source (origin
3034 (method url-fetch)
3035 (uri (string-append "mirror://gnome/sources/" name "/"
3036 (version-major+minor version) "/"
3037 name "-" version ".tar.xz"))
3038 (sha256
3039 (base32
3040 "0frw1b5jix9pffznav5s7ajjx91a8rv5lf4sjvjv3fw65mbnhbw0"))))
3041 (build-system glib-or-gtk-build-system)
3042 (arguments
3043 `(#:phases
3044 (modify-phases %standard-phases
3045 (add-after
3046 'install 'wrap-eog
3047 (lambda* (#:key outputs #:allow-other-keys)
3048 (let ((out (assoc-ref outputs "out"))
3049 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3050 (wrap-program (string-append out "/bin/eog")
3051 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3052 #t)))))
3053 (propagated-inputs
3054 `(("dconf" ,dconf)))
3055 (native-inputs
3056 `(("intltool" ,intltool)
3057 ("itstool", itstool)
3058 ("glib" ,glib "bin")
3059 ("gobject-introspection" ,gobject-introspection)
3060 ("pkg-config" ,pkg-config)))
3061 (inputs
3062 `(("gnome-desktop" ,gnome-desktop)
3063 ("shared-mime-info" ,shared-mime-info)
3064 ("adwaita-icon-theme" ,adwaita-icon-theme)
3065 ("exempi" ,exempi)
3066 ("lcms" ,lcms)
3067 ("libexif" ,libexif)
3068 ("libpeas" ,libpeas)
3069 ("libjpeg" ,libjpeg)
3070 ("librsvg" ,librsvg)
3071 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3072 ("gtk+" ,gtk+)))
3073 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3074 (synopsis "GNOME image viewer")
3075 (description "Eye of GNOME is the GNOME image viewer. It
3076supports image conversion, rotation, and slideshows.")
3077 (license license:gpl2+)))