treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg, icu }:
|
||||
{ stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg_3, icu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cfdg";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng bison flex ffmpeg icu ];
|
||||
buildInputs = [ libpng bison flex ffmpeg_3 icu ];
|
||||
|
||||
postPatch = ''
|
||||
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper,
|
||||
maim, slop, ffmpeg, byzanz, libnotify, xdpyinfo }:
|
||||
maim, slop, ffmpeg_3, byzanz, libnotify, xdpyinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yaxg";
|
||||
@@ -13,13 +13,13 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ maim slop ffmpeg byzanz libnotify xdpyinfo ];
|
||||
buildInputs = [ maim slop ffmpeg_3 byzanz libnotify xdpyinfo ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
mv yaxg $out/bin/
|
||||
chmod +x $out/bin/yaxg
|
||||
wrapProgram $out/bin/yaxg --prefix PATH : ${ stdenv.lib.makeBinPath [ maim slop ffmpeg byzanz libnotify xdpyinfo ]}
|
||||
wrapProgram $out/bin/yaxg --prefix PATH : ${ stdenv.lib.makeBinPath [ maim slop ffmpeg_3 byzanz libnotify xdpyinfo ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user