gnu: parlatype: Update to 2.1.
* gnu/packages/gnome.scm (parlatype): Update to 2.1.
This commit is contained in:
parent
d8fcde01b4
commit
c10fb9fda4
1 changed files with 49 additions and 53 deletions
|
@ -10352,61 +10352,57 @@ provided there is a DBus service present:
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
(define-public parlatype
|
(define-public parlatype
|
||||||
;; This is one commit away from 2.0, because the latter introduced
|
(package
|
||||||
;; a regression in ASR.
|
(name "parlatype")
|
||||||
(let ((commit "7d22ead13ef7578f99d24146663cc1bdb7d8c2a9")
|
(version "2.1")
|
||||||
(revision "0"))
|
(source
|
||||||
(package
|
(origin
|
||||||
(name "parlatype")
|
(method git-fetch)
|
||||||
(version (git-version "2.0" revision commit))
|
(uri (git-reference
|
||||||
(source
|
(url "https://github.com/gkarsay/parlatype.git")
|
||||||
(origin
|
(commit (string-append "v" version))))
|
||||||
(method git-fetch)
|
(file-name (git-file-name name version))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/gkarsay/parlatype")
|
(base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
|
||||||
(commit commit)))
|
(build-system meson-build-system)
|
||||||
(file-name (git-file-name name version))
|
(arguments
|
||||||
(sha256
|
`(#:glib-or-gtk? #t
|
||||||
(base32 "0r3k3qczbzi7bs5s1rddhpsnadyr805df40bqkx0srlxgh5mfghf"))))
|
#:tests? #f ;require internet access
|
||||||
(build-system meson-build-system)
|
#:phases
|
||||||
(arguments
|
(modify-phases %standard-phases
|
||||||
`(#:glib-or-gtk? #t
|
(add-after 'install 'wrap-parlatype
|
||||||
#:tests? #f ;require internet access
|
;; Add gstreamer plugin provided in this package to system's
|
||||||
#:phases
|
;; plugins.
|
||||||
(modify-phases %standard-phases
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(add-after 'install 'wrap-parlatype
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
;; Add gstreamer plugin provided in this package to system's
|
(gst-plugin-path (string-append
|
||||||
;; plugins.
|
out "/lib/gstreamer-1.0/"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
":"
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(getenv "GST_PLUGIN_SYSTEM_PATH"))))
|
||||||
(gst-plugin-path (string-append
|
(wrap-program (string-append out "/bin/parlatype")
|
||||||
out "/lib/gstreamer-1.0/"
|
`("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
|
||||||
":"
|
#t)))))
|
||||||
(getenv "GST_PLUGIN_SYSTEM_PATH"))))
|
(native-inputs
|
||||||
(wrap-program (string-append out "/bin/parlatype")
|
`(("appstream-glib" ,appstream-glib)
|
||||||
`("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
|
("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
|
||||||
#t)))))
|
("gettext" ,gettext-minimal)
|
||||||
(native-inputs
|
("glib" ,glib "bin") ;for glib-compile-resources
|
||||||
`(("appstream-glib" ,appstream-glib)
|
("pkg-config" ,pkg-config)
|
||||||
("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
|
("yelp-tools" ,yelp-tools)))
|
||||||
("gettext" ,gettext-minimal)
|
(inputs
|
||||||
("glib" ,glib "bin") ;for glib-compile-resources
|
`(("gst-plugins-base" ,gst-plugins-base)
|
||||||
("pkg-config" ,pkg-config)
|
("gst-plugins-good" ,gst-plugins-good)
|
||||||
("yelp-tools" ,yelp-tools)))
|
("gstreamer" ,gstreamer)
|
||||||
(inputs
|
("gtk+" ,gtk+)
|
||||||
`(("gst-plugins-base" ,gst-plugins-base)
|
("pocketsphinx" ,pocketsphinx)
|
||||||
("gst-plugins-good" ,gst-plugins-good)
|
("pulseaudio" ,pulseaudio)
|
||||||
("gstreamer" ,gstreamer)
|
("sphinxbase" ,sphinxbase)))
|
||||||
("gtk+" ,gtk+)
|
(home-page "http://gkarsay.github.io/parlatype/")
|
||||||
("pocketsphinx" ,pocketsphinx)
|
(synopsis "GNOME audio player for transcription")
|
||||||
("pulseaudio" ,pulseaudio)
|
(description "Parlatype is an audio player for the GNOME desktop
|
||||||
("sphinxbase" ,sphinxbase)))
|
|
||||||
(home-page "http://gkarsay.github.io/parlatype/")
|
|
||||||
(synopsis "GNOME audio player for transcription")
|
|
||||||
(description "Parlatype is an audio player for the GNOME desktop
|
|
||||||
environment. Its main purpose is the manual transcription of spoken
|
environment. Its main purpose is the manual transcription of spoken
|
||||||
audio files.")
|
audio files.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public jsonrpc-glib
|
(define-public jsonrpc-glib
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue