ati-driver: Fix "Catalyst Control Center"
This commit is contained in:
parent
fc964fa924
commit
d071a25dec
@ -264,7 +264,7 @@ if test -z "$libsOnly"; then
|
|||||||
cp $BIN/* $out/bin
|
cp $BIN/* $out/bin
|
||||||
for prog in $BIN/*; do
|
for prog in $BIN/*; do
|
||||||
patchelf --set-interpreter $(echo $glibc/lib/ld-linux*.so.2) $out/bin/$(basename $prog)
|
patchelf --set-interpreter $(echo $glibc/lib/ld-linux*.so.2) $out/bin/$(basename $prog)
|
||||||
wrapProgram $out/bin/$(basename $prog) --prefix LD_LIBRARY_PATH : $out/lib:$LD_LIBRARY_PATH
|
wrapProgram $out/bin/$(basename $prog) --prefix LD_LIBRARY_PATH : $out/lib:$gcc/lib:$qt4/lib:$LD_LIBRARY_PATH
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
, libXxf86vm, xf86vidmodeproto # for fglrx_gamma
|
, libXxf86vm, xf86vidmodeproto # for fglrx_gamma
|
||||||
, xorg, makeWrapper, glibc, patchelf
|
, xorg, makeWrapper, glibc, patchelf
|
||||||
, unzip
|
, unzip
|
||||||
|
, qt4 # for amdcccle
|
||||||
, # Whether to build the libraries only (i.e. not the kernel module or
|
, # Whether to build the libraries only (i.e. not the kernel module or
|
||||||
# driver utils). Used to support 32-bit binaries on 64-bit
|
# driver utils). Used to support 32-bit binaries on 64-bit
|
||||||
# Linux.
|
# Linux.
|
||||||
@ -53,6 +54,7 @@ stdenv.mkDerivation {
|
|||||||
patchelf
|
patchelf
|
||||||
unzip
|
unzip
|
||||||
mesa
|
mesa
|
||||||
|
qt4
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit libsOnly;
|
inherit libsOnly;
|
||||||
@ -74,13 +76,13 @@ stdenv.mkDerivation {
|
|||||||
# appear in /run/opengl-driver/lib which get's added to LD_LIBRARY_PATH
|
# appear in /run/opengl-driver/lib which get's added to LD_LIBRARY_PATH
|
||||||
extraDRIlibs = [ xorg.libXext ];
|
extraDRIlibs = [ xorg.libXext ];
|
||||||
|
|
||||||
inherit mesa; # only required to build examples
|
inherit mesa qt4; # only required to build examples and amdcccle
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "ATI drivers";
|
description = "ATI drivers";
|
||||||
homepage = http://support.amd.com/us/gpudownload/Pages/index.aspx;
|
homepage = http://support.amd.com/us/gpudownload/Pages/index.aspx;
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with maintainers; [marcweber offline];
|
maintainers = with maintainers; [ marcweber offline jgeerds ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user