gnu: efl: Update to 1.26.0.

* gnu/packages/enlightenment.scm (efl): Update to 1.26.0.
[native-inputs]: Replace check-0.14 with check.
[arguments]: Adjust evas-loaders-disabler configure-flag. Remove
trailing #t from phases.
This commit is contained in:
Efraim Flashner 2021-12-26 19:09:40 +02:00
parent 9f202d492c
commit 87e5389626
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -70,7 +70,7 @@ (define-module (gnu packages enlightenment)
(define-public efl (define-public efl
(package (package
(name "efl") (name "efl")
(version "1.25.1") (version "1.26.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -78,10 +78,10 @@ (define-public efl
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0svybbrvpf6q955y6fclxh3md64z0dgmh0x54x2j60503hhs071m")))) "0k10mwpdjn57r2kflbzpybhvwl25yqqa2i2fhx0qazyjbzjbrad4"))))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
`(("check" ,check-0.14) `(("check" ,check)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
@ -150,11 +150,11 @@ (define-public efl
"-Dmount-path=/run/setuid-programs/mount" "-Dmount-path=/run/setuid-programs/mount"
"-Dunmount-path=/run/setuid-programs/umount" "-Dunmount-path=/run/setuid-programs/umount"
"-Dnetwork-backend=connman" "-Dnetwork-backend=connman"
;; Add 'rsvg' to the default list (json and avif) of disabled loaders ;; Add 'rsvg' to the default list (json, avif, heif) of disabled loaders
;; unless librsvg is available. ;; unless librsvg is available.
,,@(if (target-x86-64?) ,,@(if (target-x86-64?)
'() '()
(list "-Devas-loaders-disabler=json,avif,rsvg")) (list "-Devas-loaders-disabler=json,avif,heif,rsvg"))
;; For Wayland. ;; For Wayland.
"-Dwl=true" "-Dwl=true"
"-Ddrm=true") "-Ddrm=true")
@ -180,8 +180,7 @@ (define-public efl
(string-append sndfile lib libsnd))) (string-append sndfile lib libsnd)))
(substitute* "src/lib/elput/elput_logind.c" (substitute* "src/lib/elput/elput_logind.c"
(("libelogind.so.0" libelogind) (("libelogind.so.0" libelogind)
(string-append elogind "/lib/" libelogind))) (string-append elogind "/lib/" libelogind))))))
#t)))
(add-after 'unpack 'fix-install-paths (add-after 'unpack 'fix-install-paths
(lambda _ (lambda _
(substitute* "dbus-services/meson.build" (substitute* "dbus-services/meson.build"
@ -190,11 +189,10 @@ (define-public efl
(substitute* "src/tests/elementary/meson.build" (substitute* "src/tests/elementary/meson.build"
(("dir_data") "meson.source_root(), 'test-output'")) (("dir_data") "meson.source_root(), 'test-output'"))
(substitute* "data/eo/meson.build" (substitute* "data/eo/meson.build"
(("'usr', 'lib'") "'./' + dir_lib")) (("'usr', 'lib'") "'./' + dir_lib"))))
#t))
(add-after 'unpack 'set-home-directory (add-after 'unpack 'set-home-directory
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
(lambda _ (setenv "HOME" "/tmp") #t))))) (lambda _ (setenv "HOME" "/tmp"))))))
(home-page "https://www.enlightenment.org/about-efl") (home-page "https://www.enlightenment.org/about-efl")
(synopsis "Enlightenment Foundation Libraries") (synopsis "Enlightenment Foundation Libraries")
(description (description