gnu: tepl: Update to 6.1.2 and enable tests.

* gnu/packages/gnome.scm (tepl): Update to 6.1.2.
[tests?]: Delete argument.
[phases]: New argument.
[native-inputs]: Move gsettings-desktop-schemas to propagated-inputs.
[inputs]: Move libxml2 to native-inputs.  Move amtk, glib,
gsettings-desktop-schemas, gtk+ and gtksourceview-4 to...
[propagated-inputs]: ... here.
This commit is contained in:
Maxim Cournoyer 2022-09-08 10:04:18 -04:00
parent 5dd3acd0a0
commit b90710642e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1047,7 +1047,7 @@ (define-public portablexdr
(define-public tepl
(package
(name "tepl")
(version "6.00.0")
(version "6.1.2")
(source
(origin
(method url-fetch)
@ -1057,20 +1057,37 @@ (define-public tepl
name "-" version ".tar.xz"))
(sha256
(base32
"0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8"))))
"16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:tests? #f)) ; FIX-ME: Requires gvfs
#:phases (modify-phases %standard-phases
(add-after 'unpack 'disable-problematic-tests
(lambda _
;; Only keep unit tests, as the interactive tests have
;; other dependencies.
(substitute* "tests/meson.build"
((".*'interactive-tests'.*") ""))))
(add-before 'check 'start-xserver
(lambda _
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1"))))))
(native-inputs
(list `(,glib "bin") gobject-introspection pkg-config))
(list `(,glib "bin")
gobject-introspection
gtk-doc
libxml2
pkg-config
xorg-server-for-tests))
(inputs
(list uchardet))
(propagated-inputs
;; These are all required by tepl6.pc.
(list amtk
glib
gsettings-desktop-schemas
gtk+
gtksourceview-4
libxml2
uchardet))
gtksourceview-4))
(synopsis "Text editor product line")
(description "Tepl is a library that eases the development of
GtkSourceView-based text editors and IDEs.")