lol

dvdauthor: fix build (#418561)

authored by

Aleksana and committed by
GitHub
cd4ebf18 9a9c0178

+20 -6
+20 -6
pkgs/by-name/dv/dvdauthor/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 + fetchpatch2, 4 5 fetchurl, 5 6 autoreconfHook, 6 7 libdvdread, ··· 23 24 hash = "sha256-MCCpLen3jrNvSLbyLVoAHEcQeCZjSnhaYt/NCA9hLrc="; 24 25 }; 25 26 27 + patches = [ 28 + (fetchpatch2 { 29 + # remove after next release: "Use pkg-config to find FreeType" 30 + url = "https://github.com/ldo/dvdauthor/commit/d5bb0bdd542c33214855a7062fcc485f8977934e.patch?full_index=1"; 31 + hash = "sha256-cCj1Wkc6dZvUpjentpK68Q92tb7h+OXwrqdhJ2KYMvU="; 32 + }) 33 + (fetchpatch2 { 34 + # remove after next release: "fix to build with GraphicsMagick" (required for subsequent patches to apply) 35 + url = "https://github.com/ldo/dvdauthor/commit/84d971def13b7e6317eae44369f49fd709b01030.patch?full_index=1"; 36 + hash = "sha256-SWgbaS4cdvrXJ4H5KDM0S46H57rji7CX4Fkfa/RSSPA="; 37 + }) 38 + (fetchpatch2 { 39 + # remove after next release: "Use PKG_CHECK_MODULES to detect the libxml2 library" 40 + url = "https://github.com/ldo/dvdauthor/commit/45705ece5ec5d7d6b9ab3e7a68194796a398e855.patch?full_index=1"; 41 + hash = "sha256-tykCr2Axc1qhUvjlGyXQ6X+HwzuFTm5Va2gjGlOlSH0="; 42 + }) 43 + ]; 44 + 26 45 buildInputs = [ 27 46 libpng 28 47 freetype ··· 37 56 nativeBuildInputs = [ 38 57 pkg-config 39 58 autoreconfHook 40 - libxml2 # xml2-config (only checked for, not used) 41 59 ]; 42 60 43 - # set *-config for cross builds 44 - configureFlags = [ 45 - "FREETYPECONFIG=${lib.getExe' (lib.getDev freetype) "freetype-config"}" 46 - "XML2_CONFIG=${lib.getExe' (lib.getDev libxml2) "xml2-config"}" 47 - ]; 61 + strictDeps = true; 48 62 49 63 meta = with lib; { 50 64 description = "Tools for generating DVD files to be played on standalone DVD players";