3
0
Fork 0
forked from mirrors/nixpkgs

libvdpau: use a cleaner installation method

(cherry picked from commit bd2ca1e539)
This commit is contained in:
Vladimír Čunát 2016-02-02 04:56:56 +01:00
parent e4728dd05f
commit 9185fc7c6f

View file

@ -14,13 +14,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ];
installFlags = [ "DESTDIR=$(out)" ];
postInstall = ''
cp -r $out/${mesa_noglu.driverLink}/* $out
cp -r $out/$out/* $out
rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2)
'';
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
meta = with stdenv.lib; {
homepage = http://people.freedesktop.org/~aplattner/vdpau/;