gnu: exiv2: Move to (gnu packages image).
[jackhill/guix/guix.git] / gnu / packages / image-viewers.scm
CommitLineData
eb55f018
EF
1;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
2;;;
3;;; GNU Guix is free software; you can redistribute it and/or modify it
4;;; under the terms of the GNU General Public License as published by
5;;; the Free Software Foundation; either version 3 of the License, or (at
6;;; your option) any later version.
7;;;
8;;; GNU Guix is distributed in the hope that it will be useful, but
9;;; WITHOUT ANY WARRANTY; without even the implied warranty of
10;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11;;; GNU General Public License for more details.
12;;;
13;;; You should have received a copy of the GNU General Public License
14;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
15
16(define-module (gnu packages image-viewers)
17 #:use-module ((guix licenses) #:prefix license:)
18 #:use-module (guix download)
19 #:use-module (guix packages)
20 #:use-module (guix build-system gnu)
21 #:use-module (gnu packages autotools)
22 #:use-module (gnu packages base)
eb55f018
EF
23 #:use-module (gnu packages glib)
24 #:use-module (gnu packages gnome)
25 #:use-module (gnu packages gtk)
023f0fb0 26 #:use-module (gnu packages image)
eb55f018
EF
27 #:use-module (gnu packages pkg-config))
28
29(define-public viewnior
30 (package
31 (name "viewnior")
32 (version "1.6")
33 (source
34 (origin
35 (method url-fetch)
36 (uri (string-append "https://github.com/xsisqox/Viewnior/archive/"
37 name "-" version ".tar.gz"))
38 (sha256
39 (base32
40 "18309qjgwak3kn228z3p3nx7yxasqgzx69v3rgc23hf161nky0c9"))))
41 (build-system gnu-build-system)
42 (arguments
43 '(#:phases
44 (modify-phases %standard-phases
45 (add-after 'unpack 'autogen
46 (lambda _
47 (zero? (system* "sh" "autogen.sh")))))))
48 (native-inputs
49 `(("automake" ,automake)
50 ("autoconf" ,autoconf)
51 ("intltool" ,intltool)
52 ("glib" ,glib "bin") ; glib-genmarshal
53 ("gnome-common" ,gnome-common)
54 ("libtool" ,libtool)
55 ("pkg-config" ,pkg-config)
56 ("shared-mime-info" ,shared-mime-info)
57 ("which" ,which)))
58 (inputs
59 `(("exiv2" ,exiv2)
60 ("gdk-pixbuf" ,gdk-pixbuf)
61 ("gtk+-2" ,gtk+-2)))
62 (home-page "http://siyanpanayotov.com/project/viewnior/")
63 (synopsis "Simple, fast and elegant image viewer")
64 (description "Viewnior is an image viewer program. Created to be simple,
65fast and elegant. Its minimalistic interface provides more screenspace for
66your images. Among its features are:
67@enumerate
68@item Fullscreen & Slideshow
69@item Rotate, flip, crop, save, delete images
70@item Animation support
71@item Browse only selected images
72@item Navigation window
73@item Set image as wallpaper (Gnome 2, Gnome 3, XFCE, LXDE, FluxBox, Nitrogen)
74@item Simple interface
75@item EXIF and IPTC metadata
76@item Configurable mouse actions
77@end enumerate\n")
78 (license license:gpl3+)))