3
0
Fork 0
forked from mirrors/nixpkgs

libva: use a cleaner installation method

This commit is contained in:
Vladimír Čunát 2016-02-06 16:45:21 +01:00
parent 9185fc7c6f
commit 8ea5563011

View file

@ -19,13 +19,7 @@ in stdenv.mkDerivation rec {
"--enable-glx"
];
installFlags = lib.optional withMesa "DESTDIR=$(out)";
postInstall = lib.optionalString withMesa ''
cp -r $out/${mesa_noglu.driverLink}/* $out
cp -r $out/$out/* $out
rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2)
'';
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/wiki/Software/vaapi;