mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge pull request #19397 from k0ral/nixos-unstable
handbrake: add libx265 to LD_LIBRARY_PATH
This commit is contained in:
commit
bb983fbfba
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user