3
0
Fork 0
forked from mirrors/nixpkgs

handbrake: add libx265 to LD_LIBRARY_PATH

This commit is contained in:
koral 2016-10-09 18:17:09 +02:00
parent adfcc2d953
commit dd482470c4

View file

@ -44,7 +44,6 @@ stdenv.mkDerivation rec {
lame ffmpeg libdvdread libdvdnav libbluray mp4v2 mpeg2dec x264 x265 libvpx
] ++ buildInputsX;
src = fetchurl {
url = "http://download.handbrake.fr/releases/${version}/HandBrake-${version}.tar.bz2";
sha256 = "1w720y3bplkz187wgvy4a4xm0vpppg45mlni55l6yi8v2bfk14pv";
@ -75,6 +74,11 @@ stdenv.mkDerivation rec {
cd build
'';
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ x265 ];
preFixup = ''
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${LD_LIBRARY_PATH}")
'';
meta = {
homepage = http://handbrake.fr/;
description = "A tool for ripping DVDs into video files";