tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kodi: backport binutils-2.41 fix for bundled ffmpeg
Sergei Trofimovich
2 years ago
ce68b899
8f42ee75
+11
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
kodi
unwrapped.nix
+11
-1
pkgs/applications/video/kodi/unwrapped.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper
1
1
+
{ stdenv, lib, fetchFromGitHub
2
2
+
, fetchpatch
3
3
+
, autoconf, automake, libtool, makeWrapper
2
4
, pkg-config, cmake, yasm, python3Packages
3
5
, libxcrypt, libgcrypt, libgpg-error, libunistring
4
6
, boost, avahi, lame
···
62
64
rev = "${version}-${rel}-Alpha1";
63
65
sha256 = "sha256-EQHmmWnDw+/udKYq7Nrf00nL7I5XWUtmzdauDryfTII=";
64
66
};
67
67
+
patches = [
68
68
+
# Backport fix for binutils-2.41.
69
69
+
(fetchpatch {
70
70
+
name = "binutils-2.41.patch";
71
71
+
url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/effadce6c756247ea8bae32dc13bb3e6f464f0eb";
72
72
+
hash = "sha256-vlBUMJ1bORQHRNpuzc5iXsTWwS/CN5BmGIA8g7H7mJE=";
73
73
+
})
74
74
+
];
65
75
preConfigure = ''
66
76
cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} .
67
77
sed -i 's/ --cpu=''${CPU}//' CMakeLists.txt