Skip to content

Commit

Permalink
treewide: make ffmpeg_4-dependant packages depend on ffmpeg_4
Browse files Browse the repository at this point in the history
These packages were identified as broken when ffmpeg = ffmpeg_5.

Tested _only_ by building them. If you are a maintainer of one of these
packages, please test whether your package still works.
  • Loading branch information
Atemu authored and fabianhjr committed Mar 13, 2023
1 parent 711e9cf commit 9bd2506
Show file tree
Hide file tree
Showing 44 changed files with 91 additions and 97 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/moc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
, musepackSupport ? true, libmpc, libmpcdec, taglib
, vorbisSupport ? true, libvorbis
, speexSupport ? true, speex
, ffmpegSupport ? true, ffmpeg
, ffmpegSupport ? true, ffmpeg_4
, sndfileSupport ? true, libsndfile
, wavpackSupport ? true, wavpack
# Misc
Expand Down Expand Up @@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
++ lib.optional vorbisSupport libvorbis
++ lib.optional speexSupport speex
++ lib.optional ffmpegSupport ffmpeg
++ lib.optional ffmpegSupport ffmpeg_4
++ lib.optional sndfileSupport libsndfile
++ lib.optional wavpackSupport wavpack
# Misc
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/musly/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, eigen, ffmpeg }:
{ lib, stdenv, fetchFromGitHub, cmake, eigen, ffmpeg_4 }:
stdenv.mkDerivation {
pname = "musly";
version = "unstable-2017-04-26";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "1q42wvdwy2pac7bhfraqqj2czw7w2m33ms3ifjl8phm7d87i8825";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ eigen ffmpeg ];
buildInputs = [ eigen ffmpeg_4 ];
fixupPhase = lib.optionalString stdenv.isDarwin ''
install_name_tool -change libmusly.dylib $out/lib/libmusly.dylib $out/bin/musly
install_name_tool -change libmusly_resample.dylib $out/lib/libmusly_resample.dylib $out/bin/musly
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/spek/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkg-config, ffmpeg, wxGTK32, gtk3, wrapGAppsHook }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkg-config, ffmpeg_4, wxGTK32, gtk3, wrapGAppsHook }:

stdenv.mkDerivation rec {
pname = "spek";
Expand All @@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];

buildInputs = [ ffmpeg wxGTK32 gtk3 ];
buildInputs = [ ffmpeg_4 wxGTK32 gtk3 ];

