libvdpau: use a cleaner installation method
(cherry picked from commit bd2ca1e539c71e83445bb04ccc0e15cb4c80861f)
This commit is contained in:
parent
e4728dd05f
commit
9185fc7c6f
@ -14,13 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ];
|
configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ];
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=$(out)" ];
|
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
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://people.freedesktop.org/~aplattner/vdpau/;
|
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user