summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-04-09 11:26:22 +0200
committerAndreas Enge <andreas@enge.fr>2025-05-10 19:38:36 +0200
commitefbc986d803190917097f51a899e1f4f3785c28a (patch)
tree9a748aaf68a275e98f15d7e26e00dd41f4fd8de0 /gnu
parent3e270cac6bb85a39bd3a1a2c68946ac0edb52ae6 (diff)
gnu: Remove ffmpeg-2.8.
Version 3.0 of ffmpeg was released in 2016. After the removal of libvideogfx, this ffmpeg version is a leaf package. * gnu/packages/video.scm (ffmpeg-2.8): Delete variable. Change-Id: I00b245cb908c83e3ff45dcbbc9273eb0b0faf9fd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm51
1 files changed, 0 insertions, 51 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a97b89bd7c0..dbe30e159c6 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1922,57 +1922,6 @@ audio/video codec library.")
(inputs (modify-inputs (package-inputs ffmpeg-4)
(delete "dav1d" "libaom" "rav1e" "srt")))))
-(define-public ffmpeg-2.8
- (package
- (inherit ffmpeg-3.4)
- (version "2.8.22")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
- version ".tar.xz"))
- (sha256
- (base32
- "0c8m4hhv2k5fybha908wzrpnf3wqkq52hayl658jq4bah0igdfqz"))
- (patches (search-patches "ffmpeg-4-binutils-2.41.patch"))))
- (arguments
- `(#:tests? #f ; XXX: Enable them later, if required
- #:configure-flags
- (list
- "--disable-static"
- "--enable-shared"
- "--extra-cflags=-DFF_API_OLD_ENCODE_VIDEO -DFF_API_OLD_ENCODE_AUDIO")
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs configure-flags #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "configure"
- (("#! /bin/sh") (string-append "#!" (which "sh"))))
- ;; configure does not work followed by "SHELL=..." and
- ;; "CONFIG_SHELL=..."; set environment variables instead.
- (setenv "SHELL" (which "bash"))
- (setenv "CONFIG_SHELL" (which "bash"))
- (apply invoke
- "./configure"
- (string-append "--prefix=" out)
- ;; Add $libdir to the RUNPATH of all the binaries.
- (string-append "--extra-ldflags=-Wl,-rpath="
- out "/lib")
- configure-flags))))
- (add-before
- 'check 'set-ld-library-path
- (lambda _
- ;; Allow $(top_builddir)/ffmpeg to find its dependencies when
- ;; running tests.
- (let* ((dso (find-files "." "\\.so$"))
- (path (string-join (map dirname dso) ":")))
- (format #t "setting LD_LIBRARY_PATH to ~s~%" path)
- (setenv "LD_LIBRARY_PATH" path)))))))
- ;; FFmpeg 2.8 does support libwebp, but we don't enable it while configuring
- ;; the build, and we'd rather not add features to this old package anymore.
- (inputs (modify-inputs (package-inputs ffmpeg-3.4)
- (delete "libwebp")))))
-
(define-public ffmpeg-for-stepmania
(hidden-package
(package