gnu: maim: Update to 4.4.47.
* gnu/packages/xdisorg.scm (maim): Update to 4.4.47. [arguments]: Remove obsolete 'patch-source' phase. [inputs]: Remove LIBX11 and IMLIB2. Add GLM, LIBJPEG-TURBO, LIBPNG, LIBXCOMPOSITE, MESA and ZLIB.
This commit is contained in:
parent
937b71dfce
commit
2b7d10d2db
|
@ -469,7 +469,7 @@ selection's dimensions to stdout.")
|
||||||
(define-public maim
|
(define-public maim
|
||||||
(package
|
(package
|
||||||
(name "maim")
|
(name "maim")
|
||||||
(version "3.4.47")
|
(version "4.4.47")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -478,27 +478,20 @@ selection's dimensions to stdout.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kfp7k55bxc5h6h0wv8bwmsc5ny66h9ra2z4dzs4yzszq16544pv"))))
|
"0bfq2p158b26s913afbh6vvs4mhxs897q9zwb0hhifyx8i85863i"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no "check" target
|
'(#:tests? #f)) ; no "check" target
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-source
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(let ((slop (string-append (assoc-ref inputs "slop")
|
|
||||||
"/bin/slop")))
|
|
||||||
;; "slop" command is hardcoded in the source; replace it
|
|
||||||
;; with the full file name.
|
|
||||||
(substitute* "src/main.cpp"
|
|
||||||
(("^( +slopcommand.*)\"slop\"" all front)
|
|
||||||
(string-append front "\"" slop "\"")))))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libx11" ,libx11)
|
`(("glm" ,glm)
|
||||||
("libxrandr" ,libxrandr)
|
("libjpeg" ,libjpeg-turbo)
|
||||||
|
("libpng" ,libpng)
|
||||||
|
("libxcomposite" ,libxcomposite)
|
||||||
("libxfixes" ,libxfixes)
|
("libxfixes" ,libxfixes)
|
||||||
("imlib2" ,imlib2)
|
("libxrandr" ,libxrandr)
|
||||||
("slop" ,slop)))
|
("mesa" ,mesa)
|
||||||
|
("slop" ,slop)
|
||||||
|
("zlib" ,zlib)))
|
||||||
(home-page "https://github.com/naelstrof/maim")
|
(home-page "https://github.com/naelstrof/maim")
|
||||||
(synopsis "Screenshot utility for X Window System")
|
(synopsis "Screenshot utility for X Window System")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue