[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: ungoogled-chromium: Build with ffmpeg@4.2.
From: |
guix-commits |
Subject: |
02/07: gnu: ungoogled-chromium: Build with ffmpeg@4.2. |
Date: |
Mon, 22 Jun 2020 11:17:31 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 3d5a217d5e71821465a8653945e494205b7d511b
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 22 16:58:54 2020 +0200
gnu: ungoogled-chromium: Build with ffmpeg@4.2.
Fixes <https://bugs.gnu.org/41987>.
Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>.
* gnu/packages/video.scm (ffmpeg-4.2): New public variable.
* gnu/packages/chromium.scm (ungoogled-chromium)[inputs]: Change from FFMPEG
to FFMPEG-4.2.
---
gnu/packages/chromium.scm | 6 +++++-
gnu/packages/video.scm | 18 ++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 9ab7ca1..d43e535 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -785,7 +785,11 @@ from forcing GEXP-PROMISE."
("dbus-glib" ,dbus-glib)
("expat" ,expat)
("flac" ,flac)
- ("ffmpeg" ,ffmpeg)
+
+ ;; FIXME: Change to ffmpeg 4.3 when supported, see
+ ;; <https://bugs.chromium.org/p/chromium/issues/detail?id=1095962>.
+ ("ffmpeg" ,ffmpeg-4.2)
+
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("gdk-pixbuf" ,gdk-pixbuf)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index eabd657..058e466 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1126,6 +1126,24 @@ convert and stream audio and video. It includes the
libavcodec
audio/video codec library.")
(license license:gpl2+)))
+;; ungoogled-chromium crashes with ffmpeg 4.3, so stick with this version for
+;; now. See <https://issues.guix.gnu.org/41987>.
+(define-public ffmpeg-4.2
+ (package
+ (inherit ffmpeg)
+ (version "4.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0cddkb5sma9dzy8i59sfls19rhjlq40zn9mh3x666dqkxl5ckxlx"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments ffmpeg)
+ ((#:configure-flags flags)
+ `(delete "--enable-librav1e" ,flags))))))
+
(define-public ffmpeg-3.4
(package
(inherit ffmpeg)
- branch master updated (1cb9eff -> cf14e67), guix-commits, 2020/06/22
- 01/07: gnu: ffmpeg: Enable rav1e on x86_64 only., guix-commits, 2020/06/22
- 03/07: gnu: ungoogled-chromium: Remove non-free file., guix-commits, 2020/06/22
- 02/07: gnu: ungoogled-chromium: Build with ffmpeg@4.2.,
guix-commits <=
- 04/07: gnu: ungoogled-chromium: Specify CPE name., guix-commits, 2020/06/22
- 05/07: gnu: icu4c: Add 67.1., guix-commits, 2020/06/22
- 07/07: gnu: gn: Update to 0.0-1794.eb997b5., guix-commits, 2020/06/22
- 06/07: gnu: ungoogled-chromium: Update to 83.0.4103.106-0.f08ce8b [security fixes]., guix-commits, 2020/06/22