libva: use a cleaner installation method
(cherry-picked from commit 8ea5563011
)
Tweaked not to cause a mass rebuild ATM.
This commit is contained in:
parent
d039c87984
commit
20c31e65ab
@ -24,13 +24,8 @@ stdenv.mkDerivation rec {
|
||||
"--enable-glx"
|
||||
];
|
||||
|
||||
installFlags = lib.optional (!minimal) "DESTDIR=$(out)";
|
||||
|
||||
postInstall = lib.optionalString (!minimal) ''
|
||||
cp -r $out/${mesa_noglu.driverLink}/* $out
|
||||
cp -r $out/$out/* $out
|
||||
rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2)
|
||||
'';
|
||||
installFlags = lib.optional (!minimal) "dummy_drv_video_ladir=$(out)/lib/dri";
|
||||
postInstall = "";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
||||
|
Loading…
Reference in New Issue
Block a user