gnu: simple-scan: Update to 3.34.1.
* gnu/packages/gnome.scm (simple-scan): Update to 3.34.1. [build-system]: Switch to Meson. [arguments]: Remove custom #:configure-flags and #:phases. Use #:glib-or-gtk. [description]: Adapt to new upstream name and blurb.
This commit is contained in:
parent
c501f59235
commit
d9f6d587ae
@ -4324,17 +4324,19 @@ USB transfers with your high-level application or system daemon.")
|
|||||||
(define-public simple-scan
|
(define-public simple-scan
|
||||||
(package
|
(package
|
||||||
(name "simple-scan")
|
(name "simple-scan")
|
||||||
(version "3.24.1")
|
(version "3.34.1")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://launchpad.net/simple-scan/"
|
(method url-fetch)
|
||||||
(version-major+minor version) "/"
|
(uri (string-append "mirror://gnome/sources/simple-scan/"
|
||||||
version "/+download/simple-scan-"
|
(version-major+minor version) "/"
|
||||||
version ".tar.xz"))
|
"simple-scan-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0glzskxdc7p9z7nwcakqc7qzij4l79adlvvb2cj5fmis731zw9yq"))))
|
||||||
"1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
|
(build-system meson-build-system)
|
||||||
(build-system glib-or-gtk-build-system)
|
;; TODO: Fix icons in home screen, About dialogue, and scan menu.
|
||||||
|
(arguments
|
||||||
|
'(#:glib-or-gtk? #t))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk" ,gtk+)
|
`(("gtk" ,gtk+)
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
@ -4350,28 +4352,13 @@ USB transfers with your high-level application or system daemon.")
|
|||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("vala" ,vala)
|
("vala" ,vala)
|
||||||
("xmllint" ,libxml2)))
|
("xmllint" ,libxml2)))
|
||||||
(arguments
|
|
||||||
'(#:configure-flags '("--disable-packagekit")
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'clean
|
|
||||||
(lambda _
|
|
||||||
;; Remove a left-over reference to PackageKit.
|
|
||||||
|
|
||||||
;; https://bugs.launchpad.net/simple-scan/+bug/1462769
|
|
||||||
|
|
||||||
;; There are some generated C files erroneously
|
|
||||||
;; included in the source distribution, and this
|
|
||||||
;; one breaks the build by referring to a
|
|
||||||
;; non-existent header (packagekit.h)
|
|
||||||
(delete-file "src/ui.c"))))))
|
|
||||||
(home-page "https://gitlab.gnome.org/GNOME/simple-scan")
|
(home-page "https://gitlab.gnome.org/GNOME/simple-scan")
|
||||||
(synopsis "Document and image scanner")
|
(synopsis "Document and image scanner")
|
||||||
(description "Simple Scan is an easy-to-use application, designed to let
|
(description
|
||||||
users connect their scanner and quickly have the image/document in an
|
"Document Scanner is an easy-to-use application that lets you connect your
|
||||||
appropriate format. Simple Scan is basically a frontend for SANE - which is
|
scanner and quickly capture images and documents in an appropriate format. It
|
||||||
the same backend as XSANE uses. This means that all existing scanners will
|
supports any scanner for which a suitable SANE driver is available, which is
|
||||||
work and the interface is well tested.")
|
almost all of them.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public eolie
|
(define-public eolie
|
||||||
|
Loading…
x
Reference in New Issue
Block a user