gnu: terminology: Update to 1.2.0.

* gnu/packages/enlightenment.scm (terminology): Update to 1.2.0.
[source]: Update source snippet.
[build-system]: Switch to meson-build-system.
[native-inputs]: Add perl.
This commit is contained in:
Efraim Flashner 2018-04-26 09:18:22 +03:00
parent dce50fbc91
commit 5e94ce9794
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 13 deletions

View File

@ -49,6 +49,7 @@
#:use-module (gnu packages llvm) #:use-module (gnu packages llvm)
#:use-module (gnu packages lua) #:use-module (gnu packages lua)
#:use-module (gnu packages pdf) #:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages photo) #:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
@ -179,7 +180,7 @@ removable devices or support for multimedia.")
(define-public terminology (define-public terminology
(package (package
(name "terminology") (name "terminology")
(version "1.1.1") (version "1.2.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -187,24 +188,17 @@ removable devices or support for multimedia.")
"terminology/terminology-" version ".tar.xz")) "terminology/terminology-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"05ncxvzb9rzkyjvd95hzn8lswqdwr8cix6rd54nqn9559jibh4ns")) "0kw34l5lahn1qaks3ah6x8k41d6hfywpqfak2p7qq1z87zj506mx"))
(modules '((guix build utils))) (modules '((guix build utils)))
;; Remove the bundled fonts. ;; Remove the bundled fonts.
;; TODO: Remove bundled lz4. ;; TODO: Remove bundled lz4.
(snippet (snippet
'(begin '(begin
(delete-file-recursively "data/fonts") (delete-file-recursively "data/fonts")
(substitute* '("data/Makefile.in" "data/Makefile.am") (substitute* "data/meson.build"
(("fonts") "")) (("subdir\\('fonts'\\)") ""))
(substitute* "configure" #t))))
(("data/fonts/Makefile") "") (build-system meson-build-system)
(("\\\"data/fonts/Makefile") "# \"data/fonts/Makefile"))
(substitute* '("data/themes/Makefile.in"
"data/themes/Makefile.am"
"data/themes/nyanology/Makefile.in"
"data/themes/nyanology/Makefile.am")
(("-fd \\$\\(top_srcdir\\)/data/fonts") ""))))))
(build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -213,6 +207,7 @@ removable devices or support for multimedia.")
(lambda _ (setenv "HOME" "/tmp") #t))))) (lambda _ (setenv "HOME" "/tmp") #t)))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
("perl" ,perl)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("efl" ,efl))) `(("efl" ,efl)))