From 10d1125f71205f094a6030c51c498b0f8dab5f73 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Thu, 27 Jan 2022 13:09:07 +0300 Subject: gnu: obs: Update to 27.1.3. * gnu/packages/video.scm (obs): Update to 27.1.3. Signed-off-by: Leo Famulari --- 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 71ea9ae10c..8a903f6fe1 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3345,7 +3345,7 @@ be used for realtime video capture via Linux-specific APIs.") (define-public obs (package (name "obs") - (version "27.0.1") + (version "27.1.3") (source (origin (method git-fetch) (uri (git-reference @@ -3355,7 +3355,7 @@ be used for realtime video capture via Linux-specific APIs.") (file-name (git-file-name name version)) (sha256 (base32 - "04fzsr9yizmxy0r7z2706crvnsnybpnv5kgfn77znknxxjacfhkn")) + "1ndiarr3d6qihymaigf34jjml0lrgbj640fnpnffz2ysj7276q0j")) (patches (search-patches "obs-modules-location.patch")))) (build-system cmake-build-system) -- cgit v1.2.3 From 4014672172cfca79e4eb59f802d1e13b0448198c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 31 Jan 2022 09:52:26 -0300 Subject: gnu: shotcut: Update to 22.01.30. * gnu/packages/video.scm (shotcut): Update to 22.01.30. --- 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 8a903f6fe1..94562d52ae 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4831,7 +4831,7 @@ transitions, and effects and then export your film to many common formats.") (define-public shotcut (package (name "shotcut") - (version "21.12.24") + (version "22.01.30") (source (origin (method git-fetch) @@ -4840,7 +4840,7 @@ transitions, and effects and then export your film to many common formats.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1l27dqiyi3af0v155w62ib9xcmqyjj2yzs83aqhcrz5pb3i3j18r")))) + (base32 "0azbzaml743vlpay5dz8i0k66hw4idnambi49wj2yprw7z3skdql")))) (build-system qt-build-system) (arguments `(#:tests? #f ;there are no tests -- cgit v1.2.3 From b3a2c79fdc4ec3794639808c1161870341f175a6 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Thu, 27 Jan 2022 14:54:22 +0300 Subject: gnu: OBS: Use new package style. * gnu/packages/video.scm (obs): Use new package style. Signed-off-by: Leo Famulari --- gnu/packages/video.scm | 76 +++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 94562d52ae..de9fb42904 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3360,21 +3360,20 @@ be used for realtime video capture via Linux-specific APIs.") (search-patches "obs-modules-location.patch")))) (build-system cmake-build-system) (arguments - `(#:configure-flags - (list (string-append "-DOBS_VERSION_OVERRIDE=" ,version) - "-DENABLE_UNIT_TESTS=TRUE" - ;; Browser plugin requires cef, but it is not packaged yet. - ;; - "-DBUILD_BROWSER=FALSE") + (list + #:configure-flags + #~(list (string-append "-DOBS_VERSION_OVERRIDE=" #$version) + "-DENABLE_UNIT_TESTS=TRUE" + ;; Browser plugin requires cef, but it is not packaged yet. + ;; + "-DBUILD_BROWSER=FALSE") #:phases - (modify-phases %standard-phases - (add-after 'install 'wrap-executable - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (plugin-path (getenv "QT_PLUGIN_PATH"))) - (wrap-program (string-append out "/bin/obs") - `("QT_PLUGIN_PATH" ":" prefix (,plugin-path)))) - #t))))) + #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* _ + (let ((plugin-path (getenv "QT_PLUGIN_PATH"))) + (wrap-program (string-append #$output "/bin/obs") + `("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))))))) (native-search-paths (list (search-path-specification (variable "OBS_PLUGINS_DIRECTORY") @@ -3387,30 +3386,31 @@ be used for realtime video capture via Linux-specific APIs.") (native-inputs (list cmocka pkg-config)) (inputs - `(("alsa-lib" ,alsa-lib) - ("curl" ,curl) - ("eudev" ,eudev) - ("ffmpeg" ,ffmpeg) - ("fontconfig" ,fontconfig) - ("freetype" ,freetype) - ("glib" ,glib) - ("jack" ,jack-1) - ("jansson" ,jansson) - ("libx264" ,libx264) - ("libxcomposite" ,libxcomposite) - ("mbedtls" ,mbedtls-apache) - ("mesa" ,mesa) - ("pipewire" ,pipewire-0.3) - ("pulseaudio" ,pulseaudio) - ("qtbase" ,qtbase-5) - ("qtsvg" ,qtsvg) - ("qtx11extras" ,qtx11extras) - ("qtwayland" ,qtwayland) - ("speexdsp" ,speexdsp) - ("v4l-utils" ,v4l-utils) - ("wayland" ,wayland) - ("wayland-protocols" ,wayland-protocols) - ("zlib" ,zlib))) + (list + alsa-lib + curl + eudev + ffmpeg + fontconfig + freetype + glib + jack-1 + jansson + libx264 + libxcomposite + mbedtls-apache + mesa + pipewire-0.3 + pulseaudio + qtbase-5 + qtsvg + qtx11extras + qtwayland + speexdsp + v4l-utils + wayland + wayland-protocols + zlib)) (synopsis "Live streaming software") (description "Open Broadcaster Software provides a graphical interface for video recording and live streaming. OBS supports capturing audio and video -- cgit v1.2.3 From 10abb0519033ca2218ade2f73ced312f1665306d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 7 Oct 2021 10:48:06 +0300 Subject: gnu: libx264: Fix building on riscv64-linux. * gnu/packages/video.scm (libx264)[inputs]: Add config. [arguments]: Adjust configure-flags to always build PIC code. Add custom phase to replace config.guess, config.sub scripts. --- gnu/packages/video.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index de9fb42904..b3e6e5ef7b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -904,6 +904,8 @@ shared library and encoder and decoder command-line executables.") (build-system gnu-build-system) (native-inputs (list pkg-config nasm)) + (inputs + (list config)) ;; TODO: Add gpac input (arguments `(#:tests? #f ;no check target @@ -914,6 +916,7 @@ shared library and encoder and decoder command-line executables.") ;; program depends on ffmpeg and ffmpeg depends on ;; libx264). "--disable-cli" + "--enable-pic" ;; On MIPS, we must pass "--disable-asm" or else ;; configure fails after printing: "You specified a @@ -924,7 +927,17 @@ shared library and encoder and decoder command-line executables.") (or (%current-target-system) (%current-system))) '("--disable-asm") - '())))) + '())) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) ".")) + '("config.guess" "config.sub"))))))) (home-page "https://www.videolan.org/developers/x264.html") (synopsis "H.264 video coding library") (description "libx264 is an advanced encoding library for creating -- cgit v1.2.3 From 2c1cb323b0f14e5621d19469b7282e568ed42f62 Mon Sep 17 00:00:00 2001 From: Jai Vetrivelan Date: Tue, 8 Feb 2022 06:45:16 +0530 Subject: gnu: gallery-dl: Update to 1.20.3. * gnu/packages/video.scm (gallery-dl): Update to 1.20.3. Signed-off-by: Julien Lepiller --- gnu/packages/video.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b3e6e5ef7b..244d12028d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -59,6 +59,7 @@ ;;; Copyright © 2021 Pradana Aumars ;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; Copyright © 2022 Bird +;;; Copyright © 2022 Jai Vetrivelan ;;; ;;; This file is part of GNU Guix. ;;; @@ -2263,7 +2264,7 @@ the last played position, etc.") (define-public gallery-dl (package (name "gallery-dl") - (version "1.20.1") + (version "1.20.3") (source (origin (method url-fetch) (uri (string-append "https://github.com/mikf/gallery-dl" @@ -2271,7 +2272,7 @@ the last played position, etc.") version ".tar.gz")) (sha256 (base32 - "0qkz8aznvybdqrjxsl6ir319ras05mi8l0sal4mgi18l70jndh51")))) + "0mh57fbq9xkkhqiy7cq5ahwjp464hgxmkrvq0pxxr85212yrf7bd")))) (build-system python-build-system) (inputs (list python-requests ffmpeg)) (home-page "https://github.com/mikf/gallery-dl") -- cgit v1.2.3 From 0d2f661501abc4e2e5558b18655ef135239450e8 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 10 Feb 2022 10:14:47 +0100 Subject: gnu: rav1e: Omit static library. * gnu/packages/video.scm (rav1e)[arguments]: Add phase. --- gnu/packages/video.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 244d12028d..221a2abff9 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -22,7 +22,7 @@ ;;; Copyright © 2017 Gregor Giesen ;;; Copyright © 2017, 2018, 2019 Rutger Helling ;;; Copyright © 2018 Roel Janssen -;;; Copyright © 2018, 2019, 2020, 2021 Marius Bakke +;;; Copyright © 2018-2022 Marius Bakke ;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt ;;; Copyright © 2018, 2019, 2020 Leo Famulari ;;; Copyright © 2018 Brendan Tildesley @@ -5322,7 +5322,12 @@ result in several formats: (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (invoke "cargo" "cinstall" "--release" - (string-append "--prefix=" out)))))))) + (string-append "--prefix=" out))))) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + ;; Delete 80 MiB (!) static library. + (delete-file (string-append (assoc-ref outputs "out") + "/lib/librav1e.a"))))))) (native-inputs `(("cargo-c" ,rust-cargo-c) ("nasm" ,nasm))) -- cgit v1.2.3 From 9b0abb52acb8d2ea4d5c25129af34bdd85f99c2a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 10 Feb 2022 10:15:54 +0100 Subject: gnu: rav1e: Remove input labels. * gnu/packages/video.scm (rav1e)[native-inputs]: Remove labels. --- gnu/packages/video.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 221a2abff9..a6c2eeea97 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5329,8 +5329,7 @@ result in several formats: (delete-file (string-append (assoc-ref outputs "out") "/lib/librav1e.a"))))))) (native-inputs - `(("cargo-c" ,rust-cargo-c) - ("nasm" ,nasm))) + (list rust-cargo-c nasm)) (home-page "https://github.com/xiph/rav1e/") (synopsis "Fast and safe AV1 encoder") (description "@code{rav1e} is an AV1 video encoder. It is designed to -- cgit v1.2.3