libva: use a cleaner installation method
This commit is contained in:
parent
9185fc7c6f
commit
8ea5563011
@ -19,13 +19,7 @@ in stdenv.mkDerivation rec {
|
|||||||
"--enable-glx"
|
"--enable-glx"
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = lib.optional withMesa "DESTDIR=$(out)";
|
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
||||||
|
|
||||||
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)
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user