meta = with lib; {
description = "Analyse your audio files by showing their spectrogram";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/tenacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
, expat
, libid3tag
, libopus
, ffmpeg
, ffmpeg_4
, soundtouch
, pcre
, portaudio
Expand Down Expand Up @@ -110,7 +110,7 @@ stdenv.mkDerivation rec {
buildInputs = [
alsa-lib
expat
ffmpeg
ffmpeg_4
file
flac
glib
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/emulators/attract-mode/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ expat, fetchFromGitHub, ffmpeg, fontconfig, freetype, libarchive, libjpeg
{ expat, fetchFromGitHub, ffmpeg_4, fontconfig, freetype, libarchive, libjpeg
, libGLU, libGL, openal, pkg-config, sfml, lib, stdenv, zlib
}:

Expand All @@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';

buildInputs = [
expat ffmpeg fontconfig freetype libarchive libjpeg libGLU libGL openal sfml zlib
expat ffmpeg_4 fontconfig freetype libarchive libjpeg libGLU libGL openal sfml zlib
];

meta = with lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/emulators/citra/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
, enableCubeb ? true, libpulseaudio
, enableFfmpegAudioDecoder ? true
, enableFfmpegVideoDumper ? true
, ffmpeg
, ffmpeg_4
, useDiscordRichPresence ? true, rapidjson
, enableFdk ? false, fdk_aac
}:
Expand All @@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
++ lib.optional enableSdl2 SDL2
++ lib.optional enableQtTranslation qttools
++ lib.optional enableCubeb libpulseaudio
++ lib.optional (enableFfmpegAudioDecoder || enableFfmpegVideoDumper) ffmpeg
++ lib.optional (enableFfmpegAudioDecoder || enableFfmpegVideoDumper) ffmpeg_4
++ lib.optional useDiscordRichPresence rapidjson
++ lib.optional enableFdk fdk_aac;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/emulators/pcsxr/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, autoreconfHook, intltool, pkg-config, gtk3, SDL2, xorg
, wrapGAppsHook, libcdio, nasm, ffmpeg, file
, wrapGAppsHook, libcdio, nasm, ffmpeg_4, file
, fetchpatch }:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -52,7 +52,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];
buildInputs = [
gtk3 SDL2 xorg.libXv xorg.libXtst libcdio nasm ffmpeg file
gtk3 SDL2 xorg.libXv xorg.libXtst libcdio nasm ffmpeg_4 file
xorg.libXxf86vm
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/emulators/ppsspp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, SDL2
, cmake
, copyDesktopItems
, ffmpeg
, ffmpeg_4
, glew
, libffi
, libsForQt5
Expand Down Expand Up @@ -59,7 +59,7 @@ stdenv.mkDerivation (self: {

buildInputs = [
SDL2
ffmpeg
ffmpeg_4
(glew.override { enableEGL = forceWayland; })
libzip
snappy
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/emulators/retroarch/cores.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
, curl
, fetchFromGitHub
, ffmpeg
, ffmpeg_4
, fluidsynth
, gettext
, hexdump
Expand Down Expand Up @@ -759,7 +760,7 @@ in
ppsspp = mkLibretroCore {
core = "ppsspp";
extraNativeBuildInputs = [ cmake pkg-config python3 ];
extraBuildInputs = [ libGLU libGL libzip ffmpeg snappy xorg.libX11 ];
extraBuildInputs = [ libGLU libGL libzip ffmpeg_4 snappy xorg.libX11 ];
makefile = "Makefile";
cmakeFlags = [
"-DLIBRETRO=ON"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/digikam/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
, boost
, eigen
, exiv2
, ffmpeg
, ffmpeg_4
, flex
, graphviz
, imagemagick
Expand Down Expand Up @@ -70,7 +70,7 @@ mkDerivation rec {
boost
eigen
exiv2
ffmpeg
ffmpeg_4
flex
graphviz
imagemagick
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
, kwayland
, lz4
, xxHash
, ffmpeg
, ffmpeg_4
, openalSoft
, minizip
, libopus
Expand Down Expand Up @@ -132,7 +132,7 @@ stdenv.mkDerivation rec {
qtsvg
lz4
xxHash
ffmpeg
ffmpeg_4
openalSoft
minizip
libopus
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/science/biology/febio-studio/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, cmake, zlib, libglvnd, libGLU, wrapQtAppsHook
, sshSupport ? true, openssl, libssh
, tetgenSupport ? true, tetgen
, ffmpegSupport ? true, ffmpeg
, ffmpegSupport ? true, ffmpeg_4
, dicomSupport ? false, dcmtk
, withModelRepo ? true
, withCadFeatures ? false
Expand Down Expand Up @@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib libglvnd libGLU openssl libssh ]
++ lib.optional sshSupport openssl
++ lib.optional tetgenSupport tetgen
++ lib.optional ffmpegSupport ffmpeg
++ lib.optional ffmpegSupport ffmpeg_4
++ lib.optional dicomSupport dcmtk
;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/science/networking/sumo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, bzip2, cmake, eigen, fetchFromGitHub, ffmpeg, fox_1_6, gdal,
{ lib, bzip2, cmake, eigen, fetchFromGitHub, ffmpeg_4, fox_1_6, gdal,
git, gl2ps, gpp , gtest, jdk, libGL, libGLU, libX11, libjpeg,
libpng, libtiff, libxcrypt, openscenegraph , proj, python3,
python3Packages, stdenv, swig, xercesc, xorg, zlib }:
Expand All @@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [
bzip2
eigen
ffmpeg
ffmpeg_4
fox_1_6
gdal
gl2ps
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/bino3d/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchurl, pkg-config, ffmpeg, glew, libass, openal, qtbase }:
{ mkDerivation, lib, fetchurl, pkg-config, ffmpeg_4, glew, libass, openal, qtbase }:

mkDerivation rec {
pname = "bino";
Expand All @@ -11,7 +11,7 @@ mkDerivation rec {

nativeBuildInputs = [ pkg-config ];

buildInputs = [ ffmpeg glew libass openal qtbase ];
buildInputs = [ ffmpeg_4 glew libass openal qtbase ];

enableParallelBuilding = true;

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/video/bombono/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, dvdplusrwtools
, enca
, cdrkit
, ffmpeg
, ffmpeg_4
, gettext
, gtk2
, gtkmm2
Expand Down Expand Up @@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
dvdauthor
dvdplusrwtools
enca
ffmpeg
ffmpeg_4
gtk2
gtkmm2
libdvdread
Expand All @@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
# fix iso authoring
install -Dt $out/share/bombono/resources/scons_authoring tools/scripts/SConsTwin.py
wrapProgram $out/bin/bombono-dvd --prefix PATH : ${lib.makeBinPath [ ffmpeg dvdauthor cdrkit ]}
wrapProgram $out/bin/bombono-dvd --prefix PATH : ${lib.makeBinPath [ ffmpeg_4 dvdauthor cdrkit ]}
'';

meta = with lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/ccextractor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
, makeWrapper
, tesseract4
, leptonica
, ffmpeg
, ffmpeg_4
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -37,7 +37,7 @@ stdenv.mkDerivation rec {

buildInputs = [ zlib ]
++ lib.optional (!stdenv.isLinux) libiconv
++ lib.optionals enableOcr [ leptonica tesseract4 ffmpeg ];
++ lib.optionals enableOcr [ leptonica tesseract4 ffmpeg_4 ];

cmakeFlags = [
# file RPATH_CHANGE could not write new RPATH:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/dvdstyler/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
, docbook-xsl-nons
, dvdauthor
, dvdplusrwtools
, ffmpeg
, ffmpeg_4
, flex
, fontconfig
, gettext
Expand Down Expand Up @@ -61,7 +61,7 @@ in stdenv.mkDerivation rec {
cdrtools
dvdauthor
dvdplusrwtools
ffmpeg
ffmpeg_4
fontconfig
glib
libexif
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/mplayer/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, stdenv, fetchurl, fetchsvn, pkg-config, freetype, yasm, ffmpeg
{ config, lib, stdenv, fetchurl, fetchsvn, pkg-config, freetype, yasm, ffmpeg_4
, aalibSupport ? true, aalib
, fontconfigSupport ? true, fontconfig, freefont_ttf
, fribidiSupport ? true, fribidi
Expand Down Expand Up @@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ pkg-config yasm ];
buildInputs = with lib;
[ freetype ffmpeg ]
[ freetype ffmpeg_4 ]
++ optional aalibSupport aalib
++ optional fontconfigSupport fontconfig
++ optional fribidiSupport fribidi
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/olive-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub
, pkg-config, which, qmake, wrapQtAppsHook
, qtmultimedia, frei0r, opencolorio_1, ffmpeg-full, CoreFoundation }:
, qtmultimedia, frei0r, opencolorio_1, ffmpeg_4, CoreFoundation }:

stdenv.mkDerivation rec {
pname = "olive-editor";
Expand All @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
];

buildInputs = [
ffmpeg-full
ffmpeg_4
frei0r
opencolorio_1
qtmultimedia
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/simplescreenrecorder/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, alsa-lib, ffmpeg, libjack2, libX11, libXext, libXinerama, qtx11extras
{ lib, stdenv, mkDerivation, fetchFromGitHub, alsa-lib, ffmpeg_4, libjack2, libX11, libXext, libXinerama, qtx11extras
, libXfixes, libGLU, libGL, pkg-config, libpulseaudio, libv4l, qtbase, qttools, cmake, ninja
}:

Expand Down Expand Up @@ -30,7 +30,7 @@ mkDerivation rec {

nativeBuildInputs = [ pkg-config cmake ninja ];
buildInputs = [
alsa-lib ffmpeg libjack2 libX11 libXext libXfixes libXinerama libGLU libGL
alsa-lib ffmpeg_4 libjack2 libX11 libXext libXfixes libXinerama libGLU libGL
libpulseaudio libv4l qtbase qttools qtx11extras
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/webcamoid/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, fetchFromGitHub, pkg-config, libxcb, mkDerivation, cmake
, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2
, ffmpeg-full, gst_all_1, libpulseaudio, alsa-lib, jack2
, ffmpeg_4, gst_all_1, libpulseaudio, alsa-lib, jack2
, v4l-utils }:
mkDerivation rec {
pname = "webcamoid";
Expand All @@ -16,7 +16,7 @@ mkDerivation rec {
buildInputs = [
libxcb
qtbase qtdeclarative qtquickcontrols qtquickcontrols2
ffmpeg-full
ffmpeg_4
gst_all_1.gstreamer gst_all_1.gst-plugins-base
alsa-lib libpulseaudio jack2
v4l-utils
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libextractor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# '';
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
, gtkSupport ? true, glib, gtk3
, videoSupport ? true, ffmpeg, libmpeg2
, videoSupport ? true, ffmpeg_4, libmpeg2
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals gstreamerSupport
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
++ lib.optionals gtkSupport [ glib gtk3 ]
++ lib.optionals videoSupport [ ffmpeg libmpeg2 ];
++ lib.optionals videoSupport [ ffmpeg_4 libmpeg2 ];

configureFlags = [
"--disable-ltdl-install"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libqtav/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
, libX11
, libass
, openal
, ffmpeg
, ffmpeg_4
, libuchardet
, alsa-lib
, libpulseaudio
Expand All @@ -30,7 +30,7 @@ mkDerivation rec {
libX11
libass
openal
ffmpeg
ffmpeg_4
libuchardet
alsa-lib
libpulseaudio
Expand Down
Loading

0 comments on commit 9bd2506

Please sign in to comment.