gnu: pantheon-terminal: Use gexp modern style.

* gnu/packages/pantheon.scm (pantheon-terminal) [arguments]: Use gexp modern
style.

Change-Id: I74d12ec09d8385f2093af91909963c934f9ca968
This commit is contained in:
jgart 2024-08-25 09:00:27 -05:00
parent 4a1114de78
commit c62b729b3e
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -213,20 +213,21 @@ (define-public pantheon-terminal
"0x3gzghnfx4a1q2zhra4dysc0pm1zvlfdxj96qhfb627pz16iv4k"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f ; Tests invole launching the terminal.
#:glib-or-gtk? #t
#:phases (modify-phases %standard-phases
(add-before 'install 'set-environment-variables
(lambda _
;; Disable compiling schemas and updating desktop databases
(setenv "DESTDIR" "/")))
(add-after 'install 'install-symlinks
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out
"/bin/io.elementary.terminal"))
(link (string-append out "/bin/pantheon-terminal")))
(symlink bin link)))))))
(list
#:tests? #f ; Tests invole launching the terminal.
#:glib-or-gtk? #t
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'set-environment-variables
(lambda _
;; Disable compiling schemas and updating desktop databases
(setenv "DESTDIR" "/")))
(add-after 'install 'install-symlinks
(lambda* (#:key outputs #:allow-other-keys)
(let* ((bin (string-append #$output
"/bin/io.elementary.terminal"))
(link (string-append #$output "/bin/pantheon-terminal")))
(symlink bin link)))))))
(native-inputs (list appstream
desktop-file-utils ;required for tests
gettext-minimal ;for msgfmt