libmediainfo: add musl patch (#141966)
This commit is contained in:
parent
e0e23dfa0d
commit
ce8cd7cbe4
1 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib }:
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "21.09";
|
version = "21.09";
|
||||||
|
@ -11,7 +11,15 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
buildInputs = [ libzen zlib ];
|
buildInputs = [ libzen zlib ];
|
||||||
|
|
||||||
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
|
patches = [
|
||||||
|
# fixes pkgsMusl.libmediainfo build
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://git.alpinelinux.org/aports/plain/community/libmediainfo/fix-include-signal.patch?id=b8d666a3d33575c184308e1176f4de9e519af577";
|
||||||
|
sha256 = "sha256-b3HoIwy/hKSh8jUakwVJpnPmYw5KUwZXgLW7IPMY4/c=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = "cd Project/GNU/Library";
|
||||||
|
|
||||||
configureFlags = [ "--enable-shared" ];
|
configureFlags = [ "--enable-shared" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue