mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: video: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation. * gnu/packages/video.scm (pipe-viewer)[inputs]: Add 'bash-minimal'. (vlc): Remove trailing #t. (youtube-viewer)[inputs]: Likewise. (openshot)[inputs]: Likewise. (gaupol)[inputs]: Likewise. (get-iplayer)[inputs]: Likewise. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I572eddc1084e1397b06d1fa264ec575c8c9b5340
This commit is contained in:
parent
94e7684004
commit
c209f4db0a
1 changed files with 19 additions and 19 deletions
|
@ -1260,7 +1260,8 @@ (define-public pipe-viewer
|
|||
(native-inputs
|
||||
(list perl-module-build perl-test-pod perl-test-simple))
|
||||
(inputs
|
||||
(list perl-data-dump
|
||||
(list bash-minimal
|
||||
perl-data-dump
|
||||
perl-digest-md5
|
||||
perl-encode
|
||||
ffmpeg
|
||||
|
@ -2483,8 +2484,7 @@ (define-public vlc
|
|||
;; Some of the tests require using the display to test out VLC,
|
||||
;; which fails in our sandboxed build system
|
||||
(substitute* "test/run_vlc.sh"
|
||||
(("./vlc --ignore-config") "echo"))
|
||||
#t)))
|
||||
(("./vlc --ignore-config") "echo")))))
|
||||
(add-after 'strip 'regenerate-plugin-cache
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; The 'install-exec-hook' rule in the top-level Makefile.am
|
||||
|
@ -2510,8 +2510,7 @@ (define-public vlc
|
|||
(let ((out (assoc-ref outputs "out"))
|
||||
(plugin-path (getenv "QT_PLUGIN_PATH")))
|
||||
(wrap-program (string-append out "/bin/vlc")
|
||||
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))
|
||||
#t)))))
|
||||
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path)))))))))
|
||||
(home-page "https://www.videolan.org/")
|
||||
(synopsis "Audio and video framework")
|
||||
(description "VLC is a cross-platform multimedia player and framework
|
||||
|
@ -3250,7 +3249,8 @@ (define-public youtube-viewer
|
|||
(native-inputs
|
||||
(list perl-module-build))
|
||||
(inputs
|
||||
(list perl-data-dump
|
||||
(list bash-minimal
|
||||
perl-data-dump
|
||||
perl-file-sharedir
|
||||
perl-gtk2
|
||||
perl-json
|
||||
|
@ -3284,8 +3284,7 @@ (define-public youtube-viewer
|
|||
"bin/gtk3-youtube-viewer")
|
||||
(("'xdg-open'")
|
||||
(format #f "'~a/bin/xdg-open'"
|
||||
(assoc-ref inputs "xdg-utils"))))
|
||||
#t))
|
||||
(assoc-ref inputs "xdg-utils"))))))
|
||||
(add-after 'install 'install-desktop
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -3293,8 +3292,7 @@ (define-public youtube-viewer
|
|||
(install-file "share/gtk-youtube-viewer.desktop"
|
||||
(string-append sharedir "/applications"))
|
||||
(install-file "share/icons/gtk-youtube-viewer.png"
|
||||
(string-append sharedir "/pixmaps"))
|
||||
#t)))
|
||||
(string-append sharedir "/pixmaps")))))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -3303,8 +3301,7 @@ (define-public youtube-viewer
|
|||
(lib-path (getenv "PERL5LIB")))
|
||||
(for-each (cut wrap-program <>
|
||||
`("PERL5LIB" ":" prefix (,lib-path ,site-dir)))
|
||||
(find-files bin-dir))
|
||||
#t))))))
|
||||
(find-files bin-dir))))))))
|
||||
(synopsis
|
||||
"Lightweight application for searching and streaming videos from YouTube")
|
||||
(description
|
||||
|
@ -5895,7 +5892,8 @@ (define-public openshot
|
|||
(delete-file-recursively "src/images/fonts") #t))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
(list ffmpeg
|
||||
(list bash-minimal
|
||||
ffmpeg
|
||||
font-dejavu
|
||||
libopenshot
|
||||
python
|
||||
|
@ -5924,14 +5922,12 @@ (define-public openshot
|
|||
(substitute* "src/classes/app.py"
|
||||
(("info.IMAGES_PATH") (string-append "\"" font "\""))
|
||||
(("fonts") "share/fonts/truetype")
|
||||
(("[A-Za-z_-]+.ttf") "DejaVuSans.ttf")))
|
||||
#t))
|
||||
(("[A-Za-z_-]+.ttf") "DejaVuSans.ttf")))))
|
||||
(add-before 'install 'set-tmp-home
|
||||
(lambda _
|
||||
;; src/classes/info.py "needs" to create several
|
||||
;; directories in $HOME when loaded during build
|
||||
(setenv "HOME" "/tmp")
|
||||
#t))
|
||||
(setenv "HOME" "/tmp")))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
@ -6086,7 +6082,8 @@ (define-public gaupol
|
|||
(native-inputs
|
||||
(list gettext-minimal pkg-config))
|
||||
(inputs
|
||||
(list python-pygobject
|
||||
(list bash-minimal
|
||||
python-pygobject
|
||||
gtk+
|
||||
python-pycairo ; Required or else clicking on a subtitle line fails.
|
||||
python-chardet ; Optional: Character encoding detection.
|
||||
|
@ -6537,7 +6534,10 @@ (define-public get-iplayer
|
|||
`("PERL5LIB" ":"
|
||||
prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))))))))
|
||||
(inputs
|
||||
(list perl-mojolicious perl-lwp-protocol-https perl-xml-libxml))
|
||||
(list bash-minimal
|
||||
perl-mojolicious
|
||||
perl-lwp-protocol-https
|
||||
perl-xml-libxml))
|
||||
(home-page "https://github.com/get-iplayer/get_iplayer")
|
||||
(synopsis "Download or stream available BBC iPlayer TV and radio programmes")
|
||||
(description "@code{get_iplayer} lists, searches and records BBC iPlayer
|
||||
|
|
Loading…
Reference in a new issue