mesa: get rid of llvm dependency in $out, /cc #8990

- libXvMC* should be found fine in $drivers
- for d3d state tracker, I don't know how it works,
  but it's a non-critical thing and maybe no nixers use it yet
This commit is contained in:
Vladimír Čunát 2015-07-26 11:44:55 +02:00
parent 4fab7321bf
commit 06510fab8c

View file

@ -4,7 +4,6 @@
, libvdpau, libelf, libva
, grsecEnabled
, enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
, enableExtraFeatures ? false # not maintained
}:
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
@ -123,10 +122,8 @@ stdenv.mkDerivation {
# ToDo: probably not all .la files are completely fixed, but it shouldn't matter
postInstall = with stdenv.lib; ''
mv -t "$drivers/lib/" \
'' + optionalString enableExtraFeatures ''
`#$out/lib/libXvMC*` \
$out/lib/gbm $out/lib/libgbm* \
'' + ''
$out/lib/libXvMC* \
$out/lib/d3d \
$out/lib/vdpau \
$out/lib/libxatracker*