mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
minidlna: add Arch patch for FFmpeg 7 (#348374)
This commit is contained in:
commit
9e055e3758
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchgit, autoreconfHook, ffmpeg, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite, gettext, nixosTests, zlib }:
|
||||
{ lib, stdenv, fetchgit, fetchpatch2, autoreconfHook, ffmpeg, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite, gettext, nixosTests, zlib }:
|
||||
|
||||
let
|
||||
pname = "minidlna";
|
||||
@ -13,6 +13,13 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-InsSguoGi1Gp8R/bd4/c16xqRuk0bRsgw7wvcbokgKo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/minidlna/-/raw/affcf0dd1e6f8e33d0ba90b2b0733736fa1aeb71/ffmpeg7.patch";
|
||||
hash = "sha256-MZFPY4FywoMkZ//fKml6o5J1QG5qiScgtI+KFw5hENw=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export makeFlags="INSTALLPREFIX=$out"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user