From 7342fc5409df52a8dc89a5976ac10e97208d16b0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 7 Nov 2020 19:05:00 +0100 Subject: gnu: you-get: Update to 0.4.1475. * gnu/packages/video.scm (you-get): Update to 0.4.1475. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 472a5eb38c..b3926af8bb 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2344,7 +2344,7 @@ other site that youtube-dl supports.") (define-public you-get (package (name "you-get") - (version "0.4.1456") + (version "0.4.1475") (source (origin (method git-fetch) (uri (git-reference @@ -2353,7 +2353,7 @@ other site that youtube-dl supports.") (file-name (git-file-name name version)) (sha256 (base32 - "0n6h5qkhjwsxy8rf6n4i8hd8dah38hbvchh9272c53gydgp9lp29")))) + "1hsa99fgx1zhzkf3n0hlbinckvipd54vhs6y4jkq0rd9r6yc1h7f")))) (build-system python-build-system) (inputs `(("ffmpeg" ,ffmpeg))) ; for multi-part and >=1080p videos -- cgit v1.2.3 From a172a646d8727bde2a568d5a721a9f5789973442 Mon Sep 17 00:00:00 2001 From: Ivan Kozlov Date: Sun, 1 Nov 2020 15:27:37 +0300 Subject: gnu: v4l-utils: Move graphical tools to a separate output v4l-utils is a common dependency. Separate graphical tools to avoid pulling in qtbase unless they are referenced. * gnu/packages/video.scm (v4l-utils)[outputs]: New 'gui' output. [arguments]: Add 'split' phase. Signed-off-by: Marius Bakke --- gnu/packages/video.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b3926af8bb..0188d15914 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Brett Gilio ;;; Copyright © 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020 Ivan Kozlov ;;; ;;; This file is part of GNU Guix. ;;; @@ -2987,11 +2988,39 @@ tools, XML authoring components, and an extensible plug-in based API.") (base32 "1bkqlrizx0j2rd6ybam2x17bjrpwzl4v4szmnzm3cmixis3w3npr")))) (build-system gnu-build-system) + ;; Separate graphical tools in order to save almost 1 GiB on the closure + ;; for the common case. + (outputs '("out" "gui")) (arguments '(#:configure-flags (list (string-append "--with-udevdir=" (assoc-ref %outputs "out") - "/lib/udev")))) + "/lib/udev")) + #:phases + (modify-phases %standard-phases + (add-after 'install 'split + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gui (assoc-ref outputs "gui"))) + (mkdir-p (string-append gui "/bin")) + (mkdir-p (string-append gui "/share/man/man1")) + (mkdir-p (string-append gui "/share/applications")) + (for-each + (lambda (prog) + (for-each + (lambda (file) + (rename-file (string-append out file) + (string-append gui file))) + (list + (string-append "/bin/" prog) + (string-append "/share/man/man1/" prog ".1") + (string-append "/share/applications/" prog ".desktop")))) + '("qv4l2" "qvidcap")) + (copy-recursively (string-append out "/share/icons") + (string-append gui "/share/icons")) + (delete-file-recursively (string-append out "/share/icons")) + (rmdir (string-append out "/share/applications")) + #t)))))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 4f4377f6dcdec45d8dd8aaa7b8c63454212abc7f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 10 Nov 2020 21:51:44 +0100 Subject: gnu: v4l-utils: Do not build static libraries. * gnu/packages/video.scm (v4l-utils)[arguments]: Add "--disable-static" to #:configure-flags. --- gnu/packages/video.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 0188d15914..5ea07fd6ed 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2993,7 +2993,8 @@ tools, XML authoring components, and an extensible plug-in based API.") (outputs '("out" "gui")) (arguments '(#:configure-flags - (list (string-append "--with-udevdir=" + (list "--disable-static" + (string-append "--with-udevdir=" (assoc-ref %outputs "out") "/lib/udev")) #:phases -- cgit v1.2.3